Commit Graph

52342 Commits

Author SHA1 Message Date
Emran Ahmed 73829979fc When triggering handlers for `checkout_place_order[_*]` events, supply extraParameters.
Adding `extraParameters` to `triggerHandler` to gateways manipulate the checkout if needed with more data
2023-05-05 12:24:17 -07:00
Joshua T Flowers f1db682cc6
Fix summary toolbar positioning and selection on blur (#38086)
* Remove block selection on summary input blur

* Move block props to wrapper around rich text

* Fix content ID and for label

* Add changelog entry

* Use useInstanceId instead of lodash uniqueId
2023-05-05 11:52:12 -07:00
Joshua T Flowers bb244484d3
Update shipping dimensions image in new product blocks editor (#38101)
* Update shipping dimensions image SVG

* Allow labels in shipping dimension SVG

* Add changelog entry
2023-05-05 09:15:35 -07:00
Joshua T Flowers 14ed88cd1f
Prevent double debouncing of iframe editor callback (#38087)
* Prevent double debouncing of iframe editor callback

* Add changelog entry
2023-05-05 09:15:07 -07:00
“Chris f0ab1de963 Merge branch 'add/tt3-comp-button-classes' of github.com:woocommerce/woocommerce into add/tt3-comp-button-classes 2023-05-05 15:41:45 +03:00
Chris Lilitsas dab5f98aea
Fix typo for echoing the class name
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-05-05 15:36:08 +03:00
“Chris c55af4836e Merge branch 'trunk' into add/tt3-comp-button-classes 2023-05-05 15:31:22 +03:00
Nathan Silveira 95ca53675f
Fix TreeControl bugs in single selection mode (#38079)
* Add onFirstTreeItemBack hook

* Fix item not being selected on single mode when it had children

* Remove if statement that prevented items with children from being selected in single mode

* Add storybook example with onFirstTreeItemBack

* Remove onFirstTreeItemBack

* Replace radio button with checkbox

* Update changelog
2023-05-05 09:21:32 -03:00
aezazs-multidots 24a59c8d59
updated product description tips text (#38070)
* updated product description tips text

* Add Description in changelog
2023-05-05 20:10:58 +08:00
Luigi Teschio 7ba4c8b5ca
Update WooCommerce blocks package to 10.0.4 (#38135) 2023-05-05 14:07:38 +02:00
Chi-Hsuan Huang 208ac81ba3
Fix tasklist completion message when no tasks are completed (#38092)
* Fix task list progress title

* Add changelog
2023-05-05 17:48:10 +08:00
github-actions[bot] cabe966291
Delete changelog files based on PR 37783 (#37965)
Delete changelog files for 37783

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-05 20:16:28 +12:00
github-actions[bot] 6cd8695407
Delete changelog files based on PR 37907 (#37963)
Delete changelog files for 37907

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-05 20:16:17 +12:00
github-actions[bot] 112c4a03c3
Delete changelog files based on PR 37753 (#37960)
Delete changelog files for 37753

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-05 20:15:59 +12:00
Adrian Duffell fde7290e48
Add "SlotFill Examples" Feature to Beta Tester Plugin (#38113)
* Update WCA Test Helper JS script dependencies

Add the WooCommerce Admin app script as a dependency to ensure it loads before WCA Test Helper. This enables WCA Test Helper scripts to check available features.

* Add experimental_woocommerce_wcpay_feature fill

* Add beta-tester-slotfill-examples feature

* Fix a bug

* Fix lint issues

* Add changelog
2023-05-05 16:10:26 +08:00
Joshua T Flowers 4deb5b3f84
Remove drag and drop handle in product blocks editor (#38127)
* Remove drag and drop handle in product blocks editor

* Add changelog entry
2023-05-05 04:55:57 -03:00
louwie17 ce07458752
Update disable drag and drop within images block (#38045)
* Allow disabling of drag and drop within ImageGallery component

* Add changelogs

* Fix onReplace logic for images block

* Fixing linting error

---------

Co-authored-by: Joel <dygerati@gmail.com>
2023-05-05 04:45:26 -03:00
Chi-Hsuan Huang ef7bf6a28b
Update Payfast logo and title (#38090)
* Update Payfast title

* Update Payfast logo

* Add changelog

* Update Payfast 72x72 logo
2023-05-05 15:42:47 +08:00
Thomas Roberts 6057798c34
Allow changelogger regex to find directories with woocommerce* names (#35642)
* Allow matcher to find directories with woocommerce* names

* Allow package preparation script to run regardless of directory name repo is in
2023-05-05 10:20:11 +12:00
Ron Rennick 358e1a4066
Prevent height flickering when selecting a variation in TT3 (#38115) 2023-05-04 15:13:03 -03:00
Joel Thiessen 4729ea054b
Adding basic ordering to tab slot fill (#38081) 2023-05-04 10:57:19 -07:00
Joel Thiessen b3d9c706e1
Removing auto-draft as wc post type to fix post publish time bug (#38099) 2023-05-04 10:50:10 -07:00
Matt Sherman 79377fb883
Use snackbar to show variations generated message, instead of browser alert (#38103)
* Use snackbar instead of alert when showing generated variations message

* Changelog
2023-05-04 13:05:16 -04:00
Ilyas Foo 8e6fd416e0
Fix partial data import with product task imports (#38089)
* Fix product task import mapping issue with en_US locale

* Sanitize template name

* Changelog
2023-05-04 22:54:41 +08:00
Peter Fabian 81b899b55e
Added a button to download SSR to a file. (#38110) 2023-05-04 15:58:33 +02:00
“Chris 5b3666b014 Add changelog 2023-05-04 13:02:49 +03:00
“Chris f60b7e7b4b Prevent margin-top on the first element in description 2023-05-04 13:01:15 +03:00
Matt Sherman 865fcd053c
Fix product data field description styling, including checkboxes and radio buttons (#38066)
* Set .description to block for everything except for those for checkboxes and radio buttons

* Changelog
2023-05-03 18:08:46 -04:00
Jorge A. Torres 9bbe72d431
Fix/issue 36360 (#37883) 2023-05-03 18:23:45 -03:00
Barry Hughes d87fc28ad4
Update wp org listing description (#38074) 2023-05-03 14:23:24 -07:00
Paul Sealock 98fc65ce02
Code Freeze CLI: Use version bump command in Code Freeze action (#38067)
get basic thing working
2023-05-04 09:12:20 +12:00
Peter Fabian cd8dcf29a7 Updated plugin description, take 2. 2023-05-03 22:46:01 +02:00
barryhughes 546ef267a9 Remove phpcs:ignore tag. 2023-05-03 11:10:44 -07:00
barryhughes f8af80a0d4 Document hook, mark one as duplicate. 2023-05-03 11:09:52 -07:00
Ron Rennick 066e269da3
Create orders as 'auto-draft' by default in admin (#37643) 2023-05-03 11:28:29 -03:00
Paul Sealock 05452979df
Code Freeze CLI: Add version bump (#38036) 2023-05-03 20:31:09 +12:00
Chi-Hsuan Huang ea58ae339a
Add core profiler "Welcome to Woo!" page (#37952)
* Add core profiler - welcome to woo page

* Add changelog

* Update checkbox styles

* Update copies

* Add test

* Add enable prop to window.wcTracks type

* Add tracks

* Add explat changelog

* Fix import

* Update default tracking value

* Update copies

* Fix test

* using invoked promise instead of useState

- take advantage of xstate's built ins for side effects instead of  useEffect/hooks
- discovered that error result wasn't really handled in original useEffect
- use text labels instead of inline functions so that we can decouple the implementation from the machine model
- todo: can move the invoked function out elsewhere and also tests if needed (not necessary here because it's a simple call)

* use actions.choose instead of branching inside action 

- https://stately.ai/docs/xstate/transitions-and-choices/guarded-actions#the-choose-action
- makes it so that the machine model is serializeable
- todo: in the distant future i wonder if it might be tidier to have tracks be its own actor that just receives the same events that this machine does, that way it's just standalone instead of mixing up tracks with the implementation

* use dispatch instead of useDispatch

- decouples the implementation of the handler from the react component
- makes the handler testable on its own if needed
- makes the state machine testable without relying on external dependencies

* decoupled remaining function calls

* Fix lint error

* Fix style lint

* address xstate console warnings

- .withConfig() is a function call that returns a new object every invocation so we need to wrap it in useMemo to keep it stable

* Add optInDataSharing is false test

* Fix lint

---------

Co-authored-by: rjchow <me@rjchow.com>
2023-05-03 15:54:28 +08:00
Sam Seay 5f3a78b324
Remove bypass script that is causing CI checks to fail (#38037)
Remove bypass script that is causing CI checks to fail.
2023-05-03 19:30:41 +12:00
Joel Thiessen 3679f019bb
Adding attributes block to product block editor. (#38051) 2023-05-02 21:13:48 -07:00
Jorge A. Torres 3c27123aa2 Make changes per review 2023-05-02 17:11:36 -03:00
Matt Sherman 94599a14cf
Add product type options to product tracking (#38017)
* Add product_type_options to wcadmin_product_add_publish
* Add product_type_options to wcadmin_product_update
* Add product_type_options to other wcadmin_product_ events
2023-05-02 13:42:57 -04:00
Joshua T Flowers 6b141fa2c6
Add fixed toolbar to modal editor (#38031) 2023-05-02 08:45:50 -07:00
Shojib khan 0ae9ec0844
Solves Cross-Sells display variable product (#37616)
Solved cross-sells display issue on cart
2023-05-02 10:24:22 -04:00
Nathan Silveira 4145b6e0f7
Await triggerNoteAction before navigating when action is clicked (#38047)
* Await triggerNoteAction before navigating when action is clicked

* Add additional logic and use @woocommerce/navigation to navigate
2023-05-02 11:17:50 -03:00
Tomek Wytrębowicz d35e8f3c46 Fix path for `segment_label` in Products & Variations schema 2023-05-02 16:11:58 +02:00
Jorge A. Torres fa6ee94bc8 Add changelog 2023-05-02 10:17:45 -03:00
Peter Fabian 02dbd1f325
Update wp org listing description 2023-05-02 15:03:35 +02:00
Tomek Wytrębowicz fbd377b2ec Change `get_item_properties_schema` to be protected 2023-05-02 14:22:51 +02:00
Sam Seay 46aa3f2aa1
Add check for bot author to steps that should be skipped (#37949)
Add check for bot author to steps that should be skipped.
2023-05-02 15:21:35 +12:00
Corey McKrill f92e505d48
Fix comment list alignment in TT2 (#37894) 2023-05-01 17:03:48 -07:00