This PR fixes a failure in CI jobs (performance testing results publishing). The fix introduces a fallback path for the artifacts folder, similar to the command that performs the testing.
* Fix: Show preview label only when Product Collection block is selected
Updated the `ProductCollectionContent` component to display the preview label only when the Product Collection block itself is selected. Previously, the preview label was shown when either the block or any of its inner blocks were selected.
Key Changes:
- Removed the `isSelectedOrInnerBlockSelected` constant and its logic.
- Updated the condition to use `props.isSelected` directly to determine if the block is selected.
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Update E2E tests
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: fix flickering effect
* Add changefile(s) from automation for the following project(s): woocommerce
* not use hook
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: when the footer/header is clicked, the border color is blue
* Add changefile(s) from automation for the following project(s): woocommerce
* improve CSS
---------
Co-authored-by: github-actions <github-actions@github.com>
* add: block scaffold
* add: block settings and editor preview
* chore: discard change to pnpm lock file
* add navigation block to the template part
* test: add basic E2E tests
* chore: changelog
* fix: no full width button
* test: remove layout check
* tweak: dynamically fetch button styles
* try: fontsizepicker
* remove: FontSizePicker dute to lack of ability to change label
* fix: use correct icon from the design
* address review feedback
* update class to follow naming convention. use explicit value to better indicate the navigation style
* fix: remove unnecessary style that breaks the global style
* fix: remove unnecessary style
* Make proceed to order button non sticky when zoom level is bigger than 100%
* Define sticky container based on media query
* Revert previous inline comment
* Update display logic
* Adjust threshold to stabilise visibility toggling
* Improve readability
* introduce attributes fixture
* expose the tabs from the new data/ folder
* introduce confirmGlobalAttributesLoaded helper
* reuse confirmGlobalAttributesLoaded helper
* reuse attributes fixture
* check the `+3 More` item label
* changelog
* not only this test
* rename to waitForGlobalAttributesLoaded
* Fix Preview badge border-radius and alignment
The Preview badge's bottom left and right corners now have border-radius set to 0px to ensure they smoothly morph into the block's stroke. The badge is visually aligned with the furthest edge of the block's right border.
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Fix Lint errors
---------
Co-authored-by: github-actions <github-actions@github.com>
* prevent creating duplicated items with different cases
* changelog
* allow terms with same name for local attributes
* fix wrong const name to identy local attributes
* use more complext terms for E2E test
* encode URL to pass E2E test
* split E2E when creating new terms
* introduce `slug` property to TokenItem
* rename terms with globalAttributeTerms
* jsdoc
* minor test name change
* changelog
* minor test re-organization. test.only for dev
* update test when creating local attrs with terms
* udpate checking the attribute terms
* fix checking terms in the frontend
* attribute value is not used. clean
* improve jsdoc
* run not only this test
* changelog
* minor doc improvement
* remove not necessary patterns
* use always template1 for AI flow
* show default patterns homepage
* Add changefile(s) from automation for the following project(s): woocommerce
* remove not used images
* restore changes
* fix e2e test
* fix e2e test
* restore necessary patterns
* add necessary patterns
* restore necessary patterns
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add coming soon docs
* Update manifest
* Add new example and fix writing
* Update docs/extension-development/integrating-coming-soon-mode.md
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Add example for a single page exclusion
* Add example for 2-way sync and fix trigger from woocommerce example to use update_option action
* Lint
* Update docs according to style guide
* Better structure for custom exclusions filter
* Update manifest
---------
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
- In the plugins list only features that are currently enabled
will be considered for the list of features that are incompatible
with a given plugin.
- A per-feature flag named "plugins_are_incompatible_by_default"
is used. Defaulting to false, when it's true for a given feature
it means that plugins not declaring compatibility with a the
feature are to be considered incompatible with the feature.
The flag is set for the HPOS feature only.
- A new 'woocommerce_plugins_are_incompatible_with_feature_by_default'
filter is added, which allows to alter the flag for a given feature.
- The "plugins incompatible with feature" page will display all the
incompatible/uncertain plugins, even if the feature is disabled.
The "plugins incompatible with ALL features" page still shows
only plugins that are incompatible/uncertain with enabled features.
- Add a --ignore-plugin-compatibility switch to the "wc hpos enable"
command, to allow enabling even if there are incompatible plugins.
- Add a new "wc hpos compatibility-info" command, which lists
the plugins that are compatible/incompatible/uncertain with HPOS.
* Add comment for regression E2E tests
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix lint errors
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
---------
Co-authored-by: github-actions <github-actions@github.com>
* Bump version to 2.3.2
* Update changelogs
* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester
---------
Co-authored-by: github-actions <github-actions@github.com>
* Update - Disable toggle by default and secondary enhancements
- Disabled toggle by default in Checkout blocks Return to cart button.
- Change Account options to Navigation options.
- Add a subtext to explain when to turn it on or off.
* set default value to false in attributes.tsx also
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Changelog
* Remove check for link from test suite—this is now hidden by default
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Create customer object from user object to fetch emails in try-catch.
* Add changefile(s) from automation for the following project(s): woocommerce
* 48459 Replace $check_emails array values with user_email.
* Update plugins/woocommerce/changelog/48488-48459-coupon-email-restriction-fix
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>