Commit Graph

2659 Commits

Author SHA1 Message Date
Jeff Stieler b83ef86add Merge pull request woocommerce/woocommerce-admin#2325 from woocommerce/add/admin-note-trigger-action
Trigger an action server side when admin note actions are clicked
2019-06-12 17:04:10 +02:00
Albert Juhé Lluveras 9f0ab4ec76 Add uninstall file to release ZIP file 2019-06-12 11:51:42 +02:00
Albert Juhé Lluveras 8bc2261c8a Add date_created_gmt property to orders endpoint (https://github.com/woocommerce/woocommerce-admin/pull/2086)
* Add date_created_gmt property to orders enpoint

* Make date_created properties of type date-time and improve descriptions
2019-06-12 11:21:56 +02:00
Joshua T Flowers 95d1a1d245 Add onbaording step 7 - Business Details (https://github.com/woocommerce/woocommerce-admin/pull/2347) 2019-06-12 11:56:10 +08:00
Renovate Bot 71287787cc Update dependency husky to v2 2019-06-12 02:56:42 +00:00
Renovate Bot 484e377cdf Update dependency css-loader to v3 2019-06-12 01:41:42 +00:00
Paul Sealock 4c3f122e89 Merge pull request woocommerce/woocommerce-admin#2292 from woocommerce/add/default-date-settings
Settings: Add default date settings
2019-06-12 11:48:01 +12:00
Paul Sealock dbd536c7a3 Settings: Add default date 2019-06-12 11:40:21 +12:00
Jeff Stieler 3cbf3a4d81 Merge pull request woocommerce/woocommerce-admin#2360 from woocommerce/renovate/copy-webpack-plugin-5.x
Update dependency copy-webpack-plugin to v5
2019-06-11 23:57:29 +02:00
Renovate Bot 493629113b Update wordpress monorepo 2019-06-11 21:56:55 +00:00
Renovate Bot a9d913295a Update dependency copy-webpack-plugin to v5 2019-06-11 21:50:09 +00:00
Jeff Stieler fb7bcb87f1 Merge pull request woocommerce/woocommerce-admin#2358 from woocommerce/renovate/webpack-cli-3.x
Update dependency webpack-cli to v3.3.4
2019-06-11 23:44:31 +02:00
Renovate Bot 3fdc812305 Update dependency webpack-cli to v3.3.4 2019-06-11 21:28:35 +00:00
Jeff Stieler e50edf6ea3 Merge pull request woocommerce/woocommerce-admin#2357 from woocommerce/renovate/webpack-4.x
Update dependency webpack to v4.33.0
2019-06-11 23:25:46 +02:00
Jeff Stieler 49a65bd9e7 Merge pull request woocommerce/woocommerce-admin#2356 from woocommerce/renovate/reactrouter-monorepo
Update dependency react-router-dom to v5.0.1
2019-06-11 23:18:27 +02:00
Jeff Stieler 88f51e9119 Merge pull request woocommerce/woocommerce-admin#2355 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.6.0
2019-06-11 23:12:38 +02:00
Jeff Stieler 1825c30b26 Performance indicators - bail whenever an internal API request fails. 2019-06-11 14:10:59 -06:00
Jeff Stieler 4ae938c99d Only update the status of a note if the triggered action is non-empty. 2019-06-11 12:38:49 -06:00
Albert Juhé Lluveras ddbb8f0be8 Add tracks to import jobs (https://github.com/woocommerce/woocommerce-admin/pull/2193)
* Add tracks to import jobs

* Include tracks client if missing when recording events

* Add batch_number, batch_size and import_count properties to import jobs

* Reorder code
2019-06-11 19:55:10 +02:00
Timmy Crawford 39d5c09c81 Notes: Add filters to disable milestone and sales record notes. (https://github.com/woocommerce/woocommerce-admin/pull/2227)
* Add filters to disable milestone and sales record notes.

* Updates per feedback.
2019-06-11 08:12:16 -07:00
Albert Juhé Lluveras 5d01cee56c Add progress bars to Historical Data Import screen (https://github.com/woocommerce/woocommerce-admin/pull/2312)
* Hook up import/status endpoint to Historical Data Import screen

* Fix PHP tests

* Add speak message when the import is complete

* Several fixes

* Cleanup

* Update progress bars every 3 seconds and bugfixes

* Rename ongoingImport to activeImport

* Use timestamp to identify queries

* Use timestamps for historical data state

* Add 'initializing' status

* Cleanup

* Pass less props around

* Refactor getStatus

* Set stop timestamp on request error

* Typo
2019-06-11 14:47:53 +02:00
Albert Juhé Lluveras 3123c4e047 Fix wrong average numbers in chart legends (https://github.com/woocommerce/woocommerce-admin/pull/2352)
* Fix wrong average numbers in chart legends

* Dashboard Extension example: update legend totals

* Rename 'totals' to 'legendTotals'

* Make sure legendTotals includes key property
2019-06-11 14:31:53 +02:00
Albert Juhé Lluveras 8790655c39 Make sure notices element exist before creating <WordPressNotices> (https://github.com/woocommerce/woocommerce-admin/pull/2378) 2019-06-11 14:14:06 +02:00
coderkevin 78e85f87c3 Improve hidden tab suppression/fix rapid requests
This fixes the rapid request problem that was happening when switching
tabs while having timed out requests. It changes the approach from
suppressing the actions sent out to preventing the read function from
being called at all.

I think the original problem has occurred because the original approach
was relying on an internal implementation of apiFetch from wp.data. This
new approach does not have such a dependency. It prevents apiFetch from
even being called. However, in the process, it will also prevent any
newly required resources from being fetched if the user manages to
switch tabs before it is requested. (e.g. refresh, then switch tabs
quickly).
2019-06-10 17:03:08 -05:00
Albert Juhé Lluveras 5a732d565a Fix 'skip_existing' option making not all data not to be imported 2019-06-10 12:45:01 +02:00
Albert Juhé Lluveras 8ed63c5547 Remove second beta warning from readme (https://github.com/woocommerce/woocommerce-admin/pull/2362) 2019-06-09 11:38:53 +02:00
Mike Jolley 3bd945511a Merge pull request woocommerce/woocommerce-admin#2191 from woocommerce/fix/low-stock-handling
Low stock handling inconsistencies with WooCommerce 3.6+
2019-06-06 12:15:46 +02:00
Paul Sealock 39d9ed38ed Merge pull request woocommerce/woocommerce-admin#2369 from shoheitanaka/patch-2
Double space at 191 row
2019-06-06 10:13:16 +02:00
Paul Sealock b0bf5aa814 Merge pull request woocommerce/woocommerce-admin#2368 from shoheitanaka/patch-1
Misspelling at update config.jp
2019-06-06 10:11:27 +02:00
Shohei Tanaka 85bd2ce168 Double space at 191 row
I find double space, like misspelling.
2019-06-06 15:18:33 +09:00
Shohei Tanaka fccf1f6156 Misspelling at update config.jp
This sentence is order, but older.
2019-06-06 14:54:28 +09:00
Renovate Bot 4e9acf6a32 Update dependency webpack to v4.33.0 2019-06-05 01:39:37 +00:00
Renovate Bot 42bc4ce0a1 Update dependency react-router-dom to v5.0.1 2019-06-05 00:36:05 +00:00
Renovate Bot 49310077d2 Update dependency autoprefixer to v9.6.0 2019-06-05 00:34:34 +00:00
Jeff Stieler 22cdec7e57 Merge pull request woocommerce/woocommerce-admin#2327 from woocommerce/add/filter-inbox-unactioned
Only show unactioned notes in the Inbox panel.
2019-05-31 10:11:50 -06:00
Jeff Stieler 5785dfdfba Only animate actioned notes if no reduced motion preference.
Speed up animation as well.
2019-05-31 10:02:26 -06:00
Jeff Stieler 6005cbbf05 Speed up admin note fade out animation. 2019-05-31 10:02:26 -06:00
Jeff Stieler e1722a9ab8 Fix typo. 2019-05-31 10:02:26 -06:00
Jeff Stieler 82edc1c8c8 Only show unactioned notes in the Inbox panel.
And hide notes once an action has been taken.
2019-05-31 10:02:25 -06:00
Jeff Stieler 5a49991cb1 Trigger a note action on button click. 2019-05-31 09:59:20 -06:00
Jeff Stieler 698f947c16 Include the corresponding note in triggered action hook. 2019-05-31 09:59:20 -06:00
Jeff Stieler 17d793d731 Add endpoint for triggering note actions. 2019-05-31 09:59:20 -06:00
Jeff Stieler 8867152d88 Include ID when retrieving note action data. 2019-05-31 09:59:20 -06:00
Jeff Stieler b06c392ab3 Prevent double escaping of note action URLs. 2019-05-31 09:59:21 -06:00
Joshua T Flowers c524cb905f Put onboarding controllers behind feature flag check (https://github.com/woocommerce/woocommerce-admin/pull/2350)
* Put onboarding controllers behind feature flag check

* Don't load profileItems if onboarding is disabled
2019-05-31 16:55:52 +02:00
Albert Juhé Lluveras 1939ea084c Transpile newspack-components package (https://github.com/woocommerce/woocommerce-admin/pull/2348) 2019-05-31 10:34:26 +02:00
Joshua T Flowers a9e4feb454 Hook up onboarding step 1 actions (https://github.com/woocommerce/woocommerce-admin/pull/2334)
* Hook up onboarding step 1 actions

* Remove updateProfile method from profile wizard

* Fix profile completion updates on last step
2019-05-31 12:51:33 +08:00
Jeff Stieler 0756dd929b Merge pull request woocommerce/woocommerce-admin#2324 from woocommerce/add/admin-note-without-link
Allow note action URLs to be empty.
2019-05-30 10:42:02 -06:00
Jeff Stieler c10988bc54 Merge pull request woocommerce/woocommerce-admin#2344 from woocommerce/add/paragraph-support-admin-notes
Allow paragraph tags in admin notes.
2019-05-30 10:40:59 -06:00
Joshua T Flowers 7622dee166 Add onboarding step 6 - Product Types (https://github.com/woocommerce/woocommerce-admin/pull/2335)
* Add product type information to onboarding

* Add product types step to onboarding profiler

* Update product type prices and learn more URLs

* Add styling to allow help text in checkbox group

* Match button and card action styling
2019-05-30 16:36:02 +08:00