Commit Graph

40 Commits

Author SHA1 Message Date
Renovate Bot 7521b3770d Update wordpress monorepo 2019-01-03 14:03:56 +13:00
Joshua T Flowers 024d267ae6 Set minimum content height to prevent cutoff of absolute content (https://github.com/woocommerce/woocommerce-admin/pull/1166)
* Set minimum content height to prevent cutoff of absolute content

* Add admin bar height vars for SCSS and apply them
2018-12-25 12:34:24 +08:00
Albert Juhé Lluveras 501842a421 Rename 'isError' methods to 'getError' when they return an object instead of a boolean 2018-12-15 13:38:54 +01:00
Justin Shreve 20e202080a Add Live Data to Reviews Panel (https://github.com/woocommerce/woocommerce-admin/pull/1055)
* Add Live Data to Reviews Panel
Adds the ability to embed the product in a product review response

* Clean up code needed to embed some product fields.

* Add API response tests
2018-12-12 08:35:56 -05:00
Allen Snook de105648be Activity Panel: Inbox: Filter update and error notes out of the inbox (https://github.com/woocommerce/woocommerce-admin/pull/893)
* Filter update and error notes out of the inbox

* Remove redundant trim().

* Fix test for admin notes API type parameter.
2018-12-11 09:00:57 +08:00
Justin Shreve 8d4b0fcc07 Fix Activity Panel on existing WooCommerce pages (https://github.com/woocommerce/woocommerce-admin/pull/1004)
* Fix Activity Panel on embedded pages

* Fix comment typo
2018-12-06 17:08:40 -05:00
Albert Juhé Lluveras 2387908ab6 Move activity-card CSS inside the activity-card directory (https://github.com/woocommerce/woocommerce-admin/pull/984) 2018-12-04 10:01:43 -06:00
Jeff Stieler a7b30d9779 Orders panel: use fresh-data instead of @wordpress/data. 2018-12-03 11:05:14 -07:00
Jeff Stieler 251c943b2a Orders panel: translate fulfillment button text on order card. 2018-12-03 08:53:30 -07:00
Jeff Stieler 44b77c8e06 Orders panel: link fulfillment button to order edit page. 2018-12-03 08:53:29 -07:00
Jeff Stieler 96eddcd1eb Orders panel: only show “processing” status orders. 2018-12-03 08:53:29 -07:00
Jeff Stieler 77842d8551 Orders panel: display error if order fetching fails. 2018-12-03 08:53:29 -07:00
Jeff Stieler 84be615778 Add loading placeholder to orders panel. 2018-12-03 08:53:28 -07:00
Jeff Stieler 4f6346e068 Order panel card style - weighted title, collapse icon column. 2018-12-03 08:53:28 -07:00
Jeff Stieler d18de54c35 Update order panel card title line to match latest design. 2018-12-03 08:53:28 -07:00
Jeff Stieler a055f1a829 Connect orders panel to data store.
Modeled after the reviews panel.
2018-12-03 08:53:27 -07:00
Paul Sealock 0d59998625 Persist chart settings 2018-11-20 12:55:30 +13:00
Kelly Dwan d27cb26ef7 Build: Move `lib/nav-utils` and `lib/history` to `@woocommerce/navigation` (https://github.com/woocommerce/woocommerce-admin/pull/763)
* Move nav-utils and history to new package

* Update config to build and use new navigation package

* Update all imports to use new navigation package

* Remove unnecessary README

* Update nav-utils path
2018-11-05 16:02:04 -05:00
Albert Juhé Lluveras 70e7e14e7a Persist time queries when clicking on breadcrumbs links (https://github.com/woocommerce/woocommerce-admin/pull/759)
* Make breadcrumbs links persist date queries

* Add tests to getTimeRelatedQuery() when query parameter not set

* Add comment explanation about navUtils self-import
2018-11-02 22:38:16 +01:00
Kelly Dwan 2b29dc7d1c Build: Switch react imports to use core packages (https://github.com/woocommerce/woocommerce-admin/pull/755)
* Remove react, react-dom, and redux imports in favor of core packages

* Move build dependencies out of `devDependencies`
2018-11-02 15:37:28 -04:00
Kelly Dwan c29043a3bc Switch to using `@wordpress/viewport` for responsive screen layouts (https://github.com/woocommerce/woocommerce-admin/pull/761)
* Switch to Gutenberg viewport package

* Switch CSS breakpoints to core-supported values

* Fix double-calendar logic
2018-11-02 15:20:11 -04:00
Jonathan Belcher b16c056c32 Makes stylelint config match prettier settings (https://github.com/woocommerce/woocommerce-admin/pull/733)
* Makes stylelint config match prettier settings

* Fix/all css lints (https://github.com/woocommerce/woocommerce-admin/pull/734)

* Fix all sass lints!

* Delete settings.json

* Update newline rule, which also conflicts with prettier

* Fix remaining stylelint issues

* Disable stylelint rule for a line to avoid prettier/linter fights
2018-11-01 17:03:00 -04:00
Kelly Dwan f62537fc17 Try: Add Lerna to split out utility packages (https://github.com/woocommerce/woocommerce-admin/pull/678)
* Add lerna & GB package-building script

* Move currency library to lerna module

* Update lerna config

* Add publish commands

* Add currency as an faux-external module

* Add separate command to build just core files

* Update dependency path

* Update build script to build all packages into `dist`

* Add packages to the jest test setup

* Move date library to packages

* Update imports to use @woocommerce/date

* Output wcSettings definition before any scripts are output

Fixes issues where wc-dates lib relies on settings object

* Add the build step into travis

* Update jest config to dynamically get package paths

* Update package postcss config to match wc-admin’s main config

* Add combined watch scripts for package+app, add a `clean` command to clean up old build files

* Ignore PHPCS error (leave todo message to fix)

* Concat files with a space, fix issue where all files join in one continuous string and fail the check
2018-10-30 14:57:48 -04:00
Jonathan Belcher 3446c0814b Stylint autofixes (https://github.com/woocommerce/woocommerce-admin/pull/729) 2018-10-30 09:17:17 -04:00
Albert Juhé Lluveras 0caed9a28a Create QUERY_DEFAULTS object with default values for queries (https://github.com/woocommerce/woocommerce-admin/pull/686) 2018-10-26 10:19:39 +02:00
David Levin 515324a3c2 Merge pull request woocommerce/woocommerce-admin#688 from woocommerce/update/activity-tab-style
remove rounded corners from activity bar icon buttons
2018-10-25 10:52:48 -07:00
Allen Snook a8be179ebd Merge pull request woocommerce/woocommerce-admin#649 from woocommerce/add/store-notice-setting-moved
Activity Panel: Inbox: When the user updates WooCommerce, add a note alerting that the store notice setting has moved
2018-10-25 10:06:30 -07:00
David Levin bd0dccd132 remove rounded corners from activity bar icon buttons 2018-10-25 08:58:30 -07:00
Allen Snook e7ba47e958 Go ahead and 1) handle the variety of queries that can be used
as action button links and 2) enable the button (tracking will
come next). Also had to tweak CSS for activity panel item buttons
a little
2018-10-24 18:13:44 -07:00
Job 6e36918db3 Fixes woocommerce/woocommerce-admin#664 (https://github.com/woocommerce/woocommerce-admin/pull/665) 2018-10-24 17:12:45 +02:00
Allen Snook 95080bd68b Display an error to the user if inbox fetching fails 2018-10-19 14:21:54 -07:00
Allen Snook bd8fd2c9ec No need to sort now - the store is ordering correctly 2018-10-19 14:21:54 -07:00
Allen Snook 2dfc410079 Remove console logging 2018-10-19 14:21:54 -07:00
Allen Snook ad06cee25d Update notes store to include queries 2018-10-19 14:21:54 -07:00
Allen Snook 8622ee7fc4 Disable the activity buttons for now (REST API does not update yet) 2018-10-19 14:21:54 -07:00
Allen Snook 8378423077 Newest notes at the top, please 2018-10-19 14:21:54 -07:00
Allen Snook b8a83bf1e1 Allow selected tags through to the note content 2018-10-19 14:21:54 -07:00
Allen Snook 279be9e66e Add notes to redux, connect to inbox 2018-10-19 14:21:53 -07:00
Albert Juhé Lluveras 29cfde2ddd Fix activity panel tabs misaligned in Chrome and Safari (https://github.com/woocommerce/woocommerce-admin/pull/478) 2018-09-25 22:34:30 +02:00
Kelly Dwan 6d2eec1c12 Update `layout/*` file structure (https://github.com/woocommerce/woocommerce-admin/pull/463)
* Move section, header, and activity panel out of layout folder

* Update file soures

* Move documentation into component, and update generation script to handle the duplicated exports
2018-09-21 11:19:05 -04:00