Matt Sherman
78fab5c8e3
Update registerWooBlockType for tab
2023-09-27 17:18:00 -04:00
Matt Sherman
898dd99be6
Update registerWooBlockType for conditional
2023-09-27 17:17:52 -04:00
Matt Sherman
57444b5a90
Fix tabs test
2023-09-27 17:00:54 -04:00
Matt Sherman
e8184141a6
Changelog
2023-09-27 17:00:54 -04:00
Matt Sherman
fd997269cd
Remove unused import
2023-09-27 17:00:54 -04:00
Matt Sherman
9ce23c1026
Update conditional to use editedProduct from context
2023-09-27 17:00:51 -04:00
Matt Sherman
8aa42f433f
Update context type for variation-items
2023-09-27 17:00:01 -04:00
Matt Sherman
bd4c7847b9
Update context type for tag
2023-09-27 16:59:59 -04:00
Matt Sherman
a2e9080150
Update context type for tab
2023-09-27 16:59:27 -04:00
Matt Sherman
b6dc633e81
Fix typing for initBlock call in tab
2023-09-27 16:58:13 -04:00
Matt Sherman
a4a44ef56b
Fix typing for initBlock call in variation-items
2023-09-27 16:56:32 -04:00
Matt Sherman
ef48cccc23
Fix typing for initBlock call in variations
2023-09-27 16:56:01 -04:00
Matt Sherman
57448d4627
Fix typing for initBlock call in variation-options
2023-09-27 16:55:29 -04:00
Matt Sherman
8a78340b30
Fix typing for initBlock call in toggle
2023-09-27 16:55:03 -04:00
Matt Sherman
c2e60a4aa8
Fix typing for initBlock call in summary
2023-09-27 16:53:47 -04:00
Matt Sherman
ac7ab2b1a0
Fix typing for initBlock call in shipping-dimensions
2023-09-27 16:53:15 -04:00
Matt Sherman
ce4b7af7e8
Fix typing for initBlock call in shipping-class
2023-09-27 16:52:49 -04:00
Matt Sherman
8ff4f6b095
Fix typing for initBlock call in schedule-sale
2023-09-27 16:52:22 -04:00
Matt Sherman
9f55c320dc
Fix typing for initBlock call in regular-price
2023-09-27 16:51:41 -04:00
Matt Sherman
e94de74d00
Fix typing for initBlock call in section
2023-09-27 16:51:10 -04:00
Matt Sherman
edaf1154d0
Fix typing for initBlock call in sale-price
2023-09-27 16:50:47 -04:00
Matt Sherman
ed57f267fb
Fix typing for initBlock call in radio
2023-09-27 16:49:35 -04:00
Matt Sherman
dfaa1b7dfd
Fix typing for initBlock call in pricing
2023-09-27 16:49:07 -04:00
Matt Sherman
c8ad1de579
Fix typing for initBlock call in password
2023-09-27 16:48:41 -04:00
Matt Sherman
54209362a0
Fix typing for initBlock call in notice
2023-09-27 16:48:02 -04:00
Matt Sherman
4fc547dfb1
Fix typing for initBlock call in inventory-sku
2023-09-27 16:47:29 -04:00
Matt Sherman
1b64e7dd0e
Fix typing for initBlock call in inventory-email
2023-09-27 16:46:41 -04:00
Matt Sherman
21929ccd25
Fix typing for initBlock call in inventory-quantity
2023-09-27 16:46:07 -04:00
Matt Sherman
c507f02f47
Fix typing for initBlock call in description
2023-09-27 16:45:26 -04:00
Matt Sherman
4f72172426
Fix typing for initBlock call in checkbox
2023-09-27 16:44:56 -04:00
Matt Sherman
51e769d778
Fix typing for initBlock call in catalog-visibility
2023-09-27 16:43:59 -04:00
Matt Sherman
a22e92bea3
Type context prop for BlockEditor
2023-09-27 16:42:25 -04:00
Matt Sherman
2f1a5f82ec
Add ProductEditorContext and ProductEditorBlockEditProps interfaces
2023-09-27 16:40:56 -04:00
Matt Sherman
1e35d45c99
Template API: Expose template block id and order to client ( #40263 )
...
* Update unit tests to handle _templateBlockId and _templateBlockOrder
* Refactor get_formatted_template
* Initial @woocommerce/block-templates package
* Add block-templates to admin webpack
* Add block-templates to dependency-extraction-webpack-plugin
* Add block-templates to admin assets
* Add block-templates dependency
* Update name block
* Update syncpack
* Update regular price block
* Update tab block
* Update section block
* Add @wordpress/deprecated to package
* Deprecated initBlock
* Update attributes block
* Update catalog visibility block
* Update checkbox block
* Update conditional block
* Update collapsible block
* Allow additional props to be passed to useWooBlockProps
* Update inventory sku block
* Update inventory quantity block
* Update inventory email block
* Update images block
* Update description block
* Update radio block
* Update pricing block
* Update password block
* Update notice block
* Update shipping dimensions block
* Update shipping class block
* Update schedule sale block
* Update sale price block
* Update toggle block
* Update taxonomy block
* Update tag block
* Update summary block
* Update variations block
* Update variations options block
* Update variation items blocks
* Changelog
* Changelog
* Changelog
* Changelog
* Changelog
* Add test for registerWooBlockType
* Add @testing-library/react-hooks to devDependencies
* Add test for useWooBlockProps
* Document API
* Fix linting issues in README.md
* Fix tabs tests by mocking useWooBlockProps
* Allow header duplication under different nesting
* Remove unused import (fixes lint error)
* Update lock file
2023-09-27 13:38:56 -07:00
Nathan Silveira
8edcb06348
Add block documentation to woocommerce/product-checkbox-field ( #40277 )
...
* Rename block description
* Add documentation for product checkbox field
* Add changelog
* Improve README
* Add description to block's attributes
* Replace example
* Add markdown table with documentation
* Move image to developer.woocommerce.com
* Iterate documentation
* Address lints
2023-09-27 15:07:52 -03:00
louwie17
88ead8f672
Add E2E test to check if all blocks render correctly in product editor ( #40358 )
...
* Add E2E test to check if all blocks render correctly in product editor
* Add changelog
* Fix matcher for warning
2023-09-27 13:03:13 -03:00
Maikel David Pérez Gómez
e6df583c65
Add a visibility toggle to the Quick actions list ( #40464 )
...
* Create toggle-visibility-menu-item component
* Add toggle-visibility-menu-item to variation-actions-menu
* Add toggle-visibility-menu-item to variations-actions-menu
* Add changelog file
2023-09-27 11:19:49 -04:00
Jonathan Lane
5b06aace54
Allow e2e tests to use dotfiles for configuration ( #40361 )
...
* Allow e2e tests to use dotfiles for configuration
* Fix lint errors
* Fix lint errors
* Linter strikes again
* Again
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-09-27 07:35:06 -07:00
Jonathan Lane
2c0a060cd2
Update Playwright to 1.38 ( #40418 )
...
* Update Playwright from 1.37.1 to 1.38.0
* Add changelog
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-09-27 07:34:33 -07:00
Maikel David Pérez Gómez
6728e73505
Fix the visibility icon ( #40419 )
...
* Remove help icon on top of the hidden icon
* Remove help icon on top of the non filterable icon
* Add changelog file
2023-09-27 10:00:10 -04:00
RJ
858fdecc52
fix: cys site assembler color palette persistence bug ( #40396 )
...
Fix the bug where sometimes switching from user defined color palettes to a pre-defined color palette won't set some colors.
2023-09-27 16:27:04 +08:00
Corey McKrill
c752c60fd4
HPOS: Add background sync ( #39952 )
...
* HPOS: Add a recurring event to check for unsynced orders
Adds an event that will get scheduled when HPOS data sync gets enabled.
The event will run every 6 hours and check for unsynced orders. If it
finds any, it will queue up the data syncing batch processor.
Fixes #39626
* Add button to sync orders immediately
* Add changefile(s) from automation for the following project(s): woocommerce
* Wrap AS function calls to avoid errors in unit tests
* Use WC_Queue methods instead of AS functions
* Add a filter to customize the sync check time interval
* Ensure retrieved pending sync count is not a cached value
* Change sync button style to link
* Formatting fixes
* Fix unit test
* Add BatchProcessingController dependency to DataSynchronizer
* Add background sync functionality to DataSynchronizer
* Tweaks to watchdog scheduling in batch processor
* Adds a filter to modify the amount of time the watchdog schedule
gets delayed when calling the scheduler using `$with_delay`
* Adds a check to ensure the scheduler doesn't overwrite an existing
scheduled event. This is because the scheduler was getting called
multiple times in a request, first without `$with_delay` (so the event
would run right away) and then again with `$with_delay`, so that the
event would then be delayed by an hour. The result was that the event
was always scheduled for an hour later, even when we want it to run
right away.
* Improve query arg for running sync via UI
* Remove sync check from COTController, add message about background sync
* Abstract the removal of background sync events
* Remove accidental test code
* Add changefile(s) from automation for the following project(s): woocommerce
* Ensure bg sync event is not scheduled when in continuous mode
* Add missing @since comments on new filter hooks
* Add caching to check for scheduled bg sync events
* Use constants for bg sync modes
* Add unit tests
* Switch from init hook to shutdown
* Switch bg sync settings from filters to options
* Update unit tests
* phpcs fix
* Tweak "Background sync is enabled" message
Only show this if it is enabled while real-time sync is disabled.
Otherwise the message could be confusing to users who just check the
"Compatibility mode" box, since background sync doesn't have any UI.
---------
Co-authored-by: github-actions <github-actions@github.com>
2023-09-27 10:14:23 +02:00
Paul Sealock
7b9abcc79a
TreeSelectControl: Handle ROOT selection with individuallySelectParent ( #40422 )
...
* Handle selecting ROOT and includeParent
* changelog
2023-09-27 16:14:13 +13:00
Christopher Allford
b6674ef0c1
Fixed PR Changelog Generation Workflow ( #40410 )
...
This adds support for using double-quotes in the
description of the PR.
2023-09-26 14:26:12 -07:00
Barry Hughes
67dadbb249
Fix Code Sniff Action Change Detection ( #40438 )
2023-09-26 13:02:11 -07:00
Fernando Marichal
5fa98ace1a
Fix attribute list styles ( #40378 )
...
* Fix attribute list style
* Add changelog
* Move changelog
* Fix attributes style
2023-09-26 15:08:57 -04:00
Christopher Allford
c7bc017faa
Test No Change
2023-09-26 11:50:51 -07:00
Christopher Allford
47a5a24888
Test Unrelated
2023-09-26 11:47:15 -07:00
Christopher Allford
7ff030c2e7
Test Error
2023-09-26 11:41:10 -07:00
Christopher Allford
7de08e1751
Fixed PHPCS Base Comparison
2023-09-26 11:40:38 -07:00