Commit Graph

11499 Commits

Author SHA1 Message Date
Jon Lane 5e222b6bdc Remove soft assertion 2023-09-06 14:39:34 -07:00
Jon Lane 1f3a0962ff Uninstall and reinstall WC 2023-09-06 14:37:18 -07:00
Fernando Marichal ad1920ca2e
Add Tags to product editor (#39966)
* Add block

* Add component tags-field

# Conflicts:
#	packages/js/product-editor/src/style.scss

* Add changelog

* Clean code

* Add style

# Conflicts:
#	packages/js/product-editor/src/style.scss

* Trim styles

* Delete input when creating tag

* Clean input after creating tag

* import Query type

* Add changelogs

* Add tests

* Rename newInputValue

* Remove lodash use

* Add useInstanceId instead of using a fixed id

* Remove pagination related code

* Remove isAsync const

* Fix list filtering

* Abstract useSelect

* Fix tests

* Refactor use-tag-search

* Fix lint
2023-09-06 15:51:22 -03:00
Tofandel 93aae26b1b Change deprecated version 2023-09-06 20:29:37 +02:00
Fernando Marichal 365e479614
Create a plugin to enable Variations feature (#40027)
* Add plugin to enable features and map it

* Activate plugin

* Add changelog
2023-09-06 12:48:57 -03:00
Nathan Silveira e9aad24125
Migrate Category field to woocommerce/taxonomy-field block (#40021)
* Migrate category field to woocommerce/taxonomy-field block

* Remove details-categories-field

* Add changelogs

* Remove more references

* Rename block and add it to blockregistry

* Add missing setIsCreating calls

* Undo changelog change

* Add changelog
2023-09-06 10:21:37 -03:00
nigeljamesstevenson 5a8ed71edc
E2E: Remove WP Latest-2 from release tests (#40012) 2023-09-06 12:38:40 +01:00
Thomas Shellberg 8ec91504ff
Add Short Description "Write With AI" Button + Inform about automatic generation (#39805)
* Add "Write With AI" button to product short description media buttons area.
2023-09-06 12:36:14 +02:00
nigeljamesstevenson 54fc5857bd
Couple of caching fixes for daily tests (#39918) 2023-09-06 11:02:01 +01:00
github-actions dbc2fed88a Add changefile(s) from automation for the following project(s): woocommerce 2023-09-06 09:24:24 +00:00
Tofandel 300790271d Change deprecated version 2023-09-06 11:20:46 +02:00
Thomas Shellberg c61f453fdb
Remove Woo AI Enabled Setting and rework copy on the Woo AI Settings page. (#39784)
* Woo AI - Remove enabled setting. Re-order tone of voice settings and adjust neutral messaging.
2023-09-06 11:07:39 +02:00
Tofandel 4e87591245 fix: cloning cart reference in session 2023-09-06 11:02:10 +02:00
Moon c45335b936
CYS - Add LookAndFeel and ToneOfVoice pages (#39979)
* Add ProgressBar component to @woocommerce/components

* Add changelog

* Remove html.wp-toolbar in fullscreen mode

* Add base style

* Add Tell us a bit more about your business page

* Fix merge conflict issues

* Send BUSINESS_INFO_DESCRIPTION_COMPLETE event when continue button is clicked

* Remove duplicated style import

* Add changefile(s) from automation for the following project(s): @woocommerce/components, woocommerce

* Lint fix

* Add 'Look and Feel' and 'Tone of voice' pages';

* Use correct classname

* Minor changes

* Textearea color should be gray-900 after the user enter text
* guide font weight should be 500

* Fix layout shift when a choice is selected

* Fix choices width for tone of voice page

* Use context value for the default

* Revert button margin top

* Fix default selection

* Add X button

* Decrease the margin by 20px to accommodate the height of the close button

* Add close action

* Include @woocommerce/ai package

* Add AI service

* Use AI service

* Parse JSON from in function

* Fix assignLookAndTone event type

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/components/choice/choice.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/services.ts

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Log when AI API endpoint request fails

* Add spinner when user clicks the continue button

* streamlined unnecessary isRequesting context and forwarded close event

* pnpm-lock changes from trunk

* lint fixes

* ai package test passWithNoTests

* changelog

* reset pnpm-lock to trunk

* Dev: update pnpm-lock.yaml and jest preset config (#40045)

* Update pnpm-lock.yaml

* Update jest-preset config to fix unexpected token error

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2023-09-06 14:21:09 +08:00
Chris Runnells e2c2c52c1c
Update task list progress bar default setting (#39369) 2023-09-05 13:50:33 -10:00
Chris Runnells 788d4419dc Update changelog entry 2023-09-05 13:01:30 -10:00
nigeljamesstevenson 6d494570ef
Fix flakiness around the `Turn off the new product form` menu item (#39957) 2023-09-05 18:49:02 +01:00
Vedanshu Jain 919a51f682
Remove COT enable requirement from sync and verify command. (#39998) 2023-09-05 16:59:04 +02:00
Matt Sherman 7b328cfabf
Doc: Fix typo in "How to design a simple extension" (#40028) 2023-09-05 10:23:04 -04:00
Vedanshu Jain e108efd793
Add filter woocommerce_hpos_enable_sync_on_read to disable sync on read with HPOS sync enabled. (#40039) 2023-09-05 18:15:47 +05:30
Fernando Marichal ccb72125e0
Add a notice to "track inventory" toggle (#40011)
* Add notice to "track inventory" toggle

* Add changelogs

* Remove console.logs

* Fix link URL
2023-09-05 08:35:38 -03:00
Vedanshu Jain 452a3ed81b Doc update. 2023-09-05 16:40:24 +05:30
Vedanshu Jain 1d0665a8dd Add filter woocommerce_hpos_enable_sync_on_read to disable sync on read with HPOS sync enabled. 2023-09-05 14:33:00 +05:30
Jason Kytros bbe053e16e
Improved UI/UX of the Inventory tab (v2) (#39962) 2023-09-05 09:26:00 +02:00
Jason Kytros 283b1a673c
Improved UI/UX of the Attributes tab (v2) (#39987) 2023-09-05 09:24:34 +02:00
Vedanshu Jain 0f7e6898db
Avoing string to int comparison and add the id clause only when available (#40030) 2023-09-05 12:47:17 +05:30
Chi-Hsuan Huang c9b8236f53
Add customize store assembler hub onboarding tour (#39981)
* Update tour-kit to have a optional skip button and custom secondary button label

* Add changelog

* Add onboarding tour

* Update layout and resiable-frame for onboarding tour

* Update onboarding tour style

* Update resizable handler

* Add changefile(s) from automation for the following project(s): @woocommerce/components, woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-05 15:12:04 +08:00
Chi-Hsuan Huang c025b102fc
Add customize store assembler hub logo (#39932)
* Add @wordpress/blob for wc admin customize store project

* Update save-hub to save entities correctly

* Add logo block context

* Update block-editor to render different preview layout for different paths

* Add media uploader filter

* Update logo sidebar

* Fix auto block preview

* Update styles

* Update loading state

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

* Add comments

Add comments

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Add custom resiable-frame

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/block-editor.tsx

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

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-logo.tsx

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

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/resizable-frame.jsx

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

* Open media uploader when clicking logo image

* Update style

* FRAME_TRANSITION -> frameTransition

* Fix missing import

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-09-05 14:21:19 +08:00
Vedanshu Jain 5a22751aa1 Add unit test + changelog. 2023-09-05 11:47:28 +05:30
Vedanshu Jain c8cc44523c Avoing string to int comparison and add the id clause only when available. 2023-09-05 11:22:33 +05:30
RJ d04a0baf5a
fix: wc-connect-tax option truthiness (#39983)
* fix: wc-connect-tax option truthiness

* Update plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Tax.php

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

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-09-05 10:17:04 +08:00
Matt Sherman 39310553e0 Changelog 2023-09-04 16:24:31 -04:00
And Finally 21d1bab26e [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Fixing `prettier` linter errors.
2023-09-04 16:00:30 +01:00
And Finally 6d65d54ed5 [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Fixing `prettier` linter errors.
2023-09-04 15:45:24 +01:00
Jason Kytros 4242375cc5 Review: Parameters localization 2023-09-04 12:56:41 +03:00
Jason Kytros eeafe69c2d Review 2023-09-04 12:50:03 +03:00
Rodel Calasagsag 02638a71e8 Remove unnecessary cookie header 2023-09-03 17:59:56 +08:00
Rodel Calasagsag cf2ebde187 Add changelog 2023-09-03 17:05:38 +08:00
Rodel Calasagsag 6af2632f5f Get only WP L-1 2023-09-03 10:29:42 +08:00
Jon Lane d6240d5636 More test fixes 2023-09-01 13:41:41 -07:00
Jon Lane 023183e2b1 Merge branch 'trunk' into api/fix-tax-api-test 2023-09-01 11:50:29 -07:00
Jon Lane e83de75c42 Skip one additional assertion on external site 2023-09-01 10:52:19 -07:00
Leif Singer 77e5e28d51
tweak some of the HPOS Settings UI (#39912)
* tweak the wording for HPOS in Settings / Features / Advanced

* order features in Advanced Settings and move HPOS to the top

* emphasize the need to sync

* add a row_class attribute to settings fields

* fix padding between HPOS settings belonging together

* add changelog file

* update wording in a test

* Update plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>

* Update plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>

* simplify the ordering callback -- props to @jorgeatorres! ☺️

* more consistent phrasing

---------

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-09-01 14:32:56 +01:00
Jason Kytros 81a70a9b92 Ensure that the placeholder changes even after clearing all Attribute values 2023-09-01 14:13:38 +03:00
Jason Kytros 80e998481f Ensure that a placeholder always exists 2023-09-01 13:53:54 +03:00
Jason Kytros 4aeabe64ef Updated failing e2e test 2023-09-01 12:54:05 +03:00
Jason Kytros 4af01af796 Merge branch 'trunk' into issue-37839 2023-09-01 12:17:34 +03:00
Jason Kytros 16819d18ac Merge branch 'trunk' into issue-37835 2023-09-01 12:02:59 +03:00
github-actions 78ad790109 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-01 04:26:50 +00:00
Chi-Hsuan Huang 6f89dcdbb5 Update webpack config to not use external @wordpress/router
The external @wordpress/router package is not available in these versions, so we need to bundle it with the plugin. This is a temporary fix until we can drop support for WP 6.2 and below.
2023-09-01 12:24:02 +08:00
Jon Lane 6c85aaae07 Settings test is currently failing on external host. Skip for now. 2023-08-31 15:09:22 -07:00
Ron Rennick ca6b152755
update the SqlQuery filter prefix in data.md (#39319)
* update the SqlQuery filter prefix in data.md

* fix md linting

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-08-31 15:23:20 -03:00
And Finally 6ae83b08ec [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Addressing feedback. Renamed `MARKETPLACE_API_HOST` TO `MARKETPLACE_HOST` to make it less confusing – we don't only use it for API URLs.
2023-08-31 16:14:06 +01:00
github-actions b0ee81a175 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-31 13:50:58 +00:00
Jason Kytros f30c4dfda7 Check if "Used for variations" exists before using its value. 2023-08-31 16:37:14 +03:00
Jason Kytros bb481269ff Design enhancements for the Attributes tab 2023-08-31 16:28:03 +03:00
RJ 3f3f032ed5
dev: added docs for core profiler (#39963)
* dev: added docs for core profiler

* lint

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-31 16:27:40 +08:00
Rodel Calasagsag 72ae79bbe0 Merge branch 'trunk' into e2e/fix-flaky-menu-item-turn-off-new-product-form 2023-08-31 14:53:26 +08:00
Corey McKrill 26fde13e00
Fix typo in SQL for stock quantity check (#36402) 2023-08-30 17:01:15 -07:00
Corey McKrill ac06a00f8a
Add changelog file 2023-08-30 16:25:09 -07:00
Patricia Hillebrandt 5968934040
Update WooCommerce Blocks to version 11.0.0 (#39971) 2023-08-30 16:26:08 -05:00
github-actions[bot] a80efb7319
Delete changelog files based on PR 39958 (#39975)
Delete changelog files for 39958

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-30 16:07:33 -05:00
Alejandro López Ariza 062c2998a3
Update api core tests readme (#39961)
* Update api core tests readme

The example .env provided in the API Core tests readme is obsolete. It needs to reference API_BASE_URL instead of BASE_URL due to recent changes.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-30 13:24:18 -07:00
Matt Sherman 1ffc8fa1fd Changelog 2023-08-30 14:54:35 -04:00
Matt Sherman dc8602f67b Add order property for every block 2023-08-30 14:54:32 -04:00
Maikel David Pérez Gómez a425a62fb8
Product Block Editor: add tracks to the Variations tab (#39914)
* Add product_options_add tracking event to add variation options

* Add product_options_edit tracking event to variation options

* Add product_options_update tracking event to variation options

* Fix set default attribute when editing it

* Add changelog file

* Add product_options_add_button_click tracking event

* Get attribute options from the terms prop instead of options, this ensures to get the updated values when the user edits the options

* Add Variation options section back

* Add changelog file
2023-08-30 14:36:44 -04:00
Matt Sherman c1befca115
Register SimpleProductTemplate and add hook to allow for registered templates to be modified (#39915) 2023-08-30 14:12:52 -04:00
RJ 5f87296805
fix: missed lint error in assembler hub PR (#39964) 2023-08-30 10:45:13 -05:00
Vlad Olaru 1a9c1f93b9
Fix incentive cache-busting edge case performance issues (#39958)
* Test for WooPayments active first since it is less expensive

* Guardrails to avoid double menu badge

* Avoid fetching incentives when no dimissals

* Fix handling of incentives API error and caching

* Prevent incentives fetching if were fetched less than an hour ago

* Add changelog entry

* Remove the 1-hour threshold cache validation

* Cache if the store ever used WooPayments

* More inline docs
2023-08-30 08:37:49 -05:00
Jason Kytros 29b08320c1 Remove duplicate changelog 2023-08-30 15:08:45 +03:00
github-actions 90c081ce55 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-30 12:07:27 +00:00
Jason Kytros f4d5c59b75 Improved UI/UX of the Inventory tab (v2) 2023-08-30 14:52:12 +03:00
Rodel Calasagsag 22f3e2aebc Merge branch 'trunk' into e2e/fix-flaky-menu-item-turn-off-new-product-form 2023-08-30 15:39:24 +08:00
Rodel Calasagsag b977388f7b Add changelog 2023-08-30 15:18:37 +08:00
Rodel Calasagsag 4bdd774d3f Use util function to toggle block product editor tour 2023-08-30 14:51:20 +08:00
Rodel Calasagsag 8b152bcecf Create util function for toggling product editor tour 2023-08-30 14:50:57 +08:00
Rodel Calasagsag 906d501688 Remove unused variable 2023-08-30 14:50:29 +08:00
Chi-Hsuan Huang 843b4041be
Optimize customize store preview frame resize performance (#39930)
* Optimize customize store preview frame resize performance

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

* Set isOversized to false to fix frame oversize issue

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-30 13:38:20 +08:00
Chris Runnells 8fc9d33041 Update progress bar initial value 2023-08-29 14:57:10 -10:00
RJ 0190f4adea
fix: applied lint autofixes (#39942)
* woocommerce-admin lint fixes

* @woocommerce/* lint fixes

* Add changefile(s) from automation for the following project(s): @woocommerce/date, @woocommerce/data, @woocommerce/components, @woocommerce/admin-layout, woocommerce

* lints

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-30 06:40:45 +08:00
Barry Hughes beeb553fb5
Add woocommerce pay order before payment action in pay-for-order page (#37588) 2023-08-29 14:09:51 -07:00
nigeljamesstevenson da521b664e
Update Venezuelan currency: Bolívar (Bs.) (#29380) 2023-08-29 18:55:04 +01:00
nigeljamesstevenson 032440e561
Prevent non-WC_Orders on the order received page (#39876) 2023-08-29 18:51:20 +01:00
Jorge A. Torres 8217339391
Fix "Move to Trash" link in order edit screen (#39693)
* Order trash/delete link should use `id` querystring arg instead of `order`

* Add changelog
2023-08-29 11:31:40 +01:00
nigeljamesstevenson f53e5f744d
Update modified date when a metadata is saved for HPOS. (#39911) 2023-08-29 11:18:17 +01:00
defive 4fa7a40b22
Update PageController.php to prevent PHP warning when menu items have no position set (#39905)
* Update PageController.php to prevent PHP warning when menu items have no position set

Update PageController.php to prevent PHP warning when menu items have no position set. This can occur when a user has permission to view WordPress admin pages but does not have permission to administer WooCommerce.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-29 18:00:27 +08:00
RJ af9ef856e5
add: customize your store AI wizard xstate scaffolding (#39863)
* add: customize your store AI wizard xstate scaffolding

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/index.tsx

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

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-08-29 14:00:54 +08:00
Chris Runnells 3c25538f35
Fix Core Profiler layout shifts during plugin install step (#39898) 2023-08-28 16:05:23 -10:00
Moon 00fb7dab11
WooCommerce Beta Tester tracks -- Support array property (#39922)
* Support array property

* Add changelog
2023-08-28 12:44:27 -07:00
Barry Hughes 36212b295b
Cleanup: remove the unused is_feature_visible and show_feature methods (#39931) 2023-08-28 09:39:53 -07:00
Nathan Silveira 01b85df049
Fix undismissable notices when using localization for certain messages like "Coupon management has moved" (#39913)
* Make sure alert.id and action.id are defined

* Copy id from db to action

* Add changelog

* Add error message when something goes wrong while triggering note action

* Rename changelog
2023-08-28 11:48:07 -03:00
Matt Sherman 7da226ad63
Remove block from block template (#39900) 2023-08-28 10:17:55 -04:00
Vedanshu Jain 9b10f04c98 Formatting changes and sanitization. 2023-08-28 17:14:14 +05:30
Ilyas Foo 21df7ca51c
Fix font color in tasklist description (#39903)
* Fix font color in tasklist description

* Changelog
2023-08-28 19:26:02 +08:00
Vedanshu Jain d217819824 Use same precision as DB timezone to prevent unnecessary updates. 2023-08-28 16:37:31 +05:30
Vedanshu Jain aa08add6e3 Defencive checks around meta. 2023-08-28 15:58:04 +05:30
Vedanshu Jain 9a01cfdde7 Consolidate all ops in one function.
Additionally, move the `type` column from always change to optional, by moving it so that its applied if there is atleast one other change.
2023-08-28 15:20:17 +05:30
Leif Singer e48fac01b3 add change log file 2023-08-28 11:20:18 +02:00
Leif Singer 4ff2b996b9 cleanup: remove the unused is_feature_visible and show_feature methods 2023-08-28 11:15:20 +02:00
Vedanshu Jain e7875ab5de Update modified date when a metadata is saved for HPOS. 2023-08-28 12:59:36 +05:30
Chi-Hsuan Huang 56f4ad623f
Add customize store assembler hub (#39843)
* Add @wordpress dependencies for customize store task

* Update webpack config to bundle wp edit-site package instead of using external

* Add customize-store task list item fill

* Update CustomizeStore task to load editor scripts and settings

* Update customize store routing path

Use /* since we want to match any path that starts with customize-store

* Add assembler-hub

* Ignore some wp packages from syncpack for customize store assembler hub

We need to use specific versions of these packages for the customize store
"@wordpress/interface", "@wordpress/router", "@wordpress/edit-site"

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

* Tweak style

* Use CustomizeStoreContext and send xstate event

* Update assembler-hub style

* Fix nav width

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-28 09:28:05 +08:00
github-actions eda0bfa091 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-26 11:58:34 +00:00
And Finally 3c8f4861e4 [wccom-17942] Only showing feedback snackbar when content of in-app marketplace has finished loading. Making sure snackbar is fixed position, so it's visible wherever you are on the page.
- `ProductListContextProvider` provides `setIsLoading` function as well as `isLoading`.
- `Discover` uses these values from context, instead of keeping a loading state in itself.
- `FeedbackModal` calls `maybSetTimeout` when `isLoading` changes. If `isLoading` isn't truthy, and snackbar hasn't already rendered, it sets a timeout of 5 seconds to show it.

- Removed wrapping <WooFooterItem> from around Footer component, so it's no longer a child of the WooCommerce Admin `.woocommerce-layout__footer` footer.
- Removed the `position: relative` from `.woocommerce-layout__footer`. It needs to be `position: fixed`.
- Added FooterContent component to Footer, to allow the layout we want.

- Changed use of context. This now only has states for the selected tab and loading state.
- We use this context in `Tabs` and `Content` to keep track of which tab is selected, and set the selected tab.
- We also use it in `Discover` and `Extensions`, which both report loading state to the context. This allows us to use it to only render the snackbar when loading is complete.
- Extensions: moved `productList` and `setProductList` and logic for getting product list from the context provider to a state in this component. We don't need to share the list of products in the context.
- Renamed `ProductListContext`, `ProductListContextProvider` and `productListContextValue` to more generic `MarketplaceContext`, `MarketplaceContextProvider` and `marketplaceContextValue`.
- Renamed a constant and created constants for API paths.
- Only shows snackbar after content has loaded, and after a timeout. We set a date `marketplace_redesign_2023_last_shown_date` in local storage to ensure we only show one snackbar.
2023-08-26 12:47:23 +01:00
github-actions 413e569ccd Add changefile(s) from automation for the following project(s): woocommerce 2023-08-25 23:08:02 +00:00
Chris Runnells f9600d19fa Add changelog entry. 2023-08-25 13:04:37 -10:00
Jon Lane 80cced2d23 Add changelog 2023-08-25 14:54:27 -07:00
Barry Hughes 4dc745cc37
If `geo_hash` is known and correct, avoid an unnecessary redirect (#39634) 2023-08-25 14:41:48 -07:00
Jon Lane fc709b7d25 Couple of caching fixes for daily tests 2023-08-25 14:39:31 -07:00
Hsing-yu Flowers 8f20f6875c
Update plugins/woocommerce/templates/checkout/form-pay.php
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-08-25 14:03:25 -07:00
Hsing-yu Flowers a6b7c59543
Update plugins/woocommerce/changelog/add-woocommerce-pay-order-before-payment-action
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-08-25 14:02:06 -07:00
Matt Sherman c8ead98aed Correct since tag for woocommerce_block_template_register action 2023-08-25 15:57:56 -04:00
Matt Sherman 7047766f32 Changelog 2023-08-25 15:37:17 -04:00
Matt Sherman af3c329299 Fire woocommerce_block_template_register action 2023-08-25 15:33:06 -04:00
Matt Sherman a4dde39d3f Add missing add_block method to GroupInterface and SectionInterface 2023-08-25 15:30:27 -04:00
Matt Sherman a22d8d895c Fix code doc issues 2023-08-25 14:34:14 -04:00
Matt Sherman 530e4f05ed Change spaces to tabs (linter formatting issue) 2023-08-25 14:32:50 -04:00
Matt Sherman 2ddc1418da Register SImpleProductTemplate 2023-08-25 14:26:19 -04:00
Matt Sherman 48d5e7a65d Changelog 2023-08-25 11:31:46 -04:00
Matt Sherman 2726787ce6 Implement block removal, including nested blocks 2023-08-25 11:31:46 -04:00
Matt Sherman ec9f7d186e Add remove_block and remove_blocks to ContainerInterface 2023-08-25 11:31:46 -04:00
Matt Sherman de49e2d83b Add detach to BlockInterface 2023-08-25 11:31:46 -04:00
Matt Sherman b94b87fe63 Add uncache_block to AbstractBlockTemplate 2023-08-25 11:31:46 -04:00
Matt Sherman 7445b3df06 Fix code doc issue 2023-08-25 11:31:46 -04:00
Matt Sherman d4a688e9b4 Update tests to check block removal 2023-08-25 11:31:46 -04:00
Matt Sherman 44575d6dca Add title attribute to custom block to facilitate easier testing 2023-08-25 11:31:46 -04:00
boblinthorst 88844182ed Also check for instanceof WC_Order here to be consistent with the implementation above 2023-08-25 14:17:44 +02:00
github-actions[bot] ed0d45178f
Delete changelog files based on PR 39902 (#39908)
Delete changelog files for 39902

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-25 07:08:01 -05:00
nigeljamesstevenson 879136404d
Updates smoke-test-daily.yml workflow to correctly remove test execution (#39904)
Updates smoke-test-daily.yml workflow to correctly remove additional test execution as previous revert PR #39889 missed a step
2023-08-25 18:06:46 +08:00
Vedanshu Jain a290dd51e8 Fixup to prevent infinite migration loop. 2023-08-25 13:02:43 +05:30
Chris Runnells bd5fc03aae Add secondary container to fix layout shifts
Also added CSS so that the container is always aligned to the top of the wrapper
2023-08-24 14:01:55 -10:00
Chris Runnells fb506bf18f Update SVG files so they are all the same size 2023-08-24 13:57:50 -10:00
github-actions[bot] fe81a4cf27
Delete changelog files based on PR 39882 (#39884)
Delete changelog files for 39882

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-24 17:36:26 -05:00
barryhughes e7aaa3bddd Update expectations for VES and VEF currencies. 2023-08-24 15:26:52 -07:00
barryhughes c594fc7d85 Update API tests following changes to VES and VEF currencies. 2023-08-24 15:26:52 -07:00
Yordan Soares bc0343b7dc Update class-wc-tests-core-functions.php 2023-08-24 15:26:52 -07:00
Yordan Soares c1c5c04322 Update wc-core-functions.php 2023-08-24 15:26:52 -07:00
Peter Fabian 94a4da8aa0 Added changelog. 2023-08-24 15:26:52 -07:00
Yordan Soares b2695fe22e Revert "Use the price decimal separator to format product weight and dimensions"
This reverts commit 31e6dcd43a278b87661f1d834172fe2db76f7b3b.
2023-08-24 15:26:51 -07:00
Yordan Soares e1749891c7 Use the price decimal separator to format product weight and dimensions 2023-08-24 15:26:51 -07:00
Yordan Soares 4e1f95efbe Restore Bolívar Fuerte (VEF) 2023-08-24 15:26:51 -07:00
Yordan Soares b4930ed077 Update Venezuelan currency: Bolívar (Bs.)
### Changes:

- [ ] Remove the "Venezuelan bolívar" currency (VEF)
- [ ] Remove the "Bs F" symbol (VEF)
- [ ] Update the "Bolívar soberano" currency to "Venezuelan bolívar" (VES)
- [ ] Update the "Bs.S" symbol to "Bs." (VES)

### Justification:

The official name of Venezuela's currency is Bolivar (Bs.). However, as we have had a couple of reconversions in recent years, temporary epithets have been used to distinguish the different monetary cones with a practical sense in the transition period. This is the reason why Bolivar Fuerte (Bs.F) and Bolivar Soberano (Bs.S) was used.

However, the Bolívar Fuerte (monetary cone) went out of circulation on December 3, 2018 and the Bolívar Soberano (monetary cone) started to be called only Bolívar (Bs.) since February 2019, after a reasonable period of time had passed for the population to get used to the change of monetary cone.

This came into effect with Resolution No. 19-02-01 published on February 14, 2019 by the Central Bank of Venezuela (BCV, Banco Central de Venezuela), where it can be read:

[...] _as of the effective date of this Resolution, the price of goods and services and other monetary amounts shall be expressed only in the monetary scale in effect as of August 20, 2018, making mention of "bolívares" or the symbol "Bs."_

### References:

Resolución N° 19-02-01 del Banco Central de Venezuela (February 14, 2019)
http://www.bcv.org.ve/system/files/documentos_juridicos/resolucion_cese_doble_expresion_precios_bienes_y_servicios_definitiva.pdf
2023-08-24 15:26:51 -07:00
Alexandre Lara 93a983f6ff
Update WooCommerce Blocks to 10.9.3 (#39895)
* Update WooCommerce Blocks to 10.9.3

* Update composer.lock file

* Add changelog
2023-08-24 17:07:34 -05:00
Fernando Marichal c9f924a5b3
Enhance stability of Product E2E Tests (#39823)
* Add describe.configure

* Add changelog

* Serialize create-product-attributes
2023-08-24 17:52:21 -03:00
hsingyuc 508a9aec95 Bump template version 2023-08-24 13:46:52 -07:00
nigeljamesstevenson e0c569baff
revert #39803 Add additional Perf Test Daily run (#39889)
revert #39803
2023-08-24 13:27:58 -07:00
hsingyuc c0aaa4e933 Add changelog entry 2023-08-24 13:16:24 -07:00
hsingyuc 44f6d04dc3 Add a woocommerce apy order before payment action 2023-08-24 13:16:24 -07:00
Barry Hughes df8ceea379
Add CLI commands to enable or disable HPOS. (#39865) 2023-08-24 12:26:07 -07:00
louwie17 9198596918
Set up and migration to use BlockTemplate classes (#39814)
* Initial set up and migration for the BlockTemplate

* Migrate remaining fields to the new SimpleProductTemplate

* Remove re-usable functions and clean up

* Add interfaces

* Add changelogs

* Remove unused id from block attributes

* Update changelog

* Address refactor suggestions

* Fix lint errors

* Add tests

* Address PR feedback

* Extend from BlockContainerInterface instead of BlockInterface
2023-08-24 16:04:44 -03:00
nigeljamesstevenson 79edab17bc
Run full API test suite on daily run (#39858) 2023-08-24 14:26:20 +01:00