* Add warnings about the incompatibility of the legacy REST API and HPOS:
- A static text in the features settings page, in the HPOS section,
if the legacy REST API is active.
- A dismissable admin notice that is created at install/update time
only if both HPOS and the legacy REST API is active
(it's removed automatically when one of the two ceases to be active)
This covers both the legacy REST API being active in core and the
legacy REST API plugin being installed and active.
* Add changelog file
* - Remove the admin notice (will be added by the Legacy API plugin)
- Add the woocommerce_legacy_api_and_hpos_incompatibility_warning_text filter
* Fix misplaced line feed
* Fix AI generated site titles comparisons
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint errors
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix logo position after saving on the assembler
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint error
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix plugin slug for reporting
* Comment out setting of woocommerce_coming_soon
* Add canvas utility
* Update create-cart-block.spec.js to use canvas instead of page
* Update create-checkout-block.spec.js to use canvas instead of page
* Extract common editor actions into editor utils
* Add changelog
* Update post and page creation tests to use canvas
* Update create-woocommerce-blocks.spec.js to use canvas
* Activate Gutenberg to test changes
* Remove plugins listing from env setup script
* Fix eslint errors
* Remove redundant env setup script call
* Install Gutenberg for test in CI
* Test with Gutenberg
* Remove Gutenberg
* Fix block editor variable product test
* Revert "Fix block editor variable product test"
This reverts commit cd004530a7.
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
* CYS - set flowType when the state machine is instantiated
* remove not necessary code
* Add changefile(s) from automation for the following project(s): woocommerce
* fix action
* improve logic
* Add changefile(s) from automation for the following project(s): woocommerce
* CYS - AI Flow: hide X button on the entrepreneur flow
* CYS - AI flow: keep persisted query param when redirect
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Allow having two different in-app connect messages based on WooCommerce.com Update Manager installation status.
* Revert to older message.
* Update connect message icon.
* Prevent showing the red badge when site is not connected.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* graduate woocommerce_blocks_register_checkout_field
* graduate filters
* Migrate Additional to Order and Other
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
* fix markdown lint
* update tests to use old value
* fix lint issue
* pass field options by reference
* update test helpers
* update tests to use latest api
---------
Co-authored-by: github-actions <github-actions@github.com>
* be less aggressive on selected shipping rate logic
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS - set flowType when the state machine is instantiated
* remove not necessary code
* Add changefile(s) from automation for the following project(s): woocommerce
* fix action
* improve logic
* Add changefile(s) from automation for the following project(s): woocommerce
* CYS - AI Flow: hide X button on the entrepreneur flow
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS - set flowType when the state machine is instantiated
* remove not necessary code
* Add changefile(s) from automation for the following project(s): woocommerce
* fix action
* improve logic
* Add changefile(s) from automation for the following project(s): woocommerce
* remove not necessary guards
---------
Co-authored-by: github-actions <github-actions@github.com>
* copy styles over from 46619
* Fix header padding
* login/out
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
* typo
---------
Co-authored-by: github-actions <github-actions@github.com>
* Change "Origin" column name to "Attribution" in Analytics.
* Rename "Origin" column to "Attribution" in Orders Analytics report download.
* Add changelog.
* Fix UI for add filter popover in Analytics.
* Make character casing consistent for filters.
* Add changelog.
* Add changelog.
* Change filter label to sentence case.
* Skip loading of webhooks if webhooks disabled
* Add changefile(s) from automation for the following project(s): woocommerce
* PHP CS fix.
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
* replace pink with wc purple in reports page
* use wc purple in product rating in the dashboard widget
* Add changefile(s) from automation for the following project(s): woocommerce
* Add changefile(s) from automation for the following project(s): woocommerce
* use better contrast
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Display channel column in Orders Analytics UI.
* Set $data to false to not use cache.
For development purpose.
* Get channel info from order meta and put into extended_info.
* Set channel in order item level.
* Replace channel with get_origin_label in extended_info.
* Remove unnneeded channel in orders_data.
* Display origin instead of channel in table.
* Fix lint errors.
* Query order meta table based on HPOS.
* Remove code for development purpose.
* Add changelog.
* Fix code comment.
* Guard against null values.
`_wc_order_attribution_utm_source` can be null when the order is created via web admin.
* Set default origin label to "Unknown".
This default is the same as found in `output_origin_column` function in plugins/woocommerce/src/Internal/Orders/OrderAttributionController.php.
* Support server side report download.
This is needed when there are more than 25 records in the Orders Analytics report.
* Fix failed test.
* Fix lint error.
* Simplify code.
We loop through $orders_data instead of $order_attributions data. This is because $order_attributions may not have attributions data for some orders.
By looping through $orders_data, it would automatically cater for "Unknown" data from get_origin_label function call, and we don't need to specify "Unknown" as default value for origin.
* Change "channel" to "attribution" object in controller.
This is because we need more than one piece of information, so we need it to be an object with properties like `origin`, `device` etc.
Co-authored-by: Kader Ibrahim S <kader.ibrahim.s@a8c.com>
* Change `origin` string to `attribution` array in Orders DataStore.
Co-authored-by: Kader Ibrahim S <kader.ibrahim.s@a8c.com>
* Change origin string to attribution object.
* Fix indexing after changing from origin string to attribution object.
* Change from origin string to attribution object in table.js.
* Simplify code.
To make code shorter and easier to read, instead of long horizontal code.
* Fix lint errors.
* Fix failed test.
* Fix lint error.
* Fix retrieving origin in CSV export.
* Use $wpdb->postmeta; cosmetic change.
Co-authored-by: Kader Ibrahim S <kader.ibrahim.s@a8c.com>
* Cosmetic change.
Co-authored-by: Kader Ibrahim S <kader.ibrahim.s@a8c.com>
* Sanitize order IDs by using absint.
Co-authored-by: Kader Ibrahim S <kader.ibrahim.s@a8c.com>
---------
Co-authored-by: Kader Ibrahim S <kader.ibrahim.s@a8c.com>
* add a failing test for order totals with HPOS enabled but sync disabled
* fix comment
* ensure the wc/v3/reports/orders/totals endpoint is compatible with HPOS
* add changelog file
* address linter issues
* Add a safety check for the numbers with the same value for the separators
This case breaks the library we are using for number formatting. This is not documented on their end and can't be fixed by passing a different configuration.
We are fixing it on our end by overwriting the thousand separator.
This change will only surface in the checkout blocks, at they are the only blocks doing formatting via React (the products blocks use php).
This will not apply to the order confirmation.
This change is preventing a fatal error thrown by the library and allowing users to see the content of the cart.
It's an edge case, because it happens only why people have the same values for the separators, which is an non-standard way to format.
* Add unit tests and changelog
* Add a safety check for the numbers with the same value for the separators
This case breaks the library we are using for number formatting. This is not documented on their end and can't be fixed by passing a different configuration.
We are fixing it on our end by overwriting the thousand separator.
This change will only surface in the checkout blocks, at they are the only blocks doing formatting via React (the products blocks use php).
This will not apply to the order confirmation.
This change is preventing a fatal error thrown by the library and allowing users to see the content of the cart.
It's an edge case, because it happens only why people have the same values for the separators, which is an non-standard way to format.
* Add unit tests and changelog
* Improve tests
* "Improve tests"
* Add flaky test reporter for flaky e2e test reporter
* Add to stalebot workflow instead
* Update stale action to 9 for node 20
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
* Updated deprecated gh-script action to node 20 variant
* Minor change in e2e test to trigger CI
* Revert e2e test change
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
* Remove empty "Unknown" handling.
This is because `get_origin_label` would return "Unknown" by default, and therefore empty($origin) would not be true.
If someone use a wc_order_attribution_origin_formatted_source filter to return '' as the formatted source, we should respect it anyway and we should not override it with "Unknown".
* Add changelog.
* add a woo.com connect notice in the plugin list for unconnected store
* add an extra notice string for store that runs outdated woo plugins
* add connect page hyoerlink to the plugin notice
* add changelog
* add comment for maybe_show_connect_notice_in_plugin_list()
* fix linter error
* use installed local woo plugin as the counter of extra notices
* only show woo connect notice in the woocommerce settings page
* add woocom connect notice component
* add woocom connect notice component to the content component
* add extra notice in the woocom connect notice component based on the local woo plugins count
* persist dismissal of woo connect notice in the wc admin settings page
* update changelog
* use update-check-public for unconnected stores
* use information from update-check-public API to determine notice show logic
* re-show dismissed connect woocom notice after 1 month
* add re-show notice logic for react admin page of woo connect notice
* fix identation
* differentiate local storage key for notice dismissal
* move woo connect notice script to different file
* rename to connectnotice
* fix linter issue
* fix linter issue
* update woo.com to woocommerce.com
* update woo.com to woocommerce.com in comment
* capitalize the WooCommerce.com
Co-authored-by: Leif Singer <leif@automattic.com>
* capitalize WooCommerce.com
---------
Co-authored-by: Leif Singer <leif@automattic.com>
* Added new OrderSummaryTotals Block
* Refactor order summary and totals block to contain the inner children
* Add migration for Order Summary Block
* Migration to handle older order summary without totals block
* Remove empty lines from order summary migration
* block editor migration for order summary
* Fix isEligible function
* Update Totals title
* Add checkout totals
* Remove echos and dies
* replace individual checkout blocks with totals block
* Change parent of totals inner blocks and add totals block to innerBlockAreas map
* change CART_ORDER_SUMMARY_TOTALS to CHECKOUT_ORDER_SUMMARY_TOTALS
* Fix linting issues
* fix lint warnings
* Add changelog
* Lock movement of the taxes block in attributes.tsx
* Less indentation in the render function of CartOrderSummaryBlock and CheckoutOrderSummaryBlock
* Rename webpack chunkName for order summary totals
* Add coming_soon page as a store page
* Implement coming soon banner dismiss
* Added a new REST for Launch Your Store with a dismiss endpoint
* Updated coming soon banner logic to check for woocommerce_coming_soon_banner_dismissed
* Lint fixes
* Add changefile(s) from automation for the following project(s): woocommerce
* Update plugins/woocommerce/src/Admin/API/LaunchYourStore.php
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Update plugins/woocommerce/src/Admin/API/LaunchYourStore.php
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Update plugins/woocommerce/src/Admin/API/LaunchYourStore.php
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Use user meta to save woocommerce_coming_soon_banner_dismissed
* Lint fixes
* Use the built-in rest api to manage woocommerce_coming_soon_banner_dismissed user meta
* Reset woocommerce_coming_soon_banner_dismissed on login
* Fix lint issues and add back wp_login hook to reset banner dismiss user meta
* Use constant for user meta field
* Update woocommerce_coming_soon_banner_dismissed user meta when X button is clicked
* Restrict user meta to shop manager or admin
* Fix lint issue
* Fix lint issue
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Set access modifier for $error_message to public and added a setter method.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Can only be inserted once test excludes the mini-cart template button
* Use function for testing disabled state
* Account for blocks advertise and change selector
* remove skipped tests
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
* Render site visibility only when launch-your-store feature flag is on
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* fix: cookie path in private link sharing
The commit includes a fix for the LYS private link woo-share cookie entry. The path for setting the cookie has been corrected to ensure proper functionality. T
* lint
* Update coming soon page link to template editor
* Add changelog
* Hide coming soon link when current theme is classic theme
* Remove line change
* Add type
* Only query order meta for orders that were successfully retrieved from the DB.
* Add changefile(s) from automation for the following project(s): woocommerce
* Address linting issue
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
* CYS - fix use GPT 3.5 model
* Add changefile(s) from automation for the following project(s): woocommerce
* use constant
---------
Co-authored-by: github-actions <github-actions@github.com>
* Verify Order is valid before returning it from the OrderFactory
* Add tests to validate fix when using serializing object cache implementation
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Nestor Soriano <konamiman@konamiman.com>
* Update wc-cart-functions.php
Unused local variable 'discount_amount_html'. The value of the variable is overwritten immediately.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* woo plugins use public endpoint for unconnected stores, show message to connect to woo.com as well
* add changelog
* fix lint error
* fix lint error
* fix lint error
* fix lint error
* move is site connected check outside the loop
* add condition to show the notice when site is connected and plugin is active
* update domain to woocommerce.com
* Fix fatal error with non-fse theme
* Update conditional inclusion of header and footer templates in coming-soon-store-only.php
* Update conditional inclusion of header and footer templates in ComingSoonRequestHandler.php
* Remove add_theme_support( block-template-parts );
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Move daily site check workflow to deprecated
* Add install-plugin script
* Install plugins script
* Fix the script path, it was moved.
* Set env on job level
* Update working-directory
* Add changelog
* Use the right WC_SUBSCRIPTIONS_REPO variable
* Add a test channel id
* Update smoke-test-daily.yml
* Remove WC Subscriptions
* Update smoke-test-daily.yml
* Switch back the channel ID and remove pull_request trigger
* Move deprecated workflows to deprecated folder
* Configure new test job for metrics
* Add changelog
* Update start command
* Update start command
* Archive metrics results
* Fix script path
* Fix name in archive results condition
* Add the actual run command for pull_request event
* Run with pnpm --filter
* Test run for push event
* Revert test conditions
* Add WP_ARTIFACTS_PATH env variable
* Update path to readme.txt
* Revert github event conditions
* Add CODEVITALS_PROJECT_TOKEN env
* Set WP_ARTIFACTS_PATH on job level
* Add blocks templates in the changes list
* Use editedRecord instead of record
* Always use productTemplateId when available
* Change private methods to protected in ProductVariationTemplate
* Use editedRecord in hook useEntityRecord
* Update changelogs
* Restore attribute renamed by mistake
* Change useProductTemplate unit test
* Add clause to query in `CustomMetaDataStore::get_meta_keys` to exclude metas where the key is ''.
* Addressing linter error. Removed unnecessary prepare.
* Split taxonomies filter into seperate filter per taxonomy
* Add changelog
* Improve onDeselect function
* Update tests
* Fix lint
* Satisfy TS by returning single React element rather than array of elements
* Remove unused variable
* Make LYS preview frame resizable
* Add changelog
* Refactor site-preview.scss: Remove components-resizable-box__container styles
* Set z-index to 2 to preview container to fix resizing handler on max size
* Make room for the handle on the left side
* Update social link urls
* Align wide
* hide banner on Coming soon page
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add selectable attribute in product template to allow creation of product templates that do not appear on the "Change product type" UI
* Always use productTemplateId when available, otherwise fallback to standard-product-template
* Rename attribute
* Use editedRecord in hook useEntityRecord
* Revert "Always use productTemplateId when available, otherwise fallback to standard-product-template"
This reverts commit 2960fcd520.
* Revert "Use editedRecord in hook useEntityRecord"
This reverts commit c28e005e7b.
* Add changelogs
* Fix unit tests
* Increment changelog
* Bump eslint-import-resolver-typescript from 3.2.4 to 3.6.1
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
* Bump dataloader from 2.1.0 to 2.2.2
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add translation context to ambiguous words
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix Launch Your Store task item should not be clickable once completed
* Add changefile(s) from automation for the following project(s): @woocommerce/experimental, woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS - E2E test: not use snapshot approach for color picker E2E tests
* Add changefile(s) from automation for the following project(s): woocommerce
* remove comment
* CYS - E2E tests: add create your own section E2E tests
* Add changefile(s) from automation for the following project(s): woocommerce
* trigger CI
---------
Co-authored-by: github-actions <github-actions@github.com>
* add regression tests
* Refactor to using single meta key per field
* Add changefile(s) from automation for the following project(s): woocommerce
* refactor rest of code
* keep set_array_meta same
* use correct function in condition
* fix spacing
* add docs
* fix markdown issues
* handle false bool meta
* adjust admin keys
* fix merchant tests
* handle checkboxes in checkout response
* address feedback
* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* update ledt places and reduce abstractions
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update Action Scheduler to 3.7.4
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Hide coming soon banner from preview frame
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Update background color and padding in WooCommerce LYS status popover
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Ensures data is added to the registry just once.
* ditch unnecessary param.
* Deprecate the param for AssetDataRegistry
* Remove the param for additional calls to AssetDataRegistry::add()
* Remove the param for additional call to AssetDataRegistry::add() on WCAdminSharedSettings
* Trigger a PHP warning instead of throwing a fatal whenever the key being registered is not a string and whenever attempting to override existing data.
* Add changefile(s) from automation for the following project(s): woocommerce
* Replace trigger_error with error_log to clear out lint errors.
* Address lint for trigger_error
* Update the test_already_existing_key_on_adding_data test to expect a warning instead of an exception
* Update tests
* Update method from add_data to add.
* Remove the throw InvalidArgumentException for the add and add_data methods.
* Remove the now unnecessary test_already_existing_key_on_adding_data test, considering we now return early whenever the key is duplicated, the code never reaches this stage via AssetDataRegistry:add
* Move the call to the exists method to within the add_data method.
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS - E2E test: not use snapshot approach for color picker E2E tests
* Add changefile(s) from automation for the following project(s): woocommerce
* remove comment
---------
Co-authored-by: github-actions <github-actions@github.com>
* Update checks for sale price
* Update checks for product images
* Update checks for linked products
* Update default theme for e2e environment to twentytwentythree
* Fix basic spec
* Fix locator product block editor test
* Make cart.spec.js theme agnostic
* Updated mini-cart.spec.js
* Updated cart-checkout-block-calculate-tax.spec.js
* Updated cart-block.spec.js
* Fix cart-block.spec.js
* Update account-email-receiving.spec.js
* CYS - E2E tests: fix flaky assembler-hub test
* Use a value for pr_number
* Update condition for the Slack alert job
* Remove pr_number argument
* Add changefile(s) from automation for the following project(s): woocommerce
* Update conditions for the publish reports jobs
* Rename jobs
* Send GITHUB_SHA to report
* Check for skipped status
* Include Slack notification step in the reporting job
* Rename jobs
* Test update to trigger api tests
* Revert test change for api tests
* fix flakiness
* Test change to trigger all tests
* Test slack alert condition
* add waitUntil
* Force a test failure
* Revert all test changes
* improve logic
* fix build error
* try now
* Update product-inventory-block-editor.spec.js
* fix unit test
* fix flakiness
* Update checkout-block.spec.js
* Update checkout-block.spec.js
* Add utils/order
* Remove the check for more items than the coupon max amount as it fails with block themes
* Update create-simple-product-block-editor.spec.js
* Update cart-checkout-calculate-tax.spec.js
* Update checkout-block.spec.js
* Update create-simple-product-block-editor.spec.js
* Update wordpress-post.spec.js
* Update my-account-addresses.spec.js
* Update my-account-create-account.spec.js
* Update my-account-downloads.spec.js
* Update my-account-pay-order.spec.js
* Update my-account.spec.js
* Update order-email-receiving.spec.js
* Update product-grouped.spec.js
* Update product-simple.spec.js
* Update product-tags-attributes.spec.js
* Update product-variable.spec.js
* Update shop-search-browse-sort.spec.js
* Update checkout.spec.js
* Update checkout-login.spec.js
* Update checkout-create-account.spec.js
* Update wordpress-post.spec.js
* Update cart-checkout-calculate-tax.spec.js
* Update wordpress-post.spec.js
* Update mini-cart.spec.js
* Remove logging of order id
* Remove the log-out action as it invalidates the customer state and breaks other tests
* Use disableWelcomeModal
* CYS - E2E tests: add homepage picker E2E tests
* update snapshots
* add snapshots
* use screenshot tests+
* use snapshot
* try now
* update snapshot
* remove wp-container snapshot
* remove only
* add comment
* add snapshot
* enable color picker tests
* revert to twentytwentythree
* restore changes related to the color picker
* use default theme
---------
Co-authored-by: Adrian Moldovan <adim.moldovan@gmail.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
* CYS - E2E tests: add font picker E2E tests
* Add changefile(s) from automation for the following project(s): woocommerce
* reset to the default theme
---------
Co-authored-by: github-actions <github-actions@github.com>
* Tour component initial design
* Add woocommerce_lys_tour_dismissed option on 8.7.0 update
* Use woocommerce_lys_tour_dismissed to render the tour
* Rename option
* Add useSiteVisibilityTour
* Remove unused tourDismissed var
* Remove unused import
* Add changefile(s) from automation for the following project(s): woocommerce
* Use ' not `
* Lint fixes
* Update plugins/woocommerce-admin/client/launch-your-store/tour/index.tsx
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Add discover more link
* woocommerce_launch_your_store_tour_hidden should be added < 8.9
* Adjust padding bottom for the footer
* Use user meta to manage woocommerce_launch_your_store_tour_hidden
* Adjust tour padding
* Fix global types
* Exclude the tour on new sites
* Fix missing doc comment
* Update tour descriptions
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Previously, the code assumed that all memory_limit values used the "M"
suffix (for megabytes); values using "G" (for gigabytes), "K" (for
kilobytes), or no suffix (for bytes) were all parsed incorrectly. Now,
all possible values should be handled correctly.
This bug has actually been fixed twice before in other locations:
Commit 538403306c (#30908)
Commit 4557108805 (#21557)
* Changing shopper feedback on payment response issues
* Add changefile(s) from automation for the following project(s): woocommerce
* Disambiguated error log
* Prevent unexpected error response from outputting technical data to the user. Instead display an helpful message to prevent retries.
* Fix PHP linting.
* Changed error message and added translators comment
* Safeguarding against wc_checkout_params.i18n_checkout_error definition
* Added null check
* Add deselect callabck to attribute filter
* Add deselect callabck to created filter
* Add deselect callabck to featured filter
* Add deselect callabck to handpicked filter
* Cleanup deselect callabck to keyword filter
* Add deselect callabck to on salefilter
* Add deselect callabck to order by option
* Add deselect callabck to stock status filter
* Add deselect callabck to price range filter
* Add deselect callabck to price taxonomies filter
* Call all the reset filer callbacks on reset
* Add changelog
* Remove unused variable
* Replace hardcoded default filter values with the DEFAULT_FILTERS constant
* Copy change for coming soon setting
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add 'woocommerce_coming_soon_page_id' option to API options
* Add useComingSoonEditorLink hook to handle the coming soon editor link
* Add useComingSoonEditorLink hook and update styles
* Add changelog
* Move use-launch-your-store.js to ./hooks and update import path
* Add live-branches/install.php to API
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
---------
Co-authored-by: github-actions <github-actions@github.com>
* Track site visibility actions
* Move private link text box to prevent accidental toggle
* Add changefile(s) from automation for the following project(s): woocommerce
* Restirct site visibility settings to general tab
* Remove unnecessary site visibility render logic
* Lint fix
---------
Co-authored-by: github-actions <github-actions@github.com>
* Move site visibility settings to a new tab
* Add changefile(s) from automation for the following project(s): woocommerce
* Update tab id to site-visibility and link to it from the homescreen badge
* Fix tests
* Remove unused code
* Lower case tab title
* Remove general from the slotfill id
* Remove typo
* Lint fix
* Lint fix
---------
Co-authored-by: github-actions <github-actions@github.com>
* fix the CI unit test path for legacy unit tests
* update the pattern in all the relevant CI jobs
* add the tests/unit-tests folder as well
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
* Fix tests currently failing against HPOS environment setup
* Add changefile(s) from automation for the following project(s): woocommerce
* fix lint warning for print_r usage
---------
Co-authored-by: github-actions <github-actions@github.com>
* bump husky, remove remnants from blocks
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* add @playwright/test to syncpack
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* update pnpm-lock.yaml
* add github-label-sync to syncpack
* add stylelint to syncpack
* add classnames to syncpack
* manually sync wp-prettier
* sync sass-loader version
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
* When order is out of sync, suggest a fix
* Allow cleanup tool to remove data for placeholders even if order can’t be loaded from HPOS
* Prevent infinite loops in cleanup tool
* Add changelog
* Fix PHPCS violations
* Improve error messages
* Fix syntax error
* Minor fix
* CYS - color picker: fix CSS
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Stop relying on snapshot for footer and header tests
* Remove only
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: add debounce to improve performance
* Fix button colors
* Format
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>