Commit Graph

310 Commits

Author SHA1 Message Date
Moon 718bac6981 Prompt a modal to save any unsaved changes in OBW (https://github.com/woocommerce/woocommerce-admin/pull/8278)
* Add a modal to show when unsaved changes are detected

* Add functions to track value changes from the steps

* Warn unsaved changes for the store details

* Add styles for the unsaved modal

* Warn unsaved changes for the Industry

* Warn unsaved changes for the Product Types

* Warn unsaved changes for the Business Details

* Add changelog

* Add testing instructions.

* Sort array values before comparison

* Use only the array values to compare the diff

* Catch rejected promise on continue

* Set initial value to an empty object

* Fix failing tests
2022-02-17 11:15:11 -08:00
Fernando ce0f73aa9b Refactor `MerchantEmailNotifications` (https://github.com/woocommerce/woocommerce-admin/pull/8304)
* Refactor `MerchantEmailNotifications`

* Rename `NotificationEmail`

* Add changelog

* Add folder `Notes` to `Internal`

* Moved folder and the namespace was renamed

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-02-17 14:33:19 -03:00
rjchow 99a382c649 Fixed typing errors in Stepper component after typescript conversion 2022-02-17 10:35:39 +08:00
Ilyas Foo d590b1116f Fix WCPay in core texts and promo slug (https://github.com/woocommerce/woocommerce-admin/pull/8296)
* Fix texts and change promo slug

* Changelog
2022-02-16 11:10:59 +08:00
RJ ab1cbfb6f2 Added tracks test for PaymentGatewaySuggestions (https://github.com/woocommerce/woocommerce-admin/pull/8306) 2022-02-15 10:30:46 +08:00
Travis ae582fdc66 Jetpack Backup note - change time range and add an image (https://github.com/woocommerce/woocommerce-admin/pull/8293)
* start note after 3 days and add an image

* add changelog entry

* add PR number to changelog
2022-02-14 12:42:50 -06:00
Paul Sealock e41441f83e Add hook reference generator README and documentation (https://github.com/woocommerce/woocommerce-admin/pull/8004)
* Add hook reference README

* update hook reference

* better

* changelog

* add pr number

* remove example

* add desc

* add stats

* jsdoc REPORTS_FILTER

* Category configs

* configs

* data

* dashboard

* dashboard charts

* save

* save

* save

* done with filters

* Add scope to slotFill docs

* data

* add all slotfills

* data

* Fix error when scope is not present, and make use of typedef imports

* Move chart and filter jsdoc definitions to the reports index file

* Update hook reference data.json

* Make use of import for filter typedef and address some typos

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-02-11 10:38:38 -04:00
louwie17 0deb1c33bc Add wc_version to store profiler view and complete tracks (https://github.com/woocommerce/woocommerce-admin/pull/8290)
* Add wc_version to store profiler view and complete tracks

* Add changelog

* Update changelog
2022-02-11 10:03:37 -04:00
louwie17 7e999148f1 Sync changelog and testing instructions from 3.2 (https://github.com/woocommerce/woocommerce-admin/pull/8289)
* Add additional testing instructions

* Update changelog entries for 3.2
2022-02-11 08:40:33 -04:00
RJ 087ce5aa61 Enable type definitions output for @woocommerce/components (https://github.com/woocommerce/woocommerce-admin/pull/8282)
* Output typedefs for @woocommerce/packages
2022-02-11 19:39:34 +08:00
Chi-Hsuan Huang 4f5e537a54 Fix a lot of pending "run_remote_notifications" scheduled actions (https://github.com/woocommerce/woocommerce-admin/pull/8285)
* Change to only create remote action when there_are_now_products is false

* Add changelog

* Update src/RemoteInboxNotifications/StoredStateSetupForProducts.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update function name

* Add comment

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-02-11 15:08:11 +08:00
Chi-Hsuan Huang e1ac06afa7 Fix payments extensions displayed below the offline payments options (https://github.com/woocommerce/woocommerce-admin/pull/8232)
* Fix payments extensions displayed below the offline payments options

Add spaces back

* Add changelog

* Remove the snapshot test and update payment gateway render test

* Make sorting compare function as a helper function
2022-02-09 14:12:20 +08:00
louwie17 7d2aa04b2a Add business-details step complete track (https://github.com/woocommerce/woocommerce-admin/pull/8265)
* Add business-details step complete track

* Add changelog

* Update tab name and treat each tab as an individual step when trickering tracks

* Add comment

* Fix linting

* Remove unnecessary css selector

* Update goToNextStep param to make it less confusing

* Update jsdoc param
2022-02-08 14:29:17 -04:00
RJ b9806c5087 Made email in OBW optional again (https://github.com/woocommerce/woocommerce-admin/pull/8263) 2022-02-08 08:56:45 +08:00
louwie17 c2537136bb Fix shipping task step when store location isn't filled out (https://github.com/woocommerce/woocommerce-admin/pull/8260)
* Remove completeStep call in StoreLocation callback to avoid duplicate call.

* Add changelog
2022-02-07 14:55:35 -04:00
Moon 080dc48a9b Fix/8191 deleting products adds blank space to analytics data (https://github.com/woocommerce/woocommerce-admin/pull/8255)
* Retrieve variation name from woocommerce_order_items for deleted products

* Remove test code

* Refactor to use wc_order_product_lookup table

* Identation fix

* Remove link if the variation/product has been deleted

* Add changelog

* Remove (deleted) suffix

* Add (Deleted) suffix in frontend
2022-02-07 10:13:27 -08:00
Ilyas Foo dfdafc1568 Update headercard to use filter to add ExPlat parameter (https://github.com/woocommerce/woocommerce-admin/pull/8233)
* Add changelog

* Update headercard experiment hook to utilize `woocommerce_explat_request_args` filter

* Add test

* Fix experiment name check

* Update parameter name

* Add changelog

* Removed old changelog

* Added prop comments to Layout component

* Add preload option for homescreen

* Fix class attribute typo

* Hide extended tasklist when task detail is shown

* Add local Suspense to stop lazy component bubbling up to Controller's Suspense

* Remove unused props

* Add missed Suspense, add loading logic to ActivityHeader

Co-authored-by: Moon <moon.kyong@automattic.com>
2022-02-07 08:50:20 +08:00
Joshua T Flowers 517d248ed7 Remove unused task styling classes (https://github.com/woocommerce/woocommerce-admin/pull/8234)
* Remove unused task styling classes

* Rename typo in dismiss modals

* Remove extra styling selector class

* Add changelog entry
2022-02-04 10:26:56 -05:00
Joshua T Flowers e8c1c94b01 Only add product data on REST requests and task list (https://github.com/woocommerce/woocommerce-admin/pull/8235)
* Only add product data on REST requests and task list

* Add changelog entry

* Return new product data variable
2022-02-04 10:03:47 -05:00
louwie17 ec3852160d Add support for filtering by changelog type for testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/8256)
* Add support for filtering by changelog type for testing instructions, and remove some warnings

* Update readme

* Remove error log

* Add changelog
2022-02-04 09:32:21 -04:00
Jacob Sewell 9c18a427fa Avoid `get_notes` call in `CouponPageMoved` (https://github.com/woocommerce/woocommerce-admin/pull/8202)
* First draft of CouponPageMoved::has_(unactioned|dismissed)_note() method changes to avoid get_notes().

* Add static function get_note_by_name( $note_name ) to Automattic\WooCommerce\Admin\Notes\Notes class.

* Use Notes::get_note_by_name() in Notes::get_note_status().

* Use new Notes::get_note_by_name() in CouponPageMoved::has_unactioned_note().

* Use new Notes::get_note_by_name() in CouponPageMoved::has_dismissed_note().

* Add changelog for 7986/8202.
2022-02-03 15:27:55 -06:00
louwie17 d492793276 Update changelog (https://github.com/woocommerce/woocommerce-admin/pull/8243) 2022-02-02 10:46:24 -04:00
louwie17 d41906267a Dev/e2e reset (https://github.com/woocommerce/woocommerce-admin/pull/8219)
* Add payment_setup track for WooCommerce Payments

* Add WooCommerce Reset Plugin to E2E environment

* Add resetWoComerceState util

* Add state reset before obw test

* Refactor resetWooCommerceState

resetWooCommerceState now makes the HTTP request locally instead of from inside the browser context.

* Update reset functionality

* Add custom settings reset function for onboarding

* Update reset functionality

* Add action-scheduler run helper function

* Fix add section test

* Add plugin removal helper functions

* Fix lint errors

* Fix broken e2e tests

* Add changelog

* Remove unused imports

* Add comment for extra timeout

* Add helper function to wait until button stops moving, incase of animations

* Fix lint error

* Add variable for string used in multiple places

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2022-02-02 08:55:10 -04:00
Moon 69034713a1 Reintroduce CES (https://github.com/woocommerce/woocommerce-admin/pull/8238)
* Reintroduce CES for the following actions

* Add a product

* Update product

* Edit order

* Add changelog

* Add PR # to the changelog
2022-02-01 15:34:17 -08:00
Moon 52fbcffe92 Make ExPlat request URL args filterable (https://github.com/woocommerce/woocommerce-admin/pull/8231)
* Support woocommerce_explat_request_args filter to modify ExPlat request args

* Add ExPlat test

* Add ExPlat test for PHP

* Add changelog

* Add doc for the filter

* Fix syntax
2022-02-01 14:17:03 -04:00
Chi-Hsuan Huang e6f19d0d91 Fix country/region selection not preserved in store details task (https://github.com/woocommerce/woocommerce-admin/pull/8228)
* Fix country/region selection not preserved in store details task

* Update store-adress test cases

* Add changelog

* Check alphabets regx for isStateAbbreviation

* Update comments

* Use unknown type for locale

* Add Disable reason
2022-02-01 14:13:54 -04:00
Joshua T Flowers ea6b50f241 Show single success message for theme install and activation (https://github.com/woocommerce/woocommerce-admin/pull/8236)
* Show single success message for theme install and activation

* Add changelog entry
2022-02-01 12:02:33 -05:00
Jacob Sewell 5002a1498a Fix distorted Country/Region label at some zoom levels (https://github.com/woocommerce/woocommerce-admin/pull/8186)
* Override overflow rule for label in select controls in OBW store address inputs.

* Changelog for 7893/8186.

* Rather than specifically override the overflow for store addresss country/region, remove the specific rule that was causing the issue.

* Increase line-height on SelectControl label.

* Restore overflow: hidden rule for profile wizard control label.

* Update changelog for 7893/8186.

* Add package changelog entry for 7893/8186.
2022-01-31 15:56:15 -06:00
Joshua T Flowers 8abea5a435 Add asynchronous plugin install and activation endpoints (https://github.com/woocommerce/woocommerce-admin/pull/8079)
* Move plugin installation method to plugin helper

* Add hook to for note addition on install error to JP/WCS note

* Add install scheduler

* Add async request parameter

* Fix up scheduled action errors

* Add route to get installation status

* Add activation endpoints and helper async methods

* Fix errors in plugin activation

* Make job ID null by default

* Add async plugin tests

* Fix install activation error errant method

* Return error codes from API

* Us AS to retrieve jobs instead of transients

* Get plugin status data from AS actions

* Use job ID instead of action ID for scheduling activation

* Add generic activation and installation status endpoints

* Add changelog entry
2022-01-31 09:17:14 -05:00
Fernando 525b8d5ec1 Replace mysql image with mariadb (https://github.com/woocommerce/woocommerce-admin/pull/8220)
* Replace mysql image with mariadb

This fixes the missing architecture error raised by docker compose

* Update readme.txt

* Add changelog

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-27 11:28:56 -03:00
RJ ed27652e35 fix: onboarding wizard checkmarks go missing sometimes (https://github.com/woocommerce/woocommerce-admin/pull/8222)
- checkmarks in the stepper component go missing if the first checkmark is hidden
- happens because of html id collision between the checkmarks
- added some randomness to the mask ids
2022-01-27 19:08:31 +08:00
Joshua T Flowers ace300b4cd Fix setup wizard title and flash of content (https://github.com/woocommerce/woocommerce-admin/pull/8201)
* Fix setup wizard title and flash of content

* Redirect to profiler server-side if landing on the homepage

* Add changelog entry
2022-01-26 15:28:52 -05:00
Chi-Hsuan Huang 8281eac885 Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php (https://github.com/woocommerce/woocommerce-admin/pull/8213)
* Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php

* Add changelog
2022-01-26 22:42:03 +08:00
Chi-Hsuan Huang bfa445f600 Add Spain to Square suggestion country list (https://github.com/woocommerce/woocommerce-admin/pull/8210)
* Add Spain to square_credit_card suggestion country list

* Fix payment-gateway-suggestions.md data source polling url

* Add changelog
2022-01-26 17:37:05 +08:00
Matt Sherman 56a78ab4f9 Bump version to 3.3.0-dev and sync changelog from 3.2.0-beta.1 (https://github.com/woocommerce/woocommerce-admin/pull/8217)
* Bump version to 3.3.0-dev

* Bump WP tested up to

* Update changelog

* Update testing instructions version
2022-01-25 17:55:50 -05:00
louwie17 2e3b9f1e01 Add tasklist_payment_setup track for WooCommerce Payments (https://github.com/woocommerce/woocommerce-admin/pull/8146)
* Add changelog

* Move payment setup even to Action button
2022-01-25 17:47:36 -04:00
Jacob Sewell 917545577f Task List: Personalize your store / Import products - error message is not formatted correctly (https://github.com/woocommerce/woocommerce-admin/pull/8173)
* Use __() to display a generic error message on sample item import rather than passing through the server message because it probably has tags.

* Add changelog for 4314/8173.

* Add support for __unstableHTML option to Snackbar.

* Use __unstableHTML option to display server-side error messages as they come in.

* Update changelog description for 4314/8173.
2022-01-25 13:06:38 -06:00
Ilyas Foo ad5b1bd36c Update changelog (https://github.com/woocommerce/woocommerce-admin/pull/8212) 2022-01-25 17:26:42 +08:00
louwie17 3742be465e Add performance tracks to onboarding flow (https://github.com/woocommerce/woocommerce-admin/pull/8042)
* Add payment_setup track for WooCommerce Payments

* Add timing props to tracks in onboarding when installing extensions

* Update extension key logic

* Add changelog

* Add tests for extension installation data for tracks

* Add util function for plugin slug parsing

* Only install and activate plugins that are not already active
2022-01-24 12:23:12 -04:00
Jacob Sewell 2b1dd08040 Fix/7174 dismiss button alignment (https://github.com/woocommerce/woocommerce-admin/pull/8168)
* Combine all the .woocommerce-task-dashboard__container .woocommerce-task-card rules in one block.

* Move the .woocommerce-task-card__section-controls text-align center rule up in specificity so it overrides the rule in experimental-list.
Do we need the experimental-list package still?

* Changelog for 7174/8168.

* Expand button to container width and center text rather than centering the entire button in the ellipsis menu.

* Move ellipsis menu button style to _global so it applies, um, globally.

* Update changelog description for 7174/8186.

* Move ellipsis-menu popover button style to package from _global.

* Add components package changelog for Dismiss button in Unreleased section.
2022-01-22 11:48:01 -06:00
Jacob Sewell 1e8cdb3543 Reduce padding around plugin list titles for marketing tools page. (https://github.com/woocommerce/woocommerce-admin/pull/8171)
* Reduce padding around plugin list titles for marketing tools page.

* Changelog for 8164/8171.

* Update plugin list title padding

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-01-20 20:50:21 -06:00
RJ 49bf6a5c81 Updated frontend email validation to use @wordpress/url (https://github.com/woocommerce/woocommerce-admin/pull/8197)
* Updated frontend email validation to use @wordpress/url

- added testing for StoreDetails
- changed basic email validation to use @wordpress/url isEmail
2022-01-20 16:40:20 +08:00
Chi-Hsuan Huang ff1e31cfd4 Enhance report chart i18n support (https://github.com/woocommerce/woocommerce-admin/pull/8129)
* Support i18n texts for report chart

* Add changelogs

* Add d3-time-format to date pkg devDependencies

* Fix date php format and add tests

* Add date changelog

* Fix date test

* Escape week of string for php formatter
2022-01-20 08:20:18 +08:00
Chi-Hsuan Huang 19e7345f01 Fix undefined derived_currency value for the track 'wcadmin_storeprofiler_store_details_continue' (https://github.com/woocommerce/woocommerce-admin/pull/8193)
* Fix undefined store_country value for the track wcadmin_storeprofiler_store_details_continue

* Add changelog
2022-01-20 08:19:20 +08:00
Fernando b74600593e Change the reviews empty state panels logic (https://github.com/woocommerce/woocommerce-admin/pull/8147)
* Add unapproved reviews check

* Add tests

* Add changelog

* Create a review e2e test

* Fix lint

* Rename some constants (https://github.com/woocommerce/woocommerce-admin/pull/8178)

* Renamed `countUnapprovedReviews`

* Renamed `lowStockProductsCount`

* Renamed `unreadOrdersCount`

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-19 13:45:17 -03:00
Joshua T Flowers ecd8c34c42 Hide store address fields in regions that specify hidden (https://github.com/woocommerce/woocommerce-admin/pull/8172)
* Hide store address fields in regions that specify hidden

* Add changelog entry
2022-01-19 09:07:43 -05:00
Chi-Hsuan Huang 9cfd69d778 Fix incorrect date options when the "Default Date Range" is set from Analytics settings (https://github.com/woocommerce/woocommerce-admin/pull/8189)
* Add defaultDateRange argument to getAllowedIntervalsForQuery function for default period value

* Fix incorrect date options when the "Default Date Range" is set

* Add changelog
2022-01-19 10:15:33 +08:00
Joshua T Flowers 067c9f763e Fix task ID class check and add tests around tracking (https://github.com/woocommerce/woocommerce-admin/pull/8185)
* Fix task ID class check and add tests around tracking

* Add changelog entry

* Add doc comment for return value of recorded tracks event
2022-01-18 15:29:14 -05:00
Joel Thiessen 96c7eb4e26 Adding tooltip to describe the lack of refund deductions from revenue summaries (https://github.com/woocommerce/woocommerce-admin/pull/8187) 2022-01-18 12:07:32 -08:00
Chi-Hsuan Huang 2ce17ed7c0 Fix incorrect total count of downloads on the analytics download report (https://github.com/woocommerce/woocommerce-admin/pull/8182)
* Fix incorrect total count of downloads on download analytics report

* Add changelog
2022-01-18 19:04:20 +08:00
Chi-Hsuan Huang 18a4a467f8 Fix get_automated_tax_supported_countries doesn't include UK (https://github.com/woocommerce/woocommerce-admin/pull/8180)
* Add GB to automated tax supported countries list

* Add changelog
2022-01-18 18:31:46 +08:00
Chi-Hsuan Huang 3b8c6662e8 Fix incorrectly displayed note created date (https://github.com/woocommerce/woocommerce-admin/pull/8179)
* Fix incorrectly displayed note created date

* Add changelog

* Add package changelog
2022-01-18 18:24:15 +08:00
Chi-Hsuan Huang 08acc3e2f7 Fix incorrect reader text generated for data points on charts table (https://github.com/woocommerce/woocommerce-admin/pull/8181)
* Fix incorrect screen reader text generated for data points on charts table

* Add changelog
2022-01-18 18:10:23 +08:00
Chi-Hsuan Huang 161a9d6feb Fix shipping rate error message overlaps with the 'Proceed' button (https://github.com/woocommerce/woocommerce-admin/pull/8165)
* Fix shipping rate error message overlaps with the 'Proceed' button

* Add changelog
2022-01-17 14:39:02 +08:00
Chi-Hsuan Huang 409f077a83 Fix setup wizard free features checkbox re-check itself (https://github.com/woocommerce/woocommerce-admin/pull/8169)
* Fix setup wizard free features checkbox re-check itself

* Add changelog
2022-01-17 10:03:32 +08:00
Joshua T Flowers 666f740659 Add localized validation to store address (https://github.com/woocommerce/woocommerce-admin/pull/8123)
* Use locale labels for store info

* Get address validation errors based on locale

* Fix validation rules based on locale

* Fix up store address in location task step

* Add changelog entry
2022-01-14 08:39:25 -05:00
Ilyas Foo 352c533ed8 Update changelog and testing instructions with 3.1.0-rc.1 release (https://github.com/woocommerce/woocommerce-admin/pull/8166)
* Update changelogs

* Update testing instructions

* Fix testing instructions

* Fix instructions
2022-01-14 09:53:21 +08:00
Joshua T Flowers 3c20d0f007 Add countries data store (https://github.com/woocommerce/woocommerce-admin/pull/8119)
* Add countries data store

* Add countries state type to reducer

* Add changelog entry
2022-01-13 14:43:56 -05:00
Chi-Hsuan Huang f00e904d13 Fix category report query returns invalid net sales (https://github.com/woocommerce/woocommerce-admin/pull/8153)
* Fix category report query returns invalid net sales

fixes woocommerce/woocommerce-admin#7710
2022-01-13 11:12:16 +08:00
Chi-Hsuan Huang cedb47d2b0 Make activity panel badges margin consistent (https://github.com/woocommerce/woocommerce-admin/pull/8152)
* Make activity panel badges margin consistent

* Add changelog
2022-01-13 09:50:59 +08:00
Joel Thiessen 512a4fac7a Fix marketing task not displaying on Atomic sites. (https://github.com/woocommerce/woocommerce-admin/pull/8150)
* Should accept a boolean value for is_visible property with an extension, and only evaluate a set of rules

* Adding changelog

* Moving fix to RuleEvaluator so it applies to other rulesets
2022-01-13 09:39:22 +08:00
Jacob Sewell bba520b886 OBW: Move newsletter signup checkbox inside the same Card as the rest of the Store Details form inputs. (https://github.com/woocommerce/woocommerce-admin/pull/8148)
* OBW: Move newsletter signup checkbox inside the same Card as the rest of the Store Details form inputs.

* Add changelog entry for 8033/8148.

* Fix changelog format for 8033/8148.
2022-01-12 16:56:19 -06:00
Joshua T Flowers 583590ecf9 Add Magento migration note (https://github.com/woocommerce/woocommerce-admin/pull/8145)
* Add Magento migration note

* Add changelog entry
2022-01-12 15:41:12 -05:00
Joshua T Flowers 287b00d11b Add REST endpoint to retrieve address locales (https://github.com/woocommerce/woocommerce-admin/pull/8116)
* Add REST endpoint to retrieve address locales

* Add changelog entry
2022-01-12 15:40:52 -05:00
Ilyas Foo a0ffceec06 Move WC Pay welcome page from wc-calypso-bridge (https://github.com/woocommerce/woocommerce-admin/pull/8151)
* Move WC Pay welcome page from wc-calypso-bridge (https://github.com/woocommerce/woocommerce-admin/pull/8083)

* Add wc-pay-welcome-screen flags

* Add wc pay welcome page from wc calpyso bridge

* Add changelog

* Rename var to pageViewTimestamp to prevent confusion

* Remove unused code

* Make sure hasViewedWelcomePage is a boolean value

* Simplify storeViewWelcome

* Add payments remind me later note (https://github.com/woocommerce/woocommerce-admin/pull/8085)

* Add payments remind me later note

Fix wcpay path

* Add changelogs

* Update src/Notes/PaymentsRemindMeLater.php

Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>

* Fix possibly_add_note syntax error

Update Events.php

Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>

* Replace flag icon with component and svg background to png (https://github.com/woocommerce/woocommerce-admin/pull/8101)

* Activate promo note after WC Pay is activated (https://github.com/woocommerce/woocommerce-admin/pull/8104)

* Activate promo after wcpay is a\ctivated

* Add changelogs

* Add experimental to promo API path and limit the promo names

* Use ExPlat to render the WC Pay menu conditionally (https://github.com/woocommerce/woocommerce-admin/pull/8115)

* Check ExPlat to render the menu conditionally

* Update the experiment name

* Fix letter case to follow feature class naming convention

* Enable wc-pay-welcome-page feature in core config (https://github.com/woocommerce/woocommerce-admin/pull/8124)

* Use wc_calypso_bridge_payments_dismissed option name to respect the previously saved setting from wp.com

* Missed wc_calypso_bridge_payments_dismissed rename

* Use the existing code to prevent duplication

* Fix warning (https://github.com/woocommerce/woocommerce-admin/pull/8141)

* Change experiment to come after checks (https://github.com/woocommerce/woocommerce-admin/pull/8142)

* Change track path to (https://github.com/woocommerce/woocommerce-admin/pull/8143)

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Replace deprecated wc-admin-settings package

Co-authored-by: Moon <moon.kyong@automattic.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2022-01-12 14:46:33 +08:00
Joel Thiessen 8ab602de9d Adding allowed plugins to composer configuration (https://github.com/woocommerce/woocommerce-admin/pull/8139) 2022-01-11 12:14:28 -08:00
Jeff Stieler 030cea98c8 Improve Customers Sync Performance (https://github.com/woocommerce/woocommerce-admin/pull/8021)
* Avoid unnecessary customer ID retrieval.

* Ignore order count when validating customers.

WC_Customer::get_order_count causes a full table scan without cache.

* Don't get customer names from their last order.

WC_Customer::get_last_order has to scan all _customer_user meta rows.

* Add changelog entry.

* Fix changelog.

* Cache customer ID in Order override classes.

* Check all user roles.
2022-01-10 19:22:09 -05:00
Joshua T Flowers 2dde3f5fa4 Add custom error for store details email and allow continue (https://github.com/woocommerce/woocommerce-admin/pull/8110)
* Add custom error for store details email and allow continue

* Add changelog entry
2022-01-10 14:18:19 -05:00
louwie17 48c2742099 Update changelog with 3.0.3 changes (https://github.com/woocommerce/woocommerce-admin/pull/8130) 2022-01-10 08:22:19 -04:00
Chi-Hsuan Huang b9d788c457 Fix variations table product filter (https://github.com/woocommerce/woocommerce-admin/pull/8120)
* Fix variations table product filter query

* Add changelogs
2022-01-07 12:25:44 +08:00
Chi-Hsuan Huang f47a5c7898 Fix misaligned status column on orders report (https://github.com/woocommerce/woocommerce-admin/pull/8121)
* Fix misaligned status column on order report

Add labelPositionToLeft prop to order-status component

Set labelPositionToLeft=true for <OrderStatus> on orders report table

Remove style import

* Add changelogs

Add changelogs
2022-01-07 11:37:47 +08:00
louwie17 0e3286772e Check if WC Pay is supported before adding gateway (https://github.com/woocommerce/woocommerce-admin/pull/8122)
* Check if WC Pay is supported before adding gateway

* Add changelog
2022-01-06 18:15:08 -04:00
louwie17 26a9089f58 Make use of the woocommerce_allow_marketplace_suggestions filter (https://github.com/woocommerce/woocommerce-admin/pull/8117)
* Make use of the woocommerce_allow_marketplace_suggestions filter in WooCommerce Payment promotion

* Add changelog
2022-01-06 09:00:38 -04:00
louwie17 3998f88597 Remove unpublished wc-admin-settings package and update getSetting usage (https://github.com/woocommerce/woocommerce-admin/pull/8057)
* Remove use of wc-admin-settings from packages

* Move getSetting to getAdminSetting and remove wc-admin-settings package

* Add changelog

* Update package.json and remove last use of wc-admin-settings
2022-01-06 08:53:30 -04:00
Chi-Hsuan Huang 0c028b4a87 Add resolution check to ensure setup-wizard redirection on homescreen is stable (https://github.com/woocommerce/woocommerce-admin/pull/8114)
* Add resolution check to ensure setup-wizard redirection is stable

* Add changelogs
2022-01-06 09:47:09 +08:00
Chi-Hsuan Huang 91fc05dcfe Fix misaligned rows per page dropdown (https://github.com/woocommerce/woocommerce-admin/pull/8113)
* Fix misaligned rows per page dropdown

* Add changelogs

Add changelogs
2022-01-05 18:01:42 +08:00
Chi-Hsuan Huang af99137dff Truncate the site title with an ellipses on the second line (https://github.com/woocommerce/woocommerce-admin/pull/8112)
* Truncate the site title with ellipses on the second line

Fix style

* Add changelogs

* Add title property to nav site title

Update
2022-01-05 13:39:33 +08:00
Ján Mikláš fb9f50a2e5 Add MailPoet to Installed marketing extensions (https://github.com/woocommerce/woocommerce-admin/pull/8091)
* Add MailPoet to Installed marketing extensions

Fixes woocommerce/woocommerce-admin#8088

* Add changelogs
2022-01-04 18:00:22 +08:00
Chi-Hsuan Huang f838727546 Replace all docs.woocommerce.com links with woocommerce.com's (https://github.com/woocommerce/woocommerce-admin/pull/8105)
* Replace all docs.woocommerce.com links with woocommerce.com/documentation
* Add changelogs

Update changelogs

* Update woocommerce-amazon-ebay-integration doc url
2022-01-04 17:03:58 +08:00
Chi-Hsuan Huang 950455827b OBW: Fix free extensions list isn't updated after store location or industry is changed (https://github.com/woocommerce/woocommerce-admin/pull/8099)
* Rename variables and remove unnecessary select calls in selective-extensions-bundle

* Invalidate getFreeExtensions resolution whenever country or industry
changed

* Fix grammar

* Add changelogs
2022-01-04 11:31:58 +08:00
Chi-Hsuan Huang a2f0390ac8 Skip opening the dropdown if the click event is from the error message (https://github.com/woocommerce/woocommerce-admin/pull/8094)
* Skip focusing the dropdown if the click event is from the error message

fix woocommerce/woocommerce-admin#7906

Update conmments

* Add changelogs
2022-01-04 11:00:05 +08:00
Chi-Hsuan Huang 2f290d79a9 Reset "install_timestamp" if it's not numeric to avoid TypeError (https://github.com/woocommerce/woocommerce-admin/pull/8100)
* Reset install_timestamp if it's not numeric to avoid type error

Fix indent

* Add changelogs

* Remove ununnecessary logic
2022-01-03 15:51:51 +08:00
Ilyas Foo aa9f2df07f Sync version and changelogs after 3.1.0 beta (https://github.com/woocommerce/woocommerce-admin/pull/8092)
* Bump version to next dev version

* Update testing instructions

* Update changelogs
2021-12-30 10:35:22 +08:00
Chi-Hsuan Huang 755f99d5a1 Disallow whitespace as a platform name input (https://github.com/woocommerce/woocommerce-admin/pull/8090)
* Disallow whitespace as the platform name input

* Add changelogs
2021-12-30 10:05:12 +08:00
Chi-Hsuan Huang ac78e74ef6 OBW: Hide the extensions header when no available plugins in the category (https://github.com/woocommerce/woocommerce-admin/pull/8089)
* Hide extension list header if no plugins under the category

* Refactor variable naming and add missing hook deps

* Add changelogs

* Add tests for <ExtensionSection />
2021-12-29 16:32:19 +08:00
Moon c84a8f4d40 Add/8073 add action_click event to inbox 2.0 (https://github.com/woocommerce/woocommerce-admin/pull/8086)
* Prevent firing multiple panel view event

* Add inbox_action_click event when a note gets clicked

* Add changelog
2021-12-27 16:38:31 +08:00
Chi-Hsuan Huang 61cdae82c4 Fix unexpected analytics report table filter results (https://github.com/woocommerce/woocommerce-admin/pull/8072)
* Fix unexpected analytics report table filter results

* Add changelogs

Update changelogs
2021-12-23 16:52:39 +08:00
Fernando 566bf788a4 OBW: Update WC Pay label on recommended extensions list (https://github.com/woocommerce/woocommerce-admin/pull/8038)
* Modified WC-Pay label

* Add changelog

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-22 09:22:29 -03:00
Chi-Hsuan Huang a43bcaca0f Remove low performing inbox notes (https://github.com/woocommerce/woocommerce-admin/pull/8054)
* Remove Marketing note

* Remove DrawAttention note

Remove DrawAttention note

* Remove NeedSomeInspiration note

* Remove ChooseNiche note

* Remove StartDropshippingBusiness note

* Remove FilterByProductVariationsInReports note

* Remove LearnMoreAboutVariableProducts note

* Remove GettingStartedInEcommerceWebinar note

* Remove deprecated note tests

* Add changelogs

Update changelogs

* Remove navigation feedback notes (https://github.com/woocommerce/woocommerce-admin/pull/8055)

* Remove navigation feedback note

issue woocommerce/woocommerce-admin#8043

* Add changelogs
2021-12-22 13:11:10 +08:00
Joshua T Flowers 0ef8959a22 Allow content data note props to be passed from remote sources (https://github.com/woocommerce/woocommerce-admin/pull/8047)
* Allow content data note props to be passed from remote sources

* Add changelog entry
2021-12-21 10:52:15 -05:00
Chi-Hsuan Huang a04ac544f8 Fix select-control component label value alignment css style (https://github.com/woocommerce/woocommerce-admin/pull/8045)
* Fix(select-control): fix label value alignment

Add padding to input value to have same algin space with input label.

fixed issue 7786

* Add changelogs

Fix changelog entry

Add changelogs
2021-12-20 17:54:22 +08:00
Joel Thiessen 2579f063d9 Sync up changelogs after 3.0.0-rc.1 release (https://github.com/woocommerce/woocommerce-admin/pull/8032) 2021-12-15 08:54:48 -08:00
Joshua T Flowers 7aeb0a19d2 Migrate header items to slot fills (https://github.com/woocommerce/woocommerce-admin/pull/7805)
* Add SlotFill area to header

* Add activity panel fill

* Move activity panel to root client folder

* Move activity panel registration to its own folder

* Add navigation fill

* Add page title slotfill

* Slot fill the back button

* Move mobile banner to slot fill

* Fix navigation fill on embed pages

* Add changelog entry

* Allow order prop to header item fill

* Split header into before and after

* Fix header title gaps

* Fix nav and mobile app banner placement

* Fix display options import

* Only use last item for page header title fill

* Use function to pass fill props instead of bind

* Rename header slots

* Fix mobile banner dismissal check

* Fix up inbox panel rename

* Update task title in tests

* Fix up task status retrieval
2021-12-14 11:56:42 -05:00
John Regan e31086327b Fix/7660 Remove note->read_meta (https://github.com/woocommerce/woocommerce-admin/pull/7988)
* 7660 Remove note->read_meta

* Fix/7660 Update changelog

* 7660 Remove note->save_meta_data
2021-12-14 09:43:24 -04:00
Joshua T Flowers 602ff9500c Fix shipping task completion status (https://github.com/woocommerce/woocommerce-admin/pull/8031)
* Remove destructured props in favor of explicit props

* Optimistically complete task when rates are updated

* Add changelog entry
2021-12-13 16:13:05 -05:00
Fernando 020ad3a58d Add featured pill for MailPoet and Google Listings in marketing task (https://github.com/woocommerce/woocommerce-admin/pull/8009)
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-10 08:01:13 -05:00
Joel Thiessen 6b687e4196 Sync up changelogs after 3.0.0-beta.2 release (https://github.com/woocommerce/woocommerce-admin/pull/8016) 2021-12-08 08:11:12 -08:00
Adrian Duffell 6c802ff932 Add inbox_note_view Tracks Event (https://github.com/woocommerce/woocommerce-admin/pull/8002) 2021-12-07 09:18:54 +08:00
Mik 3fb028931e Prevent coupon move notice for new installs. (https://github.com/woocommerce/woocommerce-admin/pull/7995)
* Prevent notice if legacy coupon menu is disabled

* Disable legacy menu for new install

* Add changelog entry

* Add PR number to changelog
2021-12-06 15:21:08 +00:00
louwie17 6c2fbce0c0 Remove limit from coupons query when getting the total count (https://github.com/woocommerce/woocommerce-admin/pull/8001)
* Remove limit from coupons query when getting the total count.

* Add changelog
2021-12-04 14:29:12 -04:00