Bec Scott
baad343599
Add filters for columns in reports ( https://github.com/woocommerce/woocommerce-admin/pull/5134 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-15 08:29:09 +10:00
renovate[bot]
f411c1aa51
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/5133 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-14 12:50:05 +12:00
Bec Scott
5310944f17
Add option to not charge sales tax ( https://github.com/woocommerce/woocommerce-admin/pull/5111 )
...
* Add option to not set up sales tax
* Correct JS lint errors
* Add abort option to plugin step
* Inline redirect to home page
* Use testing-library/react for the new test
* Also set woocommerce_calc_taxes to 'no'
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-14 08:50:02 +10:00
Fernando
11656dcd6c
Modified connection check ( https://github.com/woocommerce/woocommerce-admin/pull/5129 )
...
This commit modifies the connection check for the note 'wc-admin-wc-helper-connection'
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-09-12 11:56:33 -03:00
Adrian Duffell
7cd9e7f929
Remove the chevron icons from the “Finish setup” task list ( https://github.com/woocommerce/woocommerce-admin/pull/5114 )
...
* Remove the chevron icons from the “Finish setup” task list
* Add a data-testid attribute to the TaskDashboard dismiss button for testing
* Add test for dismiss button in TaskDashboard component
2020-09-11 14:09:17 +08:00
Paul Sealock
4a07997a86
Packages: release prep ( https://github.com/woocommerce/woocommerce-admin/pull/5122 )
...
* packgages version bumps
* fix errant s?
2020-09-11 14:33:10 +12:00
renovate[bot]
b82bb4bc3b
Update dependency dompurify to v2.0.15 ( https://github.com/woocommerce/woocommerce-admin/pull/5112 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 11:46:58 -04:00
renovate[bot]
81fb8c7baf
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/5109 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 11:26:14 -04:00
Jeff Stieler
35ee9901bc
Avoid changing product titles by removing variation title filter usage. ( https://github.com/woocommerce/woocommerce-admin/pull/5100 )
...
* Remove use of `woocommerce_product_variation_title_include_attributes` filter.
* Use attribute values in product variation titles.
* Include attribute values in product variation name during segmentation.
* Include attribute values in product variations autocompleter query.
2020-09-09 09:29:10 -04:00
Renovate Bot
86be861a61
Update dependency husky to v4.3.0
2020-09-09 03:28:02 +00:00
Renovate Bot
6d66901da8
Update babel monorepo to v7.11.6
2020-09-09 02:23:52 +00:00
Bec Scott
55a9944911
Add performance on mobile admin note ( https://github.com/woocommerce/woocommerce-admin/pull/5106 )
...
* Add performance on mobile admin note
* use MONTH_IN_DAYS constant
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-09 08:35:59 +10:00
Rua Haszard
2002c74289
Update Storybook to latest ( https://github.com/woocommerce/woocommerce-admin/pull/5105 )
...
* WIP - upgrade storybook via `npx sb upgrade`
* fix broken storybook build - use custom MiniCssExtractPlugin package
Co-authored-by: haszari <rua@automattic.com>
2020-09-09 07:54:42 +12:00
Bec Scott
92b37234f6
Add Edit products on the move admin note ( https://github.com/woocommerce/woocommerce-admin/pull/5054 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-08 09:01:12 +10:00
Jeff Stieler
4736c3fd27
Combine translation chunks when language packs are updated. ( https://github.com/woocommerce/woocommerce-admin/pull/5094 )
...
Removes version from filename and prevents WP_Filesystem use without successful initialization.
2020-09-07 12:46:39 -04:00
renovate[bot]
70d4f9392a
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/5102 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 14:27:04 +12:00
Timmy Crawford
89c7cede0c
Onboarding: Set woocommerce_setup_jetpack_opted_in true on Jetpack connection. ( https://github.com/woocommerce/woocommerce-admin/pull/5101 )
2020-09-07 09:38:26 +10:00
Bec Scott
cd128488df
Add initial end to end test suite ( https://github.com/woocommerce/woocommerce-admin/pull/5028 )
...
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
Co-authored-by: Rebecca Scott <me@becdetat.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2020-09-04 14:31:09 +12:00
Timmy Crawford
6e419e14ee
Onboarding: Add TOS note to bundle install. ( https://github.com/woocommerce/woocommerce-admin/pull/5096 )
2020-09-03 16:35:06 -07:00
Paul Sealock
3c6483e842
Remove wc api 🎉 ( https://github.com/woocommerce/woocommerce-admin/pull/5075 )
...
* remove wc-api selects and constansts
* remove extendedItems dependence on wc-api
* remove wc-api
* PR feedback
2020-09-04 09:45:40 +12:00
Jeff Stieler
ebfd28a9e6
Add product attribute filter to Orders Report. ( https://github.com/woocommerce/woocommerce-admin/pull/5068 )
...
* Add product attribute filter to Orders report config.
* Add attribute args to Orders report controller.
* Include attribute filters in orders report query.
* Add attribute args to Orders Stats report controller.
* Include attribute filters in orders report stats query.
* Add test for product attribute filter in orders report.
* Add tests for invalid parameter values.
* Add tests for product attribute filter in order stats endpoint.
* Fix tests for PHP 5.6 and WC 3.8.x.
2020-09-03 10:08:06 -04:00
Jeff Stieler
8814f6b46a
Fix `analytics_filters_filter` event props. ( https://github.com/woocommerce/woocommerce-admin/pull/5079 )
2020-09-03 10:04:04 -04:00
renovate[bot]
36ed773769
Update dependency d3-time-format to v2.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/5070 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 14:40:55 +10:00
renovate[bot]
9d95fe6c84
Update dependency dompurify to v2.0.14 ( https://github.com/woocommerce/woocommerce-admin/pull/5071 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 14:36:25 +10:00
Sam Seay
2146ccb78e
Add an automated taxes smart default ( https://github.com/woocommerce/woocommerce-admin/pull/5076 )
2020-09-03 14:56:52 +12:00
Bec Scott
b4fef3059c
Add ToS agreement copy to the WCPay setup task ( https://github.com/woocommerce/woocommerce-admin/pull/5085 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-03 12:28:31 +10:00
Jason Conroy
0e42d2794d
Consistently use USA spelling of optimize ( https://github.com/woocommerce/woocommerce-admin/pull/5067 )
2020-09-03 10:29:04 +09:30
renovate[bot]
27927dd3c5
Update dependency lint-staged to v10.2.13 ( https://github.com/woocommerce/woocommerce-admin/pull/5073 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-02 15:52:25 +12:00
Bec Scott
b5f9cf5fcd
New marketing copy for the Kliken Google Ads plugin ( https://github.com/woocommerce/woocommerce-admin/pull/5074 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-02 13:42:04 +10:00
Renovate Bot
0b864be6c8
Update dependency enzyme-adapter-react-16 to v1.15.4
2020-09-02 03:39:22 +00:00
Renovate Bot
6d147aa3fd
Update babel monorepo to v7.11.5
2020-09-02 01:20:27 +00:00
Fernando
29e2dbffc9
Migrated "import" store to "wp.data" ( https://github.com/woocommerce/woocommerce-admin/pull/4982 )
...
* Migrated the "import" store to "wp.data"
This commit migrates the "import" store to "wp.data"
# Conflicts:
# client/analytics/settings/historical-data/layout.js
# packages/data/src/index.js
# Conflicts:
# packages/data/src/index.js
# Conflicts:
# packages/data/src/index.js
* Added error handling
This commit adds error handling to the apiFetch
* Fixred reducer.js
* Added reducer.js tests
* Removed "endpoint" references
* Tests fixed
* Removed old import store files and wc-api-spec import references
This commit removes old import store files and "wc-api-spec" import references
# Conflicts:
# client/wc-api/wc-api-spec.js
# Conflicts:
# client/wc-api/wc-api-spec.js
* Added interval to invalidate resolution of getImportStatus
* Fixed timestamp
* Store dependency removed
* Fixed reimport functionality
# Conflicts:
# client/analytics/settings/historical-data/index.js
* Refactored layout.js
* Refactored clearCache method
* inProgress check refactored
* Using activeImport from store
# Conflicts:
# client/analytics/settings/historical-data/index.js
* Fixed console warning
# Conflicts:
# client/analytics/settings/historical-data/index.js
* Migration done!
# Conflicts:
# client/analytics/settings/historical-data/index.js
* Fixed hasImportFinished
* Test fixed
* Removed "setImportFinished" from actions.js and index.js
* Added style to disabled button
* Fixed incorrect "Finalizing" status
* Fixed tests
* Fixed notes update on importation start
* Removed local constants
* Removed css for disabled button
* Typo corrected
* Fixed param for getImportError method
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-09-01 10:21:31 -03:00
Jeff Stieler
aa86428ebc
Add support for advanced filters with multiple instances. ( https://github.com/woocommerce/woocommerce-admin/pull/5050 )
...
* Refactor filter input row into component.
* Support multiple filter value in "add filter" list.
* Refactor out one-off updateFilter() callback.
* Use array index to remove filters.
Also create unique keys for multiple value filters.
* Use numeric index instead of filter "key" for change callbacks.
* Maintain unique keys for multiple filter components.
This avoids rerenders when filters are removed.
* Calculate instance numbers in constructor.
* Support advanced filter instances in navigation helper methods.
* Add allowMultiple to advanced filters README.
* Fix tests.
* Add test cases for multiple filter instances.
* Handle missing attribute names and terms in screen reader text.
* Fix perpetual loading indicator when there are no attribute terms.
* Handle new boolean case when generating screen reader text.
* Handle multiple filter instances when creating report queries.
* Remove unused variables.
2020-09-01 08:23:27 -04:00
Jeff Stieler
bc39bdf646
Show full variation name instead of parent product in orders report. ( https://github.com/woocommerce/woocommerce-admin/pull/5056 )
2020-09-01 08:22:36 -04:00
Sam Seay
fb03e64ced
Profile wizard style consistency updates ( https://github.com/woocommerce/woocommerce-admin/pull/5059 )
...
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
Co-authored-by: James Koster <james@jameskoster.co.uk>
2020-09-01 20:47:49 +12:00
Timmy Crawford
08a0ec3739
Remove industry option for travel. ( https://github.com/woocommerce/woocommerce-admin/pull/5065 )
2020-09-01 13:45:14 +10:00
Bec Scott
440137b555
Show usage modal when skipping the OBW ( https://github.com/woocommerce/woocommerce-admin/pull/5061 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-01 10:16:53 +10:00
renovate[bot]
46ad94fb1d
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/5060 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-01 09:51:13 +12:00
Chris Shultz
570de23747
Stop using missing installPlugin function and fix WCS 1.24 compatibility ( https://github.com/woocommerce/woocommerce-admin/pull/5025 )
...
* Update Shipping Banner to use installPlugins since installPlugin has been removed.
* Fix shipping banner compatibility with WCS 1.24.
* Update metabox content to match WC 4.5 metaboxes.
2020-08-31 08:13:14 -07:00
renovate[bot]
394bf4db3c
Update dependency babel-jest to v26.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/5004 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-31 11:55:26 +12:00
Timmy Crawford
4983060727
Update contributors list to include woocommerce. ( https://github.com/woocommerce/woocommerce-admin/pull/5057 )
2020-08-28 06:29:04 -07:00
Joshua T Flowers
94db7f7f76
Add monthly pricing toggle to product types ( https://github.com/woocommerce/woocommerce-admin/pull/5015 )
...
* Add monthly pricing toggle
* Move product type label to its own folder
* Add popover to product type label
* Add card help text
* Add product type component tests
* Add tests for product types step
* Refactor validation in product types
* Export ProductTypes component for testing
2020-08-28 15:39:24 +03:00
Sam Seay
dbec08f7dc
When toggling the task list, record a track event. ( https://github.com/woocommerce/woocommerce-admin/pull/5049 )
...
Fixes woocommerce/woocommerce-admin#4760
2020-08-28 15:59:33 +12:00
Paul Sealock
7e7064e38c
Fix components internal deps ( https://github.com/woocommerce/woocommerce-admin/pull/5018 )
...
* Fix components internal deps
* Pass full response
* remove errant comment
2020-08-28 11:55:48 +12:00
Bec Scott
b64efcb2e8
Tweak button padding so it works on Safari ( https://github.com/woocommerce/woocommerce-admin/pull/5043 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-08-28 09:00:12 +10:00
Jeff Stieler
650ecac14a
Add "Product Attribute" advanced report filter. ( https://github.com/woocommerce/woocommerce-admin/pull/5038 )
...
* Simplify variation name logic.
* Remove errant commas from variation autocomplete options.
* Add single variation filter to products report.
* Include more variations in search results.
Also trim the response fields down.
* Add initial AttributeFilter component.
Only selected of attribute names for now.
* Add attribute term selection control.
* Position attribute filter inputs side by side.
* Add loading indicator to attribute term control.
* Clear term when attribute value changes, and handle backspaces.
* Generate screen reader text.
* Translate filter labels, add field separator.
* Improve grammar in screen reader text.
* Fix lint errors.
2020-08-27 08:11:12 -04:00
Jeff Stieler
5e7f2af61d
Rename "profile" to "store details". ( https://github.com/woocommerce/woocommerce-admin/pull/4965 )
...
* Rename "profile" to "store details".
* Missed some /profiler links.
* Fix linter error.
* Store details => Setup Wizard.
* Rename task list item.
2020-08-27 08:10:23 -04:00
Bec Scott
550445e1a4
Add error logging to remote inbox notifications data source poller ( https://github.com/woocommerce/woocommerce-admin/pull/4922 )
...
* Add error logging to remote inbox notifications data source poller
* Change DataSourcePoller to use WC_Logger
* Remove test feed
* Tidy up log messages
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-08-27 15:47:37 +10:00
Sam Seay
c0c9a20f73
Fix a bug where an event's data was recorded in camel case. ( https://github.com/woocommerce/woocommerce-admin/pull/5051 )
...
Fixes woocommerce/woocommerce-admin#4464
`wcadmin_tasklist_shipping_label_printing` events were being filtered into rejected events because the data being passed was in camel case instead of snake case. This fixes that issue.
2020-08-27 14:26:59 +12:00
Sam Seay
c884f96bf9
Add WooCommerce Mobile App Banner Ad for Android and iOS ( https://github.com/woocommerce/woocommerce-admin/pull/5037 )
...
Fixes woocommerce/woocommerce-admin#4654
The feature calls for a mobile app ad banner to be displayed to users on mobile devices.
Based on the discussion in woocommerce/woocommerce-admin#4654 this implements the following:
1. [an iOS Smart App Banner](https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html ). This banner is a meta tag that is generated in PHP. It will only display on iOS devices. One note about this: **This tag is not directly trackable like the implemented Android banner. If we would like to track its success then I believe [these instructions are relevant](https://stackoverflow.com/questions/12906502/is-it-possible-to-track-click-throughs-from-iphone-smart-banner/20422334woocommerce/woocommerce-admin#20422334 )**.
2. A mobile app banner ad that **only displays on Android** and only displays at the `738px` breakpoint specified in the issue. To only display this banner ad on Android, we use basic checking of the user agent string. I weighed this up against other approaches and for this kind of niche use case a simple UA string check is (imho) still the best way to do this.
3. The banner ad makes use of user preferences to retain a per user setting that determines if that user has dismissed the Android banner. We don't/can't do anything like this for the iOS Smart App Banner (but in theory we shouldn't need to).
2020-08-27 13:46:53 +12:00
Timmy Crawford
0374d48849
Onboarding: Do not show extensions bundle test if CBD is selected. ( https://github.com/woocommerce/woocommerce-admin/pull/5040 )
2020-08-26 09:15:02 -07:00
Timmy Crawford
dd799b0504
Clean up copy/paste ( https://github.com/woocommerce/woocommerce-admin/pull/5039 )
2020-08-26 09:14:31 -07:00
Jeff Stieler
e845de7003
Fix missing title component in advanced filter screen reader interpolation. ( https://github.com/woocommerce/woocommerce-admin/pull/5032 )
2020-08-26 08:29:21 -04:00
Bec Scott
0bf9ef371c
Add new note: Selling online courses ( https://github.com/woocommerce/woocommerce-admin/pull/5036 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-08-26 14:11:14 +10:00
renovate[bot]
cad9379a76
Update dependency @testing-library/jest-dom to v5.11.4 ( https://github.com/woocommerce/woocommerce-admin/pull/5044 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 15:35:08 +12:00
renovate[bot]
3bb3678451
Update dependency @babel/core to v7.11.4 ( https://github.com/woocommerce/woocommerce-admin/pull/5042 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-08-26 15:33:54 +12:00
renovate[bot]
6b5d6fb68e
Update dependency ast-types to v0.14.1 ( https://github.com/woocommerce/woocommerce-admin/pull/5047 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 15:25:09 +12:00
renovate[bot]
8bf5cff688
Update dependency d3-format to v1.4.5 ( https://github.com/woocommerce/woocommerce-admin/pull/5048 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 15:24:04 +12:00
renovate[bot]
ca138988ae
Pin dependency @babel/plugin-proposal-class-properties to 7.10.4 ( https://github.com/woocommerce/woocommerce-admin/pull/5041 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 15:20:06 +12:00
renovate[bot]
5a32526123
Update dependency @testing-library/react to v10.4.9 ( https://github.com/woocommerce/woocommerce-admin/pull/5045 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 14:43:57 +12:00
renovate[bot]
327e1d2e56
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/5029 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 14:10:36 +12:00
Joshua T Flowers
d4dd74e44a
Remove onboarding feature flag and a/b testing ( https://github.com/woocommerce/woocommerce-admin/pull/4999 )
...
* Remove store page creation during new onboarding experience
* Remove onboarding feature flag
* Add back in onboarding feature flag to enable feature loading
2020-08-25 00:51:41 +03:00
Jeff Stieler
eea63f602f
Refactor task list status to onboarding data store. ( https://github.com/woocommerce/woocommerce-admin/pull/4998 )
...
* Add onboarding task status API endpoint.
* Add task status to onboarding data store.
* Update appearance task to use onboarding store for status info.
* Update main task list component to use onboarding data store for status info.
* Clear onboarding status info "cache" when setting shipping rates in the task list.
* Clear onboarding status info "cache" when enabling payment methods from the task list.
* Fix onboarding data store reducer tests.
* Clean up redundant code, nest task status settings under new key for hydration.
* Include tasks status in onboarding data hydration.
* Update tax task to use onboarding data store for status info.
* Avoid continually rehydrating onboarding data.
* Refactor payment task method retrieval to use onboarding data store.
* Fix bug with disappearing appearance tax steps.
* Update appearance completion faster by using hydrated onboarding value.
* Avoid PHP warnings when onboarding isn't enabled.
* Remove unused imports.
2020-08-24 09:20:57 -04:00
Joshua T Flowers
f2771ab449
Add complete and incomplete task counts to tasklist_complete event ( https://github.com/woocommerce/woocommerce-admin/pull/5000 )
2020-08-24 14:19:36 +03:00
Joshua T Flowers
07b3c87f6b
Add filter to allow modification of report columns ( https://github.com/woocommerce/woocommerce-admin/pull/4984 )
...
* Add filter to allow modification of report columns
* Check for report columns existence before filtering
2020-08-24 14:18:48 +03:00
renovate[bot]
fa2a90cad6
Update dependency d3-selection to v1.4.2 ( https://github.com/woocommerce/woocommerce-admin/pull/4928 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-24 12:31:09 +12:00
Sam Seay
e61548d2c5
Refactor the Header component from class to function. ( https://github.com/woocommerce/woocommerce-admin/pull/5023 )
...
Working towards woocommerce/woocommerce-admin#4654 this refactors the `<Header>` component to be functional so that it can use hooks. The plan is to use the `useUserPreferences` hook there to determine if the mobile banner should be rendered or not.
2020-08-24 10:46:18 +12:00
renovate[bot]
fac5a4609d
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/4836 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-24 10:09:25 +12:00
renovate[bot]
7c66c885d5
Update dependency core-js to v3 ( https://github.com/woocommerce/woocommerce-admin/pull/4174 )
...
* Update dependency core-js to v3
* core-js paths
* update babel and jest presets
* remove unused jest preset
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-08-24 09:35:46 +12:00
Paul Sealock
74e8d7622e
Items dataStore: Migrate from wc-api ( https://github.com/woocommerce/woocommerce-admin/pull/5009 )
...
* Create wp.data folder
* order panel
* fix isUnboundedRequest with Categories
* products report
* products table
* indicators and leaderboards
* orders and stock panels
* utils
* tests
* save
* updateStock
* remove wc-api items
* updateItems -> setItems
2020-08-21 11:37:41 +12:00
Paul Sealock
2f650b74a0
Replace useFilters with wp's withFilters ( https://github.com/woocommerce/woocommerce-admin/pull/4962 )
...
* use wp withFilters
* changelog
* remove altogether
* other uses of withFilters
* Add deprecation warning to README
2020-08-21 11:14:55 +12:00
Joshua T Flowers
0605e614a9
Group tasks by completion status ( https://github.com/woocommerce/woocommerce-admin/pull/5001 )
2020-08-20 22:33:55 +03:00
Daniel Bitzer
d8098d6fd7
Adds `@woocommerce/tracks` package ( https://github.com/woocommerce/woocommerce-admin/pull/5017 )
...
* Add @woocommerce/tracks package.json
* Add @woocommerce/tracks .npmrc
* Move lib/tracks.js in to tracks package
* Add tracks package debug dependency
* Add readme for tracks package
* Add changelog for tracks package
* Add info about debugging and opt-ins to tracks package readme
* Load tracks package script
* Add tracks package to packages readme
* Add tracks package to webpack config
* Add tracks package external to starter-pack
* Replace lib/tracks uses with @woocommerce/tracks
* Update package-lock.json
2020-08-20 14:29:52 +09:30
Sam Seay
2f1d65847c
Remove usage of __experimentalResolveSelect ( https://github.com/woocommerce/woocommerce-admin/pull/4949 )
...
This uses a generator action and hooks to reimplement the CTA as a more
simple and logicless component, with most of the logic now in the
HOC component.
2020-08-20 16:02:01 +12:00
Sam Seay
4e06df996a
Add the jest-environment tag to known tags for jsdoc to avoid lint errors. ( https://github.com/woocommerce/woocommerce-admin/pull/5002 )
2020-08-20 14:15:08 +12:00
Renovate Bot
a42c124321
Update dependency @octokit/graphql to v4.5.4
2020-08-19 22:06:38 +00:00
renovate[bot]
69efe549fe
Update dependency grunt to v1.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/5008 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-19 15:54:23 +12:00
renovate[bot]
27c2d4d3af
Update dependency enzyme-adapter-react-16 to v1.15.3 ( https://github.com/woocommerce/woocommerce-admin/pull/5007 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-19 15:30:59 +12:00
Paul Sealock
c7f63f7452
get selectors from wc-api ( https://github.com/woocommerce/woocommerce-admin/pull/4997 )
2020-08-19 10:03:40 +12:00
Jeff Stieler
c16da34c30
Migrate export data store to wp.data ( https://github.com/woocommerce/woocommerce-admin/pull/4958 )
...
* Add export ID to success response and fix typos in endpoint schema.
* Initial export data store.
Allows for starting export, but not checking progress.
* Use new export data store in analytics report tables.
* Remove defunct report export wc-api files.
* Apply review feedback from another wp.data PR.
* Use getResourceName() util for more DRYness.
* Fix linter error.
* Add response status code to fetchWithHeaders control.
* Use HTTP status rather than response body to determine success.
* Fix tests.
* Remove unused import from actions.
2020-08-18 09:04:58 -04:00
Joshua T Flowers
df89bb7aac
Fix note data actions and consolidate query constants ( https://github.com/woocommerce/woocommerce-admin/pull/4990 )
2020-08-18 14:45:42 +03:00
Bec Scott
4e8ca09a3a
Remove composite products from onboarding ( https://github.com/woocommerce/woocommerce-admin/pull/4996 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-08-18 10:56:36 +10:00
Timmy Crawford
a2e6b6e82e
Remove composite product from 1.4 release notes ( https://github.com/woocommerce/woocommerce-admin/pull/4995 )
...
I apparently made a bit of a mistake when assembling the changelog for 1.4. Thanks @becdetat for noticing this.
2020-08-17 17:31:12 -07:00
Timmy Crawford
7b2aedf88b
Final css tweaks for business modal in onboarding wizard. ( https://github.com/woocommerce/woocommerce-admin/pull/4994 )
2020-08-17 15:11:42 -07:00
Timmy Crawford
0259a6b52a
Update Jetpack Autoloader to match Woo Core. ( https://github.com/woocommerce/woocommerce-admin/pull/4993 )
...
* Update Jetpack Autoloader to match Woo Core.
* Don't pin JP Autoloader.
2020-08-17 15:06:00 -07:00
Paul Sealock
8afad405d4
Remove unused lib/date ( https://github.com/woocommerce/woocommerce-admin/pull/4987 )
2020-08-18 09:53:13 +12:00
Paul Sealock
5cbd4ed521
Documentation: Fix Add Report ( https://github.com/woocommerce/woocommerce-admin/pull/4991 )
...
* Update readme
* better
2020-08-18 09:45:21 +12:00
Paul Sealock
23846221e6
jsDoc: Fix errors ( https://github.com/woocommerce/woocommerce-admin/pull/4985 )
...
* jsDoc errors, round 1
* round 2
* round 3
* voila
* root0 -> props
2020-08-18 09:36:24 +12:00
Timmy Crawford
dfdc6d8f28
CSS fixes for Business Features popover. ( https://github.com/woocommerce/woocommerce-admin/pull/4907 )
2020-08-17 12:13:12 -07:00
Jeff Stieler
96e3ed4730
Fix typo in reports store action creators. ( https://github.com/woocommerce/woocommerce-admin/pull/4992 )
2020-08-17 13:52:33 -04:00
Bec Scott
c253cc7796
Add updateOptions prop to Layout tests ( https://github.com/woocommerce/woocommerce-admin/pull/4986 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-08-17 10:30:46 +10:00
Jeff Stieler
7ad5ea7d8d
Use filtered headers array in onColumnsChange callback. ( https://github.com/woocommerce/woocommerce-admin/pull/4964 )
...
* Use filtered headers array in onColumnsChange callback.
* Table column example: show headers when there are no results.
2020-08-14 12:14:04 -04:00
Manos Psychogyiopoulos
a236f6d79f
Add 'woocommerce_analytics_update_order_stats_data' filter ( https://github.com/woocommerce/woocommerce-admin/pull/4934 )
2020-08-14 15:59:29 +03:00
Joshua T Flowers
1d339174f8
Migrate reports data store to wp data ( https://github.com/woocommerce/woocommerce-admin/pull/4966 )
...
* Move controls to data package root
* Add reports data store in wp data
* Move report utils to data package
* Update error state and actions to match existing methods
* Update references to reports data store
* Add error setters
* Fix control registration path
* Add reports reducer tests
* Remove remaining report wc-api references
* Handle PR feedback
* reference packgage, not lib/date
Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-08-14 14:19:04 +03:00
Sam Seay
be18a1945a
Adjust renovate to automerge devDependencies. ( https://github.com/woocommerce/woocommerce-admin/pull/4979 )
2020-08-14 13:11:09 +12:00
Paul Sealock
c3d1e1eb61
Stock Report: Fix bad text domains ( https://github.com/woocommerce/woocommerce-admin/pull/4980 )
...
* Fix bad text domains
* fix currency bug
2020-08-14 08:25:08 +12:00
Sam Seay
1d482e6357
Match the requires version to the exact Wordpress version number. ( https://github.com/woocommerce/woocommerce-admin/pull/4956 )
2020-08-13 11:20:14 -07:00
Jeff Stieler
025860c879
Delete associated customer analytics data when user is deleted from WordPress. ( https://github.com/woocommerce/woocommerce-admin/pull/4977 )
...
* Delete customer lookup rows when their corresponding user is deleted.
* Asynchronously delete users from customer lookup table.
* Add user deletion test case.
* Fix user deletion test.
2020-08-13 09:23:51 -04:00
Joshua T Flowers
483055dd75
Migrate notes data store to wp data ( https://github.com/woocommerce/woocommerce-admin/pull/4943 )
...
* Add initial notes data store using wp data
* Cache individual note queries
* Update notes undo endpoint to batch update endpoint
* Allow batch updates of notes
* Add requesting state
* Update components to use new note store
* Remove old notes store from wc-api
* Get note IDs from json and validate data in REST API
* Add an updating state to each note
* Throw errors in actions so they can be caught by client
* Add store reducer tests
* Handle PR feedback
* Fix failing tests
* Don't set inbox panel visibility while batch updating
* Move woocommerce block to external dependencies
2020-08-13 16:23:38 +03:00
Jeff Stieler
5fbc511f25
Don't directly import from React, use @wordpress/element. ( https://github.com/woocommerce/woocommerce-admin/pull/4978 )
2020-08-13 08:29:29 -04:00
renovate[bot]
2ca0182582
Update dependency moment-timezone-data-webpack-plugin to v1.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/4843 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:55:09 +12:00
renovate[bot]
9a4d0b40f2
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/4870 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:53:47 +12:00
renovate[bot]
72dcbfd3b7
Update dependency qs to v6.9.4 ( https://github.com/woocommerce/woocommerce-admin/pull/4930 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:40:43 +12:00
renovate[bot]
7320a0663c
Update dependency autoprefixer to v9.8.6 ( https://github.com/woocommerce/woocommerce-admin/pull/4927 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:28:04 +12:00
renovate[bot]
872aa2aa35
Update dependency @automattic/color-studio to v2.3.1 ( https://github.com/woocommerce/woocommerce-admin/pull/4968 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:14:05 +12:00
renovate[bot]
7850c5f896
Update dependency prismjs to v1.21.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/4953 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:13:43 +12:00
renovate[bot]
82d50d5d3a
Update dependency @octokit/graphql to v4.5.3 ( https://github.com/woocommerce/woocommerce-admin/pull/4969 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 14:41:00 +12:00
renovate[bot]
e50d6edb7c
Update dependency node-sass to v4.14.1 ( https://github.com/woocommerce/woocommerce-admin/pull/4844 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 14:35:46 +12:00
Paul Sealock
c145783e0a
Fix dependency declarations ( https://github.com/woocommerce/woocommerce-admin/pull/4972 )
...
* renmove WC comment block
* client routes
* more fixes
* moar search
* getting there
* by hand now
* david beating goliath
* mission accomplished
* client filepath
* save
* got it
* remove script
* fixes
* deal with package internal dep
* remove webpack alias
* fix webpack relative paths
* remove commented rule
* remove extra line
* remove unused modules entry
2020-08-13 14:05:22 +12:00
renovate[bot]
d5abba63f7
Update dependency @testing-library/jest-dom to v5.11.3 ( https://github.com/woocommerce/woocommerce-admin/pull/4970 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 13:06:15 +12:00
renovate[bot]
8c71e548ef
Update dependency concurrently to v5.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/4971 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 12:53:20 +12:00
Sam Seay
52b5fd693f
Improve jest performance significantly by downgrading to 24.9.0 ( https://github.com/woocommerce/woocommerce-admin/pull/4942 )
...
Recently there have been significant slowdowns
of the test suite in Jest. I frequently had the test suite
taking 130-150 seconds to run.
After some exploration and trial/error I found that
https://github.com/facebook/jest/issues/9457 is likely the cause.
This was confirmed after the downgrade where I saw test runs drop
to an average of about 35 seconds per run.
2020-08-13 11:29:48 +12:00
Jeff Stieler
2c8402eebf
Fix Table component `onQueryChange` prop default ( https://github.com/woocommerce/woocommerce-admin/pull/4959 )
...
* Fix default value for Table component onQueryChange.
* Add component changelog.
* Convert Table component tests to react-testing-library.
* Add test coverage for default callback props.
2020-08-12 15:35:26 -04:00
Joshua T Flowers
260843c528
Fix industry args type in REST API ( https://github.com/woocommerce/woocommerce-admin/pull/4974 )
...
* Fix industry args type in REST API
* Only allow object for industry param
* Fix onboarding industry object shape in test case.
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-08-12 15:57:55 +03:00
Claudio Sanches
073a3f706f
Fix usage of "package" tag in file headers ( https://github.com/woocommerce/woocommerce-admin/pull/4940 )
...
* Don't require package tag or file comment inside src
* Removed package tag from files inside src
* Fixed tests directory in phpcs.xml.dist
* Fixed usage of package tag
* Fixed new classes
* Fixed coding standards
* Fixed coding standards in tests
2020-08-11 16:18:47 -03:00
Joshua T Flowers
92a8a58d2b
Remove payment task actions ( https://github.com/woocommerce/woocommerce-admin/pull/4917 )
...
* Remove task list payment actions
* Check that the payments task has been marked complete in checkout note
* Track payments completion via enabled gateways
* Allow toggling to unfinish task when no payments enabled
2020-08-11 15:20:48 +03:00
Bec Scott
b511469dc8
Automatically add free local shipping zone on completing the profiler ( https://github.com/woocommerce/woocommerce-admin/pull/4857 )
...
* Set up profile completed action
* Stub out the steps
* Only run if Jetpack is installed and connected
* Return if WCS isn't active
* Return unless physical is selected as a product type
* Return if there are existing shipping zones
* Shipping labels are enabled when WCS is installed
* Set up free local shipping
* Comment for the profiler complete action
* By default there is no international/catch-all shipping method set up
* Add review shipping settings note
* Record tracks event
* Fix logic
* Add unit test around setting up free local shipping
* Rename some functions
* Use countries service to get all countries
* Drop duplicated possibly_add_note()
* Check the old value when determining if the profiler has completed
* Fall back to country code if country name doesn't exist
* Use admin_url fn to build up URL
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-08-11 14:39:25 +10:00
Bec Scott
028e1fcab4
Post-release, update readme, bump versions to 1.6.0-dev ( https://github.com/woocommerce/woocommerce-admin/pull/4950 )
...
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-08-11 11:05:03 +10:00
Paul Sealock
8d5718fdb8
Reviews: Create wp.data dataStore ( https://github.com/woocommerce/woocommerce-admin/pull/4941 )
...
* scaffold out reviews store
* hook up dataStore
* get controls working
* getReviews working
* get count working
* get errors working
* indicators working
* reducer tests
* reviews
* Remove wc-api
* cleanup
* better way to fetch with headers
* add comment with issue
* better resolver
2020-08-11 12:16:27 +12:00
Jeff Stieler
a42d4f4683
Don't redirect to connect Jetpack if "no thanks!" selected. ( https://github.com/woocommerce/woocommerce-admin/pull/4944 )
2020-08-10 08:18:09 -04:00
renovate[bot]
56dec569b5
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/4925 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-10 21:37:47 +12:00
Timmy Crawford
2b7fddb16b
Setup Payments: Add eWAY for AU/NZ Stores. ( https://github.com/woocommerce/woocommerce-admin/pull/4947 )
...
* Setup Payments: Add eWAY for AU/NZ Stores."
* Fix typo
2020-08-06 17:09:10 -07:00
Joshua T Flowers
09415ef7a8
Remove erroneous navigation component ( https://github.com/woocommerce/woocommerce-admin/pull/4923 )
2020-08-06 17:07:36 -07:00
Harris Wong
276d8455b0
Update style on shipping banner ( https://github.com/woocommerce/woocommerce-admin/pull/4948 )
...
* Change is-button to is-primary to address style issues
* Make sure the text is vertically aligned
2020-08-06 17:06:05 -07:00
James Koster
2c592b1209
Update the colors of the illustrations in the welcome modal to use the theme spot color ( https://github.com/woocommerce/woocommerce-admin/pull/4945 )
2020-08-06 16:58:00 -07:00
renovate[bot]
fd69c155fd
Update dependency @testing-library/react to v10.4.8 ( https://github.com/woocommerce/woocommerce-admin/pull/4929 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-06 12:05:04 +12:00
Sam Seay
0d95facf92
Task list - add a shortcut back to store setup ( https://github.com/woocommerce/woocommerce-admin/pull/4853 )
...
Fixes woocommerce/woocommerce-admin#4592
This adds the functionality to support a store setup tab displayed in ActivityPanel. The tab currently just redirects to the home page, rather than implementing the nice-to-haves of displaying the task list in the panel. The reason for this, is that I found it would require significant refactoring of the task list to support this currently.
As part of this I have also refactored rendering of tabs inside into 2 new functional components: <Tabs> and <Tab>. The reason for this is to decompose large untestable components, test them and by virtue of being decomposed they will also be more reusable in future. Ideally would have been refactored to a functional component as well, but it would have been too large a task.
2020-08-06 10:02:24 +12:00
Jeff Stieler
17d79a2d67
Load chunked translation data from language packs. ( https://github.com/woocommerce/woocommerce-admin/pull/4937 )
...
* Combine all JSON translation chunks into one file.
* Use WP_Filesystem.
* Handle core WooCommerce text domain when running as a package.
2020-08-05 15:29:05 -04:00
Fernando
6c264a08a0
Added key to generic items in list without one ( https://github.com/woocommerce/woocommerce-admin/pull/4936 )
...
This commit adds a key to generic items in list that don't have one
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-08-05 16:01:02 -03:00
Fernando
3873c415cb
Replaced prop sent to "CSSTransition" for item key ( https://github.com/woocommerce/woocommerce-admin/pull/4924 )
...
This commit replaces a prop sent to the component "CSSTransition" for the item key.
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-08-05 09:16:24 -03:00
Sam Seay
34d8d930b0
Display modal with more info about the new homescreen ( https://github.com/woocommerce/woocommerce-admin/pull/4890 )
...
Fixes woocommerce/woocommerce-admin#4590
This implements a paged modal via the Gutenberg Guide component. Some styling adjustment was needed to match the designs exactly.
This also introduces 3 SVG based illustrations for display in the modal. According to this comment there is a need to color them based on the theme at some point, but based on a current lack of requirements for that, I felt that could be done at a separate time (that was suggested in the comment as well).
2020-08-05 12:14:56 +12:00
Jason Conroy
b078134073
Add product and category props to mock RecommendedExtensionsItem ( https://github.com/woocommerce/woocommerce-admin/pull/4912 )
2020-08-04 15:04:27 -07:00
renovate[bot]
5b17866c03
Update dependency @testing-library/jest-dom to v5.11.2 ( https://github.com/woocommerce/woocommerce-admin/pull/4872 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-04 16:19:10 +12:00
renovate[bot]
b8784a6331
Update dependency @testing-library/react-hooks to v3.4.1 ( https://github.com/woocommerce/woocommerce-admin/pull/4873 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-04 16:17:30 +12:00
Sam Seay
a52610640f
Clean up webpack config and add tsconfig.json ( https://github.com/woocommerce/woocommerce-admin/pull/4800 )
2020-08-04 15:41:09 +12:00
Paul Sealock
8b80c83b09
Prepare to publish packages ( https://github.com/woocommerce/woocommerce-admin/pull/4908 )
...
* get changelogs ready
* bump versions in package.json
* reset stable tag
2020-08-04 15:10:36 +12:00
Jeff Stieler
239b6c95b8
Fix use of Jetpack autoloader. ( https://github.com/woocommerce/woocommerce-admin/pull/4920 )
...
* Require the correct autoloader file.
* Include composer file when updating version numbers.
* Add notice for development builds not using JETPACK_AUTOLOAD_DEV.
* Only bump version numbers when preparing a release.
2020-08-04 13:13:48 +12:00
Joshua T Flowers
cf66e7984c
Allow revisiting of the payments task ( https://github.com/woocommerce/woocommerce-admin/pull/4918 )
...
* Allow revisiting of the payments task
* Remove un-used import of getAdminLink
Co-authored-by: Timmy Crawford <timmydcrawford@gmail.com>
2020-08-03 16:05:39 -07:00
Fernando Espinosa
95ce793bc0
Remove new WP 5.5 meta box arrows in the shipping banner ( https://github.com/woocommerce/woocommerce-admin/pull/4914 )
2020-08-03 15:56:31 -07:00
Timmy Crawford
1855057d25
Onboarding: Change account required text on biz step. ( https://github.com/woocommerce/woocommerce-admin/pull/4909 )
2020-08-03 15:08:07 -07:00
Timmy Crawford
979251784d
Use lifesaver icon instead of gridicon for help panel. ( https://github.com/woocommerce/woocommerce-admin/pull/4905 )
2020-08-03 14:54:57 -07:00
Fernando
a39e6fee62
Added personalization to purchase extension task ( https://github.com/woocommerce/woocommerce-admin/pull/4849 )
...
* Added personalization to purchase extension task
This commit adds personalization to purchase extension task
* Removed unnecessary naming fix
This commit removes an unnecessary naming fix
* Corrected param description
* Solved translation problem
* Naming corrected
The method 'getGroupedOnboardingProducts' was given a more accurate name.
* Modified string substitution
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-08-03 16:24:57 -03:00
Fernando
5ab72f6137
Activity Panel - event tracking improved ( https://github.com/woocommerce/woocommerce-admin/pull/4861 )
...
* Added event recording to `ProductStockCard`
This commit adds event recording to `ProductStockCard`
* Added event recording to `OrdersPanel`
This commit adds event recording to the orders panel
* Added event recording to `ReviewsPanel`
This commit adds event recording to the reviews panel
* Added `learn_more` event recording
* Modified orders event names
* Added event 'wcadmin_activity_panel_orders_learn_more' to Orders
* Modified "orders.js" indentation
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-08-03 13:38:57 -03:00
Joshua T Flowers
2902b8871b
Only show WCPay task in US based stores ( https://github.com/woocommerce/woocommerce-admin/pull/4899 )
2020-08-03 11:22:25 +03:00
Jason Conroy
a8275715e3
Use clipRule and fillRule props ( https://github.com/woocommerce/woocommerce-admin/pull/4889 )
2020-07-31 09:44:56 +09:30
Paul Sealock
c621bade17
Currency: re-add deprecated formatCurrency ( https://github.com/woocommerce/woocommerce-admin/pull/4891 )
...
* Currency: re-add deprecated formatCurrency
* better warning
* bump removal version to 5.0.0
2020-07-31 07:32:09 +12:00
Jeff Stieler
adf51fc173
Center all descriptive text on OBW steps. ( https://github.com/woocommerce/woocommerce-admin/pull/4902 )
2020-07-30 13:58:10 -04:00
Jeff Stieler
53031f3fae
OBW: fix product types step bugs ( https://github.com/woocommerce/woocommerce-admin/pull/4900 )
...
* OBW: fix tooltip display on product types step.
* Restore physical products as default.
* Slight improvement to screen reader text.
2020-07-30 12:14:18 -04:00
Jeff Stieler
ee057bcb37
Enable tax calculation before redirecting to standard tax rates page. ( https://github.com/woocommerce/woocommerce-admin/pull/4878 )
2020-07-30 12:04:21 -04:00
Paul Sealock
80f4a86515
Declare packages dependencies independently of main package.json ( https://github.com/woocommerce/woocommerce-admin/pull/4874 )
...
* create file declaration to packages
* bump wordpress/components in packages
* get format right
2020-07-30 13:51:15 +12:00