Commit Graph

4198 Commits

Author SHA1 Message Date
Bec Scott 27a6b4d967 Add rule processors for country and state (https://github.com/woocommerce/woocommerce-admin/pull/5203)
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-29 15:21:44 +10:00
Bec Scott ad8f8c5b08 Rename admin notes classes and file names to fit conventions (https://github.com/woocommerce/woocommerce-admin/pull/5142)
* Rename admin notes classes and file names to fit conventions

* Use a facade class that adds deprecation warnings to each function call

* Tidy up after rebase

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-28 14:35:10 +10:00
renovate[bot] df91b1f0a6 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/5204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-28 15:43:02 +13:00
Joshua T Flowers 45ea46a6f1 Pass Stripe supported countries in tasks status REST API (https://github.com/woocommerce/woocommerce-admin/pull/5197) 2020-09-25 19:21:06 +03:00
Jeff Stieler 264aa8dee4 Add Variations Report (https://github.com/woocommerce/woocommerce-admin/pull/5167)
* Add initial Variations Report to analytics feature.

* Restrict query to variations when not specifying any product IDs.

* Add route to get variations without specifying a parent.

* Move variations table component to variations report directory.

* Add missing LIMIT clause to variations report query.

* Remove broken features from Variations table.

* Add Variations report controller to CSV emailer.

* Add initial Variation Stats endpoint, based on Product Stats.

* Hook Variations Report components up to new stats endpoint.

* Hook attribute filter up to variations report queries.

* Remove variation title filter usage.

See: https://github.com/woocommerce/woocommerce-admin/pull/5100

* Use filtered separator in variation name formatting.

* Add "single variation" to variations report, fix autocompleter API request.

* Fix segmentation by variation.

* Add comparison to variations report.

* Always include manually specified variations in report results.

* Fix variations report table comparison mode.

The ReportTable component expects the `filter` query param.

* Fixing styling of compare button without table search component.

* Add variation filter to Orders report.

* Link orders count to orders report filtered by variation.

* Orders report: include variation attributes in product names.

* Further style tweaks for variations report download button.

* Add variations filter to order stats query.

* Clean up "category includes" login in REST controllers.

Prep for "category excludes" in the Variations report.

* Support category exclusion in report filters.

* Fix filter param used by the variation report table component.

* Add category filter to variations report.

* Fix initial selected ReportTable rows when using non-default compareParam.

* Add a new autocompleter for variable products.

* Add products filter to variations report.

* Fix tests.

* Handle variation IDs that are no longer found.

* Add documentation.

* Use getSetting() instead of directly accessing window properties in client code.

* Fix ordering Variations by SKU.
2020-09-25 09:57:48 -04:00
Fernando 1f667456b2 Modified "Skip setup wizard" button text (https://github.com/woocommerce/woocommerce-admin/pull/5196)
This commit changes the "Skip setup wizard" button text to "Skip setup store details"

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-09-25 08:48:14 -03:00
Paul Sealock 4b8a03d83b add dependencies in loader (https://github.com/woocommerce/woocommerce-admin/pull/5169) 2020-09-25 12:20:21 +12:00
renovate[bot] fdd2c73122 Update dependency locutus to v2.0.12 (https://github.com/woocommerce/woocommerce-admin/pull/5148)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-25 09:25:26 +12:00
Sam Seay e6d5786d1b Adjust the logic of display of the store setup link. (https://github.com/woocommerce/woocommerce-admin/pull/5180) 2020-09-25 09:23:27 +12:00
Fernando ce3dab196e Renamed task list item (https://github.com/woocommerce/woocommerce-admin/pull/5190)
This commit renames the task list item "Store wizard" to "Store details"

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-09-24 08:53:13 -03:00
Sam Seay 20959e76b4 Remove store registration checks that are no longer needed. (https://github.com/woocommerce/woocommerce-admin/pull/5170)
Fixes woocommerce/woocommerce-admin#4443

Some investigation found that woocommerce/woocommerce-admin#4443 is no longer a reproducible issue. Why this issue no longer exists is not clear, but it makes sense now to disable the store registration checks as they are only called once. This PR just removes the checks but does not change any other behaviour.
2020-09-24 09:49:11 +12:00
Joshua T Flowers 6ea8752e30 Fix version update script for composer.json (https://github.com/woocommerce/woocommerce-admin/pull/5165) 2020-09-23 06:10:05 -07:00
Joshua T Flowers 12ffd61133 Show payments task for non-US stores when wcpay installed (https://github.com/woocommerce/woocommerce-admin/pull/5166) 2020-09-23 05:55:19 -07:00
Renovate Bot feddd93d66 chore(deps): update dependency replace to v1.2.0 2020-09-23 08:40:42 +00:00
Renovate Bot 8a5ead6901 chore(deps): update dependency request-promise to v4.2.6 2020-09-23 06:35:37 +00:00
Renovate Bot 603ce733c7 chore(deps): update dependency recast to v0.20.3 2020-09-23 05:09:13 +00:00
Renovate Bot b425397af9 chore(deps): update dependency puppeteer to v5.3.1 2020-09-23 03:27:19 +00:00
Renovate Bot 88430d9787 chore(deps): update dependency lint-staged to v10.4.0 2020-09-23 02:19:10 +00:00
Renovate Bot 0e82edd912 chore(deps): update dependency @storybook/addon-console to v1.2.2 2020-09-23 01:22:00 +00:00
Fernando 4aa01340ab Store Profiler - Industry: reduced padding and removed industry (https://github.com/woocommerce/woocommerce-admin/pull/5157)
* Reduced list padding

This commit reduces the industries list "padding" and its "min-height"

* Removed item from industries list

This commit removes the item "Art, Music & Photography" from the industries list

* Fixed e2e tests

This commit fixes the e2e tests

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-09-22 09:20:42 -03:00
renovate[bot] 04359e6032 chore(deps): lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/5168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-22 15:50:35 +12:00
Sam Seay b492a2aa15 Use 'yes' to update modal dismiss option. (https://github.com/woocommerce/woocommerce-admin/pull/5152)
Fixes a bug in Atomic sites where dismissing the home screen modal would not set the option causing the modal to come back on each reload.
2020-09-19 08:19:55 +12:00
Adrian Duffell 46e9747968 Update remote-inbox-notification feature flag to true for all environments (https://github.com/woocommerce/woocommerce-admin/pull/5160) 2020-09-18 13:54:21 +08:00
Adrian Duffell 49f74d8b15 Add check for remote inbox notifications opt-out (https://github.com/woocommerce/woocommerce-admin/pull/5162)
The marketplace suggestions opt-out is now used to determine if remote inbox notifications should be fetched. This corresponds to the
`woocommerce_show_marketplace_suggestions` WP option.

Additionally, a new protected method is added to the class. This provide a series of checks for whether remote notifications are enabled on the site.
2020-09-18 13:53:49 +08:00
Paul Sealock 328075abb7 Remove ` @woocommerce/wc-admin-settings` from data package (https://github.com/woocommerce/woocommerce-admin/pull/5158)
* remove getAdminLink

* prep for package release

* correctly pass in args

* tests
2020-09-18 14:22:52 +12:00
Paul Sealock 2dea138505 Update/components deps (https://github.com/woocommerce/woocommerce-admin/pull/5153)
* bump components dependencie

* prep for package release
2020-09-18 08:19:36 +12:00
Jason Conroy a60f59fa10 Add Google Ads & Marketing by Kliken Note Provider (https://github.com/woocommerce/woocommerce-admin/pull/5107)
* Remove Facebook Experts note

* Swap Facebook Marketing Experts Note for Google Ads and Marketing

* Update db version for 1.6.0
2020-09-17 10:50:49 -07:00
Francesco 36f61c89f1 chore: rename WCS to WC Shipping & Tax (https://github.com/woocommerce/woocommerce-admin/pull/5139) 2020-09-16 16:45:16 -05:00
Paul Sealock d057022caf force to a float (https://github.com/woocommerce/woocommerce-admin/pull/5149) 2020-09-17 08:33:52 +12:00
Jeff Stieler 3abeda602a Search all variation attribute values, not just global ones. (https://github.com/woocommerce/woocommerce-admin/pull/5141)
* Search all variation attribute values, not just global ones.

* Fix variations test for WC < 4.4.
2020-09-16 09:57:38 -04:00
Renovate Bot a4ec2b94b0 Update dependency lint-staged to v10.3.0 2020-09-16 03:18:04 +00:00
Renovate Bot 054c3d59eb Update dependency ast-types to v0.14.2 2020-09-16 03:01:45 +00:00
Renovate Bot 0267a3a08d Update dependency @octokit/graphql to v4.5.6 2020-09-16 02:37:43 +00:00
Jeff Stieler b531f51cad Don't include "min" suffix in build JavaScript when targeting core. (https://github.com/woocommerce/woocommerce-admin/pull/5130)
Files with "min" are ignored by GlotPress / translate.wp.org.
2020-09-15 11:36:58 -04:00
Bec Scott 90567853de Enable the home screen for everybody (https://github.com/woocommerce/woocommerce-admin/pull/5108)
* One-shot to enable the homescreen for everybody

* Make the home page the default (only) experience

* remove option check in activity panel tabs, get tests working, fix lint issues

* Remove is-homescreen CSS class

* Remove extra home page route registration

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-15 09:44:46 +10:00
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