Commit Graph

4181 Commits

Author SHA1 Message Date
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
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