Commit Graph

54571 Commits

Author SHA1 Message Date
Matt Sherman ad65099e42 Changelog 2023-11-06 16:07:41 -05:00
Matt Sherman ba53c9d828 Improve UX of expression add button 2023-11-06 15:58:44 -05:00
Matt Sherman feec1c75a0 Remove unused CSS 2023-11-06 15:51:55 -05:00
Matt Sherman 1a2bbc03ed Use custom properties for CSS 2023-11-06 15:49:59 -05:00
Matt Sherman 3592818476 Update lock file 2023-11-06 15:14:50 -05:00
Matt Sherman 84ec068dbb Use core/block-editor store to get selected block info 2023-11-06 15:11:04 -05:00
Matt Sherman 8dc2cdce5a Update tab button hover style 2023-11-06 15:11:04 -05:00
Matt Sherman 3a449c2c93 Rename components 2023-11-06 15:11:04 -05:00
Matt Sherman 10057b0d81 Fix scrolling of expressions 2023-11-06 15:11:04 -05:00
Matt Sherman 5727281493 Visually hide tabs when not selected, to keep state 2023-11-06 15:11:04 -05:00
Matt Sherman 1c40d2e892 Handle syntax error 2023-11-06 15:11:04 -05:00
Matt Sherman 140e61ed26 Tweak expression textarea style 2023-11-06 15:11:04 -05:00
Matt Sherman 22c0424cb7 Add Product tab to dev tools 2023-11-06 15:11:04 -05:00
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
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
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
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
jonathansadowski 0a11d03ce5
Remove milestone from unmerged PRs (#41216)
* Remove milestone from unmerged PRs

* Add pr write permission to milestone manager
2023-11-03 13:22:07 -05:00
Matt Sherman ab51a761a3
Product Editor: Add PostTypeContext and blocks access to plugins (#41106) 2023-11-03 12:53:10 -04:00
Jonathan Lane 6ff4b13b63
Add tests for tax display for the shopper (#40178)
* Add tests for tax display for the shopper

* Add changelog

* Renamed .spec file

* Fixes for re-testability

* Fix a locator problem

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-03 09:14:27 -07:00
Ron Rennick f4b6139974
Add stalebot schedules to allow processing of all issues (#41198) 2023-11-03 11:01:12 -03:00