Commit Graph

4076 Commits

Author SHA1 Message Date
Paul Sealock ad7cf64303 Navigation: Add client code (https://github.com/woocommerce/woocommerce-admin/pull/5309)
* is_feature_enabled

* feature class

* copy/paste

* hooked up

* its alive

* add wc-admin items

* clean up entry point

* Analytics remove url

* rebase error

* add back in check is_feature_enabled

* specificity CSS
2020-10-13 14:40:53 +13:00
Paul Sealock c9242f7122 Navigation: Move PHP code to WC Admin (https://github.com/woocommerce/woocommerce-admin/pull/5308)
* is_feature_enabled

* copy/paste

* hooked up

* text domain

* rebase fix

* text domain
2020-10-13 13:49:39 +13:00
Paul Sealock c089b49b38 Navigation: Prep feature flags and option (https://github.com/woocommerce/woocommerce-admin/pull/5292)
* add feature flag

* hydrate options on embedded screens

* is_feature_enabled

* feature class

* feedback

* better name

* fix
2020-10-13 13:05:06 +13:00
Bec Scott 61c189f456 Add option remote inbox notifications rule processor (https://github.com/woocommerce/woocommerce-admin/pull/5206)
* Add option remote inbox notifications rule processor

* Add default option value to option rule

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-13 08:47:12 +10:00
Paul Sealock 319923f435 Test Zips: make sure assets are up to date (https://github.com/woocommerce/woocommerce-admin/pull/5313)
* cleand and composer install

* better
2020-10-13 11:00:54 +13:00
Jeff Stieler 8a0f580d1b Check for connected JP+WCS and non-ShipStation country for shipping defaults. (https://github.com/woocommerce/woocommerce-admin/pull/5320)
Fix UK country code too.
2020-10-09 13:28:41 -07:00
Bec Scott b8adfaaa94 Shipping task smart default: add exceptions (https://github.com/woocommerce/woocommerce-admin/pull/5312)
* Require Jetpack connected and WCS active to mark the shipping task as complete

* Require country _not_ be in AU, NZ, or UK to mark shipping methods as complete

* Bump CI

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-08 19:18:19 -07:00
Sam Seay f6cd6c25c8 Ensure that the iOS smart banner is rendered on embed pages as well as wc-admin pages. (https://github.com/woocommerce/woocommerce-admin/pull/5311) 2020-10-08 19:17:11 -07:00
Joshua T Flowers 91e57586f4 Load onboarding data when enabled or directly visiting (https://github.com/woocommerce/woocommerce-admin/pull/5290)
* Always load onboarding data in component global settings

* Load onboarding data when enabled or directly visiting
2020-10-08 17:10:55 -07:00
Paul Sealock 52137fe3fa bump wp components and base styles (https://github.com/woocommerce/woocommerce-admin/pull/5293) 2020-10-09 12:10:32 +13:00
Fernando 3fb1fbba6a Invalidating cache for "getTasksStatus" (https://github.com/woocommerce/woocommerce-admin/pull/5291)
This commit invalidates the cache for "getTasksStatus" to force a rerequest of the value.

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-10-08 14:25:41 -07:00
Timmy Crawford 178278c951 Change WooCommerce Services to WooCommerce Shipping & Tax. (https://github.com/woocommerce/woocommerce-admin/pull/5305) 2020-10-08 14:15:29 -07:00
Sam Seay 259489a0b9 Fix a bug in tax automation logic and track the event in analytics (https://github.com/woocommerce/woocommerce-admin/pull/5276) 2020-10-08 14:08:03 +13:00
Bec Scott 1c009dd9e7 Add/confirm tax settings note (https://github.com/woocommerce/woocommerce-admin/pull/5279)
* Add note to confirm automated tax settings

* add back automated_tax_is_supported function

* Trigger CI

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-08 09:12:31 +10:00
Bec Scott 51867b3d3b Add @deprecated tag to DeprecatedNotes comments (https://github.com/woocommerce/woocommerce-admin/pull/5283)
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-08 09:09:33 +10:00
Paul Sealock a4e8f6996c Navigation: Update PHP registration (https://github.com/woocommerce/woocommerce-admin/pull/5255)
* UPdate to new registration API

* conditionally add path to Overview

* add comment

* change to is_top_level
2020-10-08 10:10:37 +13:00
Paul Sealock 90cad8c945 update starter pack (https://github.com/woocommerce/woocommerce-admin/pull/5254) 2020-10-08 07:40:21 +13:00
Adrian Duffell 8466859eb9 Fix inconsistent line endings in readme.txt (https://github.com/woocommerce/woocommerce-admin/pull/5281)
This updates the Stable tag line in readme.txt to use a CRLF style line ending. This makes it consistent with the rest of the file and fixes “mixed line ending” type error messages when opening.
2020-10-07 11:34:27 +08:00
Renovate Bot a5bb7688bf Update dependency enzyme-adapter-react-16 to v1.15.5 2020-10-07 01:26:59 +00:00
Renovate Bot e5b85e7a90 Update dependency babel-jest to v26.5.2 2020-10-07 01:19:28 +00:00
Joel Thiessen 23c19ee1b2 Removing breadcrumbs from wc-admin header, replacing with simple titl… (https://github.com/woocommerce/woocommerce-admin/pull/5232)
Removing breadcrumbs from wc-admin header, replacing with simple title (https://github.com/woocommerce/woocommerce-admin/pull/3963)

This is an interim step towards the integration of wc-navigation, where a back button will be provided to restore the critical functionality of the breadcrumbs. Note that the `breadcrumbs` data was preserved since it's still being utilized do construct the document title (in semi-breadcrumb-fashion) on both the backend and front-end.
2020-10-06 13:42:46 -07:00
Joshua T Flowers 173b8c6262 Update store setup link to redirect to setup wizard (https://github.com/woocommerce/woocommerce-admin/pull/5200) 2020-10-06 23:35:54 +03:00
Joshua T Flowers 443e2f9a55 Wrap search control selected items in list (https://github.com/woocommerce/woocommerce-admin/pull/5231)
* Wrap search control selected items in list

* Fix up snapshots
2020-10-06 23:27:38 +03:00
Fernando 20a14ca689 Added animation to Inbox note deletion (https://github.com/woocommerce/woocommerce-admin/pull/5263)
This commit adds an animation to Inbox note deletion

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-10-06 11:07:06 -03:00
Fernando 1da4eedbf0 Moved Inbox Panel component (https://github.com/woocommerce/woocommerce-admin/pull/5252)
This commit moves the Inbox Panel component

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-10-06 10:13:32 -03:00
Jeff Stieler e62114e307 Remove dynamic content hash from chunk names. (https://github.com/woocommerce/woocommerce-admin/pull/5229)
* Don't auto generate chunk names.

This should make SVN diffs much easier to navigate for WP.org deploys.

* Include script version parameter in async chunk requests.

* Add version parameter to CSS chunks.
2020-10-06 08:58:15 -04:00
Jeff Stieler 2358f022ef Declare the note constants on the deprecated class. (https://github.com/woocommerce/woocommerce-admin/pull/5215)
* Declare the note constants on the deprecated class.

This avoids triggering PHP errors when third party code references the old class constants.

* Remove deprecation notices and return the call result

* Restore deprecated notices.

* Avoid magic strings.

* Pass WC_Admin_Note constructor argument to migrated class.

* Allow subclasses to access the facade class instance.

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-06 08:56:40 -04:00
Paul Dechov 1bdd2ea0e1 Search component: Behavior and styling tweaks (https://github.com/woocommerce/woocommerce-admin/pull/5199)
Fix visual issues with the <Search> component.
2020-10-06 12:22:22 +13:00
Bec Scott 9906c6c1b3 Add note status remote inbox notifications rule processor (https://github.com/woocommerce/woocommerce-admin/pull/5207)
* Add note status remote inbox notifications rule processor

* Notes class rename

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-06 07:51:59 +10:00
renovate[bot] a1967f194c Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/5266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-06 10:21:19 +13:00
Joel Thiessen 484221c0cd Updating Stripe key field validation to support test keys (https://github.com/woocommerce/woocommerce-admin/pull/4391) (https://github.com/woocommerce/woocommerce-admin/pull/5201)
Updating Stripe key field validation to support test keys (https://github.com/woocommerce/woocommerce-admin/pull/4391)

Currently the form to configure Stripe keys accessed via the task list presents an error when test keys are used. I've updated the validation in order to support the format for test keys as well.
2020-10-05 11:52:12 -07:00
renovate[bot] 5c49051dcf Update dependency debug to v4.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/5220)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 17:43:29 +13:00
renovate[bot] c316887f0a Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/5265)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 17:12:34 +13:00
renovate[bot] 3b88df6a31 Update dependency dompurify to v2.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/5221)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 17:38:38 +13:00
Sam Seay 0d6d0dd36f Improve the pre-commit hook setup for wc-admin (https://github.com/woocommerce/woocommerce-admin/pull/5233) 2020-10-02 17:38:13 +13:00
Bec Scott a75d1a5254 Change store details tooltip to a popover (https://github.com/woocommerce/woocommerce-admin/pull/5212)
* Change store details tooltip to a popover

* Change 'skip setup' tooltip to be a popover as well

Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-10-02 11:47:08 +10:00
Timmy Crawford 6db5126771 Onboarding: Remove check for legacy onboarding in redirect logic. (https://github.com/woocommerce/woocommerce-admin/pull/5230) 2020-10-01 06:08:41 -07:00
Adrian Duffell f08ccc57d7 Remove customer analytics data upon order deletion (https://github.com/woocommerce/woocommerce-admin/pull/5171)
This deletes the associated customer record when an order is deleted, provided that this is the only order for the customer.
2020-10-01 20:09:04 +08:00
Paul Dechov 4d0e062ee1 Task list: Turn off Stripe test mode when submitting live keys (https://github.com/woocommerce/woocommerce-admin/pull/5226) 2020-09-30 09:24:14 -07:00
Bec Scott 6ad7be3d58 Fix wakeup visibility for PHP 8 compatibility (https://github.com/woocommerce/woocommerce-admin/pull/5211)
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-30 13:51:25 +10:00
Renovate Bot f3441c866a Update dependency config to v3.3.2 2020-09-30 03:14:25 +00:00
Renovate Bot a51d5dc690 Update dependency @testing-library/react-hooks to v3.4.2 2020-09-30 01:53:32 +00:00
Paul Sealock 7c1eae7263 version bump (https://github.com/woocommerce/woocommerce-admin/pull/5219) 2020-09-30 14:13:28 +13:00
Joshua T Flowers 1d3b9c0573 Redirect to setup wizard when activation transient is present (https://github.com/woocommerce/woocommerce-admin/pull/5214) 2020-09-29 17:14:04 -07:00
Jeff Stieler 6db31e351f Check to enable automated taxes after Jetpack connection is made. (https://github.com/woocommerce/woocommerce-admin/pull/5210) 2020-09-29 16:57:06 -07:00
Bec Scott 2ba064abf4 Remove product settings video note (https://github.com/woocommerce/woocommerce-admin/pull/5213)
Co-authored-by: Rebecca Scott <me@becdetat.com>
2020-09-29 13:16:59 -07:00
Sam Seay 305eff84b3 Fix a bug where the store task list would remain after completion (https://github.com/woocommerce/woocommerce-admin/pull/5205)
* Adjust the logic of display of the store setup link.

* Fix a bug where some values of woocommerce_task_list_complete cause issues with updating.
2020-09-29 08:24:39 -07:00
Fernando 2cf7ea56a8 Onboarding - Store Profiler - Removed selected CBD option for eCommerce plan (https://github.com/woocommerce/woocommerce-admin/pull/5124)
* Added filter to selected industries list

This commit adds a filter to the selected industries list

* Fixed lint error

* Fixed lint issues

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-09-29 08:10:40 -07:00
Fernando 63f2b9de8b Enlarged store profiler text in two steps (https://github.com/woocommerce/woocommerce-admin/pull/5194)
* Fixed small text in OBW

This commit makes some OBW texts larger

* Fixed list items size

This commit makes the list items in the 2nd step of the OBW larger

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-09-29 08:04:30 -07:00
Joshua T Flowers 6e8b4bad5f Fix header height and positioning for wc nav (https://github.com/woocommerce/woocommerce-admin/pull/5173)
* Fix header height and positioning for wc nav

* Remove body margin via CSS
2020-09-29 15:57:50 +03:00