Commit Graph

53739 Commits

Author SHA1 Message Date
Nathan Silveira 8edcb06348
Add block documentation to woocommerce/product-checkbox-field (#40277)
* Rename block description

* Add documentation for product checkbox field

* Add changelog

* Improve README

* Add description to block's attributes

* Replace example

* Add markdown table with documentation

* Move image to developer.woocommerce.com

* Iterate documentation

* Address lints
2023-09-27 15:07:52 -03:00
louwie17 88ead8f672
Add E2E test to check if all blocks render correctly in product editor (#40358)
* Add E2E test to check if all blocks render correctly in product editor

* Add changelog

* Fix matcher for warning
2023-09-27 13:03:13 -03:00
Maikel David Pérez Gómez e6df583c65
Add a visibility toggle to the Quick actions list (#40464)
* Create toggle-visibility-menu-item component

* Add toggle-visibility-menu-item to variation-actions-menu

* Add toggle-visibility-menu-item to variations-actions-menu

* Add changelog file
2023-09-27 11:19:49 -04:00
Jonathan Lane 5b06aace54
Allow e2e tests to use dotfiles for configuration (#40361)
* Allow e2e tests to use dotfiles for configuration

* Fix lint errors

* Fix lint errors

* Linter strikes again

* Again

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-09-27 07:35:06 -07:00
Jonathan Lane 2c0a060cd2
Update Playwright to 1.38 (#40418)
* Update Playwright from 1.37.1 to 1.38.0

* Add changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-09-27 07:34:33 -07:00
Maikel David Pérez Gómez 6728e73505
Fix the visibility icon (#40419)
* Remove help icon on top of the hidden icon

* Remove help icon on top of the non filterable icon

* Add changelog file
2023-09-27 10:00:10 -04:00
RJ 858fdecc52
fix: cys site assembler color palette persistence bug (#40396)
Fix the bug where sometimes switching from user defined color palettes to a pre-defined color palette won't set some colors.
2023-09-27 16:27:04 +08:00
Corey McKrill c752c60fd4
HPOS: Add background sync (#39952)
* HPOS: Add a recurring event to check for unsynced orders

Adds an event that will get scheduled when HPOS data sync gets enabled.
The event will run every 6 hours and check for unsynced orders. If it
finds any, it will queue up the  data syncing batch processor.

Fixes #39626

* Add button to sync orders immediately

* Add changefile(s) from automation for the following project(s): woocommerce

* Wrap AS function calls to avoid errors in unit tests

* Use WC_Queue methods instead of AS functions

* Add a filter to customize the sync check time interval

* Ensure retrieved pending sync count is not a cached value

* Change sync button style to link

* Formatting fixes

* Fix unit test

* Add BatchProcessingController dependency to DataSynchronizer

* Add background sync functionality to DataSynchronizer

* Tweaks to watchdog scheduling in batch processor

* Adds a filter to modify the amount of time the watchdog schedule
  gets delayed when calling the scheduler using `$with_delay`
* Adds a check to ensure the scheduler doesn't overwrite an existing
  scheduled event. This is because the scheduler was getting called
  multiple times in a request, first without `$with_delay` (so the event
  would run right away) and then again with `$with_delay`, so that the
  event would then be delayed by an hour. The result was that the event
  was always scheduled for an hour later, even when we want it to run
  right away.

* Improve query arg for running sync via UI

* Remove sync check from COTController, add message about background sync

* Abstract the removal of background sync events

* Remove accidental test code

* Add changefile(s) from automation for the following project(s): woocommerce

* Ensure bg sync event is not scheduled when in continuous mode

* Add missing @since comments on new filter hooks

* Add caching to check for scheduled bg sync events

* Use constants for bg sync modes

* Add unit tests

* Switch from init hook to shutdown

* Switch bg sync settings from filters to options

* Update unit tests

* phpcs fix

* Tweak "Background sync is enabled" message

Only show this if it is enabled while real-time sync is disabled.
Otherwise the message could be confusing to users who just check the
"Compatibility mode" box, since background sync doesn't have any UI.

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-27 10:14:23 +02:00
Paul Sealock 7b9abcc79a
TreeSelectControl: Handle ROOT selection with individuallySelectParent (#40422)
* Handle selecting ROOT and includeParent

* changelog
2023-09-27 16:14:13 +13:00
Christopher Allford b6674ef0c1
Fixed PR Changelog Generation Workflow (#40410)
This adds support for using double-quotes in the
description of the PR.
2023-09-26 14:26:12 -07:00
Barry Hughes 67dadbb249
Fix Code Sniff Action Change Detection (#40438) 2023-09-26 13:02:11 -07:00
Fernando Marichal 5fa98ace1a
Fix attribute list styles (#40378)
* Fix attribute list style

* Add changelog

* Move changelog

* Fix attributes style
2023-09-26 15:08:57 -04:00
Christopher Allford c7bc017faa Test No Change 2023-09-26 11:50:51 -07:00
Christopher Allford 47a5a24888 Test Unrelated 2023-09-26 11:47:15 -07:00
Christopher Allford 7ff030c2e7 Test Error 2023-09-26 11:41:10 -07:00
Christopher Allford 7de08e1751 Fixed PHPCS Base Comparison 2023-09-26 11:40:38 -07:00
jonathansadowski 58740c8ac7
Update stable tag to 8.1.1 (#40442)
woorelease: Update stable tag to 8.1.1
2023-09-26 12:53:16 -05:00
Fernando Marichal a2efd31b6f
Open variation preview in a new tab (#40414)
* Open variation preview in new tab

* Add changelog

* Move changelog

* Add noreferrer
2023-09-26 12:17:21 -04:00
Chi-Hsuan Huang 94660e0476
[Customize Your Store] Fix AI selected verticals not display (#40372)
* Handle store patterns update API request properly

* Full redirect to Assembler hub after ai loading

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 20:34:47 +08:00
Christopher Allford cd8398bce9
Revert "Fix Code Sniff Action Change Detection" (#40429)
Revert "Fix Code Sniff Action Change Detection (#40400)"

This reverts commit 9de59bf01f.
2023-09-26 00:58:31 -07:00
RJ bf80b7a534
add: use ai suggestions to populate color schemes in assembler hub (#40377) 2023-09-26 11:32:14 +08:00
Maikel David Pérez Gómez cf58e827b0
Add missing help texts to sections in the Variations tab (#40415)
* Add description to Variation options and Variations sections

* Add changelog file
2023-09-25 21:40:40 -04:00
Veljko V f9e05f620f
Add new E2E tests to cover Shopper Mini Cart (#40380)
* Add new E2E tests to cover Shopper Mini Cart

* Update test not to look for tax label and to check for 2 quantity price
2023-09-25 15:29:45 -07:00
Christopher Allford 9de59bf01f
Fix Code Sniff Action Change Detection (#40400)
* Adjusted PHPCS Workflow Change Detection

This _should_ hopefully fix the broken detection of
changed files for running the code sniffs.

* Change Test

* Core Change

* Removed Sniff Test
2023-09-25 13:25:44 -07:00
louwie17 48834f88be
Add global attribute terms filtering (#40253)
* Deprecate local_attributes and add attributes filter to variation endpoint

* Add test for variations attributes filter

* Add changelog
2023-09-25 16:10:38 -03:00
github-actions[bot] 1ca1536b31
Delete changelog files based on PR 40334 (#40413)
Delete changelog files for 40334

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-25 13:57:47 -05:00
github-actions[bot] d5fcd214c4
Delete changelog files based on PR 40282 (#40408)
Delete changelog files for 40282

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-25 11:36:12 -07:00
github-actions[bot] d1edec6331
Delete changelog files based on PR 40355 (#40406)
Delete changelog files for 40355

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-25 13:26:17 -05:00
github-actions[bot] 15c9415ace
Delete changelog files based on PR 40367 (#40404)
Delete changelog files for 40367

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-25 13:20:17 -05:00
github-actions[bot] 21dd36047a
Delete changelog files based on PR 40356 (#40402)
Delete changelog files for 40356

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-25 13:11:41 -05:00
Alejandro López Ariza cbe0db4d0f
Add new guide to decide if a PR is high impact. (#40390)
* Add new guide to decide if a PR is high impact.

* Fix markdown errors.
2023-09-25 10:46:37 -07:00
Ron Rennick 402d489999
add enhancement exclusion to stalebot config (#40391)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-09-25 15:39:27 +02:00
Yordan Soares b2bbe5e56a
Escape the default "Thank you" text instead of the filtered message (#40353)
* Escape the default "Thank you" text instead of the filtered message

Closes: #40329 and #40352

* Update plugins/woocommerce/templates/checkout/order-received.php

Co-authored-by: Leif Singer <github.2017@singer.sh>

* Bump template version to 8.3.0

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: Leif Singer <github.2017@singer.sh>
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 14:41:45 +02:00
Ilyas Foo 0b2ad50a21
CYS: Add homepage template AI completion and revamped header footer (#40363)
* Moved homepage templates, added header and footer to homepage templates,  revamped templates to use metadata.

removed header and footer completion calls

* Lint

* Slight adjustment to completion prompt and changelog

* Lint

* Use header and footer in 'Change your homepage'

* Add test

* Lint

* Add back homepage templates exclusion header and footer for assembler use

* Add test for useHomeTemplates

* Lint
2023-09-25 18:30:31 +08:00
Dan Q 8685fd211e
Rather than adding border, add color to border of search box (#40242) 2023-09-25 10:35:38 +01:00
Dan Q f0296485c3
Inconsequential change to trigger hooks again 2023-09-25 10:00:18 +01:00
github-actions 547ad79a5a Add changefile(s) from automation for the following project(s): woocommerce 2023-09-25 08:34:22 +00:00
Dan Q af10078e04
Inconsequential change to trigger hooks 2023-09-25 09:30:12 +01:00
Kader Ibrahim S cdded7d426
Updates the marketing knowledgebase posts endpoint (#40090) 2023-09-25 11:07:55 +05:30
Veljko V 55c1bec490
Add new E2E tests to cover Shopper > Shop milestone (#40244)
* Add test to cover shopper tags and attributes

* Add new scenarios to complete a milestone

* Update comment in the code
2023-09-22 14:16:35 -07:00
And Finally be6982432e
Marketplace: Reset search input when tab changes (#40160) 2023-09-22 16:55:16 +01:00
github-actions b45119b6a7 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-22 16:16:04 +01:00
raicem 15257f8761 Markatplace: Reset search input when tab changes
When tab is changed, `@woocommerce/navigation` package resets
the `term` query parameter. So `query.term` becomes undefined.

Adding the else block allows us to catch that case and then
we can reset the search input.
2023-09-22 16:16:04 +01:00
louwie17 247b8990d2
Add default price support to product variations (#40343)
* Optimize crud totalCount queries to avoid two requests

* Make use of same request params for totalCount as getVariations

* Add support for default_values when generating product variations

* Add test for default_values

* Add changelogs

* Only use default values of first variation

* Address some PR feedback

* Update types
2023-09-22 11:39:35 -03:00
Vedanshu Jain 94069bb4ff
Use correct feature name for back compat. (#40367) 2023-09-22 16:04:52 +02:00
RJ f29f519526
add: save cys ai input and response to options (#40330)
* add: save cys ai input and response to options

* fix type error
2023-09-22 20:43:42 +08:00
Vedanshu Jain 687495a878
Add unit test around number of times order save is being called. (#40241) 2023-09-22 13:55:39 +02:00
Vedanshu Jain 9659fd3e20
Address conflict between HPOS & WP edit lock (#40355) 2023-09-22 16:08:52 +05:30
Vlad Olaru ffcbc8e200
Remove Incentive dismiss survey modal custom button styling and defer to core styling (#40334) 2023-09-22 11:28:28 +03:00
Vedanshu Jain b97eb19314
save hpos order data before clearing the order from cache (#40282) 2023-09-22 12:29:21 +05:30