Commit Graph

54849 Commits

Author SHA1 Message Date
Matt Sherman b0251b1484 Add @woocommerce/expression-evaluation dependency 2023-11-06 15:11:04 -05:00
Matt Sherman b110356263 Add order to menu item 2023-11-06 15:11:04 -05:00
Matt Sherman ed2f32f278 Help panel 2023-11-06 15:11:04 -05:00
Matt Sherman 837f7b05eb Update colors 2023-11-06 15:11:04 -05:00
Matt Sherman 2975c04269 Tab buttons styling 2023-11-06 15:11:04 -05:00
Matt Sherman d2ff3d3615 Fix scrolling and height of dev tools bar 2023-11-06 15:11:03 -05:00
Matt Sherman 63c629b14d Handle when no block was focused 2023-11-06 15:11:03 -05:00
Matt Sherman cbda698e08 Move useFocusedBlock to dev tools bar 2023-11-06 15:11:03 -05:00
Matt Sherman a2fb19c6ae Extract useFocusedBlock hook 2023-11-06 15:11:03 -05:00
Matt Sherman 49cba8d5ba Style updates, and limit focus tracking to product editor wrapper 2023-11-06 15:11:03 -05:00
Matt Sherman 65e0208073 Initial styling 2023-11-06 15:11:03 -05:00
Matt Sherman b0ce2b5723 Hook up menu 2023-11-06 15:11:03 -05:00
Matt Sherman 2457946161 Initial block inspector panel 2023-11-06 15:11:03 -05:00
Matt Sherman 8af0105e0d Add @woocommerce/admin-layout dependency 2023-11-06 15:11:03 -05:00
Matt Sherman a6ec8d4195 Start hooking up focus handler 2023-11-06 15:11:03 -05:00
Matt Sherman e44751fac5 Refactor menu item components 2023-11-06 15:11:03 -05:00
Matt Sherman 77617ae974 Initial menu skeleton 2023-11-06 15:11:03 -05:00
Matt Sherman 09bb2183fb Update dependencies 2023-11-06 15:11:03 -05:00
Matt Sherman 5bc52ca2eb Add @wordpress/icons dependency 2023-11-06 15:11:03 -05:00
Matt Sherman e1978d04b2 Add @woocommerce/product-editor dependency 2023-11-06 15:11:03 -05:00
Nathan Silveira 2a30735b28
[Product Block Editor] Show onboarding tour within description block editor (#41161)
* Copy WelcomeGuide from gutenberg

* Remove CSS copied from guide component since it's not influencing the product Welcome Guide and it's interfering with the block editor welcome guide

* Fix issue with box-sizing

* Fix lint issues

* Show guide only when modal is open

* Add changelog

* Remove template and fix issue with component not re-rendering

* Add comment

* Add additional changelog

* Rename component
2023-11-06 16:38:33 -03:00
nigeljamesstevenson cd838e3742
update api-core-tests to work on daily site and localhost/CI (#41222)
* update api-core-tests to work on daily site

* changelog

* changlog update
2023-11-06 11:35:03 -08:00
Matt Sherman 20fac52381
Product Editor: Select product name block initially if set to autofocus (#41189) 2023-11-06 14:08:12 -05:00
github-actions 3b945dbd6d
Add changefile(s) from automation for the following project(s): woocommerce 2023-11-06 11:07:52 -08:00
Corey McKrill 791f5db5b4
Logging: Add missing script exit after redirect
Prevents a fatal error that could occur if you submitted the bulk
edit form on the Logs list table without selecting any log files first.

Fixes #41197
2023-11-06 11:07:52 -08:00
Nathan Silveira 87db3d20a6
Add attribute empty state image when no attribute has been added (#40956)
* Add attribute empty state image when no attribute has been added

* Render attribute skeleton as HTML
2023-11-06 14:05:22 -03:00
Matt Sherman 2f65ad23a5 Changelog 2023-11-06 10:58:10 -05:00
Matt Sherman 6544a9cf69 Select product name block initially 2023-11-06 10:58:10 -05:00
louwie17 dfc2f70f46
Shrink large banner image (#41247)
* Shrink intro banner image in customize store

* Add changelog
2023-11-06 11:07:23 -04:00
Néstor Soriano f098a116e1
Add the wc_allow_changing_orders_storage_while_sync_is_pending filter (#39988)
* Add the wc_allow_changing_orders_storage_while_sync_is_pending filter

For HPOS the idea is to disallow changing the authoritative data
source for orders (new tables <--> posts table) while there are orders
pending synchronization, since this can lead to data loss. However,
while this was indeed disallowed in the features UI, it was still
possible to manually change the value of the corresponding option
(via "wp option" command); there was code in place to prevent this
(by throwing an exception) but it had been commented out to ease
testing during the development of the feature.

This commit restores that commented out code, so in principle,
trying to change value of the option while there are orders pending
synchronization will throw an exception. BUT a filter is introduced,
wc_allow_changing_orders_storage_while_sync_is_pending, to allow
bypassing this behavior: the filter returns "false" by default, but
if it returns "true", changing the option will never throw an
exception. This is needed for a few of the existing unit tests,
but otherwise it should never be done (and the filter is documented
as such).

Additionally, if the filter returns "true" it will be possible to
change the value of the option in the features UI; but a warning
message will be shown in red if there are orders pending sync.

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

* Fix code inadvertently duplicated when merging from trunk.

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

* Fixes after manually undoing merge conflicts

* Fix linting issue

* Fix unit tests

* Fixed a bug that allowed changing the authoritative table from wp cli
even with orders pending synchronization

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

* Fix some more unit tests

* Delete duplicated changelog file

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-06 14:55:15 +00:00
nigeljamesstevenson 50c56d8427
k6 perf tests: Fix parsing of COT/HPOS environment variable (#40930) 2023-11-06 14:54:13 +00:00
Leif Singer 6cf13eb967 add changelog file 2023-11-06 14:21:12 +01:00
Leif Singer ac36a464db appease the linter 2023-11-06 14:20:05 +01:00
Leif Singer 7394e8344f update woocommerce.com email addresses to woo.com 2023-11-06 14:06:54 +01:00
Panos (Panagiotis) Synetos 8df23888b8
Renamed is_wooexpress to is_woo_express and updated readme 2023-11-06 14:50:29 +02:00
Panos (Panagiotis) Synetos 53d7388269
Merge branch 'trunk' into add/wooexpress-rin-rule 2023-11-06 14:46:53 +02:00
Panos (Panagiotis) Synetos 15da9903d4
Cleanup references to is_ecommerce 2023-11-06 13:19:33 +02:00
Luigi Teschio cbc3bac88c
Fix pattern route performance (#41168)
* fix pattern route performance

* Fetch multiple endpoints

* update namespace

* update business description

* fix payload

* remove eslint comment

* add changelog

* update interval of the loading frames
2023-11-06 18:51:11 +08:00
berislav grgičak 19df04921e
Update/my subscriptions wp installer (#40990)
* Marketplace: Populate the table rows with components

* Marketplace: add links to dropdown menu and fix fallback product icons

* Marketplace: fix popover width

* Add My subscriptions install (#40630)

* Marketplace: add plugin install from the subscriptions page

Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com>

* Marketplace: Use the activation function to show install button

---------

Co-authored-by: raicem <unalancem@gmail.com>

* Add WP updates script to the extensions page

* Add update button

* Add update data to subscriptions

* Update plugins

* Prevent update if license unavailable

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

* Remove all data from API

* Linter fixes

* Linter fixes

* Remove merge string

* Update link style

* Add comment for updates.js

* Prevent updates if required data is missing

* Return removed slug code

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Switch to WP installer

* Use WP installer

* Remove install endpoint

* Fix php warning

* Add download_link if subscription exists

* My subscriptions action modals (#40934)

* Add renew modal

* Update install to run until new data loaded

* Add activate modal

* Add connect modal

* Add renew button

* Renewal button

* Rename activate to connect

* Add subscribe button

* Add action buttons

* Remove unused const

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

* Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update import path

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

* Use product slugs for installing

* Add store for installing state

* Add theme install support

* Product activate endpoint

* Activate after install

* PHP warning

* Update context

* Debugging

* Install context

* Linter

* Simplify context

* Use Redux instead of context

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

* Replace ~ with relative paths

* Remove unnecessary is_null check

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-06 09:35:43 +01:00
Kyle Nel b62fc16aa3
Change woocommerce.com URLs to woo.com in marketplace (#41127)
Change woocommerce.com to woo.com
2023-11-06 10:15:34 +02:00
Chi-Hsuan Huang 5f819cc40e
Fix CYS initial pattern population bug (#41233)
* Fix CYS initial pattern population bug

* Add changelog
2023-11-06 15:46:28 +08:00
Eason 0e3b04ac35
Avoid the PHP error with an undefined property on the WooCommerce > Extensions page (#41125)
* Avoid the PHP error with an undefined property on the WooCommerce > Extensions page.

* Add changelog
2023-11-06 14:38:27 +08:00
Fernando Marichal b1b9e11323
Add preview and replace button to downloads edit (#40835)
* Add image replace

# Conflicts:
#	packages/js/product-editor/src/blocks/product-fields/downloads/edit-downloads-modal/edit-downloads-modal.tsx

* Add image and replace button

* Change styles

* Add changelog

* Verify the file is an image

* Fix image size

* Fix styles

* Changed left padding

* Fix image gap

* Fix style
2023-11-03 17:07:07 -03:00
Barry Hughes 06708f5851 Changelog should be 'minor', not 'patch'. 2023-11-03 12:56:07 -07:00
Barry Hughes 0a3ca8a0dc Break apart conditions relating to postcode-requirements for the shipping calc.
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-03 12:56:07 -07:00
Barry Hughes 4b524c4cbd Break apart conditions relating to state-requirements for the shipping calc.
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-11-03 12:56:07 -07:00
barryhughes 0cfda2cee2 Update `@since` tags, reformat hook docblocks. 2023-11-03 12:56:07 -07:00
barryhughes 9b507a55a7 Changelog. 2023-11-03 12:56:07 -07:00
Marco Almeida a8e663095f Update plugins/woocommerce/includes/class-wc-cart.php
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2023-11-03 12:56:07 -07:00
Marco Almeida 8c7bb72910 Update plugins/woocommerce/includes/class-wc-cart.php
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2023-11-03 12:56:07 -07:00