* Update PULL_REQUEST_TEMPLATE.md to include a checklist item for adding/updating tests
Added a new checklist item to the pull request template for contributors to confirm they have added or updated relevant tests (E2E, Unit, Integration, etc.) to ensure their fix or feature works as intended. This helps maintain the quality and reliability of the codebase by encouraging thorough testing.
* Update workflow to request reviewers to check test coverage along with testing instructions
Modified the review-testing-instructions workflow to enhance the review process by asking reviewers to not only review the testing instructions but also verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed. This change ensures a more thorough review process and helps maintain high code quality.
* Update action name
* Remove changes from Template
* Bring back Product Filters pattern
* Add changelog
* Fix lint
* Move docblock to the top
---------
Co-authored-by: Vladimir Reznichenko <kalessil@gmail.com>
* CYS: Track move up/move down pattern
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: fix arrow welcome tour
* Add changefile(s) from automation for the following project(s): woocommerce
* use hex color
* format file
---------
Co-authored-by: github-actions <github-actions@github.com>
* Prepare for WP 6.6 by updated tested / required versions.
* Add changefile(s) from automation for the following project(s): woocommerce
* Prepare for WP 6.6 by updated tested / required versions.
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix regression of #48180
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Fix one more bug in the dropdown styling (#49585)
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
* Hide help text in create-taxonomy-modal
* Expose onKeyDown and onBlur events in SelectedItems
* Increment isEventOutside function to consider remove button tags as well
* Add label to remove all button
* Handle navigation between added items and input using tab and arrow keys
* Add changelogs
* Prevent unwanted scroll
* Revert change in product editor and fix issue in component itself
* Change onKeyDown and onBlur to optional
* Move tags navigation to selectedItems and create lastRemoveButtonRef to avoid long CSS query
* Small refactor
* use useImperativeHandle hook in SelectedItems to abstract focusing on last remove button
* Add reminder comment about the stability of the woo pattern domain
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add tool to force the coming soon landing pages to display on the front-end
* Add changelog
* Revert line change
* Add doc comments and remove unnecessary check
* Invalidate caches
* Fix tools invalid json errors
* Set default value
* Call wc_beta_tester_override_coming_soon_options out of init
* Hide username checkbox if using block checkout
* Hide correct field and fix render if first field is hidden
* Changelog
* Use array filter to prevent empty array item lingering
* Add tracking for patterns
* Fix type
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint error
* Add missing import
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: not enable PTK features on WordPress 6.5
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: Improve order patterns
* Add changefile(s) from automation for the following project(s): woocommerce
* fix order
* improve documentation
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: Enable PTK feature flag
* Add changefile(s) from automation for the following project(s): woocommerce
* Add changefile(s) from automation for the following project(s): woocommerce
* enable CYS on dev env
* skip homepage test
---------
Co-authored-by: github-actions <github-actions@github.com>
* Disable the Full Composability for CYS AI flows
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Remove the block hooks feature gate by getting and setting a the wc_hooked_blocks_version option and assigning versions to each hooked block
* Update apply_filters comment
* Add action for users switching themes that don't have an option set
* Update condition for current_theme_supports usage
* Update comment
* Unit tests
* Change unit test file name
* Update hooks for option update
* Changelog
* Add database tests for wc_hooked_blocks_version actions
* Update option name from wc_hooked_blocks_version to woocommerce_hooked_blocks_version
* Update option name in function comments
* Fix linting
* Update comment typo
* Add strict types to new files
* Update tests
* Move unit tests for block hooks
* Set option to "no" for sites that dont have an approved block theme
* Return early if WC option already exists
* Reorder conditions for performance reasons
* Change incorrect to lower
* Fix typo
* Remove unncessary false check and add additional unit tests
* Update comment
* Hide variation related notices when product type is not variable
* Revert "Hide variation related notices when product type is not variable"
This reverts commit 66a67b6ada.
* Hide variation related notices when product type is not variable
* Put product filters overlay template part behind feature flag
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add validation message and fix rendering when account is required
* Adjust validation so we can change the label in messages with custom callback
* Add and style password meter
* Add validation feedback and zxcvbn support
* changelog
* Accessibility fixes
* Update lock file
* Fix initial state in safari
* Announce strength as you type
* Use React.ReactElement
* update lock file
* Update lock
* Downgrade local pnpm and recreate lock
* Feedback should only be shown when `showError` is true, not `hasError`
* Feedback should default to null
* Add margin to the reminder bar close button
* Add changelog
* Add left and right padding to the reminder bar instead of margin-right to close button
---------
Co-authored-by: Cvetan Cvetanov <cvetan.cvetanov@automattic.com>
* CYS: fix filename
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add site title to account checkbox
* Add customer_password support to Store API
* Hide password nag if defining own password
* Add woocommerce_registration_generate_password option to block assets
* Change login prompt to just "log in"
* Add default styling to password inputs
* Reset line height for checkbox inputs
* Add customer password to store
* Add password field to contact information block
* Handle customer password in checkout processor
* Styling for new elements
* Update tests so they match new create account label
* Update log in link in tests
* Add e2e tests for password field
* Add validation message and fix rendering when account is required
* Changelog
* Add missing api to tests
* Remove console log
* rerender checkout
* Update log in link in test
* Adjust validation so we can change the label in messages with custom callback
* Use queryByText in test
* Make sure password generation is on in tests
* Create password if provided password is empty
* Skip "Place order" button translation test
* Revert "Skip "Place order" button translation test"
This reverts commit 7aed6137e88cdb3577f74f6f0c05258b531ed534.
* Update plugins/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-contact-information-block/block.tsx
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update plugins/woocommerce-blocks/assets/js/data/checkout/reducers.ts
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Comment empty condition
* Update CSS classnames
* Return null in CreateAccountUI if nothing to display
* Linting: Return return param
* Document $password param
---------
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Better docs and minor refactoring for the EvaluationLogger
* Add support for logger args to EvaluateSuggestion methods
* Provide evaluation logger args to EvaluateSuggestion methods
* Improve docs and use short array syntax
* Log when spec rule is not an object
* Sanitize logger arguments for sanity
* Don't use short array syntax because of linter
* Lint fixes
* Add changelog
* docs: Spacing and alignment
* refact: Sanitize only the suggestion tile
* Add filter for rule evaluator logging enabled
* test: Add tests for suggestion evaluation logging
* test: Replace deprecated withConsecutive
* Simplify logic
* test: Cleanup
* test: Add rule logging tests for shipping partnerships
* Lint fixes
* Lint fixes