Commit Graph

54092 Commits

Author SHA1 Message Date
Roy Ho 96cdb29980
Update WooCommerce Blocks to 11.3.1 (#40830) 2023-10-17 08:47:15 -07:00
Ismael Martín Alabarce c598a88d77
Manually prepare packages for release (#40826)
Manually run package release prepare for @woocommerce/components

To avoid GH workflow issues
2023-10-17 16:32:20 +02:00
nigeljamesstevenson bfb47ee8aa
Release test workflow: support WooAF draft releases (#40786) 2023-10-17 14:19:46 +01:00
nigeljamesstevenson 2b82e0b092
Migration of e2e core critical flows (#40785) 2023-10-17 10:36:26 +01:00
Miguel Pérez Pellicer 7f4d6459af
Add documentation for WooCommerce Class Reference (#40754) 2023-10-17 13:06:22 +04:00
Miguel Pérez Pellicer 49073f796e
Add documentation for Using custom attributes in menus and taxonomy archives (#40755) 2023-10-17 13:05:54 +04:00
Miguel Pérez Pellicer ff03403d3f
Add documentation for Removing /product/ , /product-category/ , or /shop/ from the URLs (#40753)
* Migrate documentation for Removing /product/ , /product-category/ , or /shop/ from the URLs

* Markdown linter
2023-10-17 12:58:59 +04:00
Miguel Pérez Pellicer cfd0ff1da8
Add documentation for Adding a Section to a Settings Tab (#40751)
* Add documentation for Adding a Section to a Settings Tab

* Modify links
2023-10-17 12:49:29 +04:00
Miguel Pérez Pellicer 6c3ed1c7d0
Revisit docs for HPOS (#40756) 2023-10-17 12:49:03 +04:00
Rodel Calasagsag a1e6d8828a Delete extra changelog 2023-10-17 11:21:32 +08:00
nigeljamesstevenson dd51de7126
Skip assembler-hub e2e tests on daily run (#40646) 2023-10-17 00:31:00 +01:00
nigeljamesstevenson 358a51565f
Remove onboarding.js from e2e tests (#40681) 2023-10-16 23:44:53 +01:00
nigeljamesstevenson b91e4bc14c
Update changelog.txt from release 8.2.1 (#40810) 2023-10-16 21:22:25 +01:00
nigeljamesstevenson 9850cba17d
Update stable tag to 8.2.1 (#40811) 2023-10-16 21:18:35 +01:00
nigeljamesstevenson 3660302c3b woorelease: Update stable tag to 8.2.1 2023-10-16 21:13:10 +01:00
WooCommerce Bot 409246a1c2 Prep trunk post release 8.2.1 2023-10-16 20:06:09 +00:00
Fernando Marichal b1451b8cf8
Display notice at the top single variations (#40679)
* Rename notice component

* Add notice-edit-single-variation

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

* Add dismiss button to notice

* Add use-notice hook

* Refactor hook

* Changes in notice

* Rename

# Conflicts:
#	packages/js/product-editor/src/blocks/product-fields/notice/index.ts

* Create helper class

* Add notice block to general tab

* Add notice to other tabs

# Conflicts:
#	plugins/woocommerce/src/Admin/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php

* Change comment

* Add parent product name to copy

* Fix lint

* Removed space

* Add changelogs

* Refactor notice block

* Remove context

* Refactor useConfirmUnsavedProductChanges

* Add useConfirmUnsavedProductChanges to Notice block

* fix lint

* Add return to `registerWooBlockType`

* Remove `useConfirmUnsavedProductChanges`

* Fix links styles

* Remove ProductEditorHelper use

* Remove ProductEditorHelper

* Refactor noticeLink

* Fix isResolving issue
2023-10-16 15:07:50 -04:00
nigeljamesstevenson 860ac7b8d4
Delete changelog files based on PR 40729 (#40799) 2023-10-16 18:45:40 +01:00
Christopher Allford 436e6c0482
Add Triage Label Delay (#40783)
This makes sure that authors have an opportunity to add a label before
the triage label gets added due to a lack of labels.
2023-10-16 10:36:07 -07:00
WooCommerce Bot 5bc1057d37 Delete changelog files for 40729 2023-10-16 17:34:48 +00:00
And Finally 03897613ac
Marketplace: modernize skeleton loaders (#40131) 2023-10-16 17:18:28 +01:00
Niels Lange d03ac90985
Remove developer level doc note (#40746) 2023-10-16 22:14:55 +07:00
And Finally 03ba981eea This branch replaces all "skeleton" loading indicators on the Marketplace with more-standard ones. It also:
- Aims to make those skeleton loaders more accurately represent this size and shape of the content that will replace them.
- Refactors the code so that components are responsible for hosting their own skeleton code, attached to an `isLoading` variable, making it easier to stay consistent as changes are made in future.
2023-10-16 16:08:33 +01:00
Nathan Silveira c3ffd5af95
Add 'min' and 'max' attributes to number block (#40715)
* Add 'min' and 'max' attributes to number block

* Rename string
2023-10-16 12:07:17 +00:00
Niels Lange c4e0113c09
Fix order confirmation page styles (#40666)
* Fix order confirmation page styles

* Fix order confirmation page styles

* Add changelog file
2023-10-16 12:37:51 +02:00
Ismael Martín Alabarce 8f533167f7
Add PhoneNumberInput component – cooldown (#40335)
* Move component from WooPayments

* Expose component on the package

And include its style sheet.

* Add missing global typing

* Fallback to alpha2 codes

when wcSettings.countries is not available

* Add build data script and its output

* Move defaults to their own file

* Add readme and JSDocs

* Add storyboard examples

* Add JS unit and snapshot tests

* Move `DataType` to a `types.ts` file

To get rid of the type definition in the build data script

* Fix markdown issues

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

* Minor markdown update

* Fix input sanitization

* Add component output to storybook examples

* Remove consecutive spaces or hyphens from input sanitization

* Improve consecutive character sanitization

Move it to the component keyDown event to avoid the caret to be displaced

* Ensure imports from @wordpress/element

* Refactor to avoid using lodash

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

* Use $gray-5 for highlighted items for better contrast

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-16 10:19:36 +02:00
Rodel Calasagsag de22698dc7 Add changelog 2023-10-14 16:20:47 +08:00
Rodel Calasagsag f63b8353ee Add support for draft releases 2023-10-14 16:20:33 +08:00
Rodel Calasagsag b5421de444 Use chrome user agent 2023-10-14 16:19:31 +08:00
louwie17 7f25060044
Variation switching when deleting (#40780)
* Add variation switcher hook for easier use across multiple components

* Add unregister function for validation

* Add changelogs

* Remove stray console

* Add unRegisterValidator function
2023-10-13 19:25:58 -04:00
Matt Sherman b4474fc633
Doc: Migrate naming conventions (#40781) 2023-10-13 17:56:26 -04:00
Jon Lane b4b107f4f9 Few additional flows 2023-10-13 14:40:59 -07:00
Jon Lane fc5ed4c3f3 Changelog added 2023-10-13 14:36:11 -07:00
Jon Lane fc1f21b98b Added new flows 2023-10-13 14:35:08 -07:00
Jon Lane 37ededc875 Migration of existing page 2023-10-13 13:37:40 -07:00
Maikel David Pérez Gómez df2bf33bcd
Add edit button to each variation to redirect to the single variation page (#40709)
* Add edit button to each variation to redirect to the single variation page

* Add changelog file

* Fix blocks and plugin registration

* Add router redirection

* Fix css conflicts with the prev experience

* Fix linter errors

* Add changelog file
2023-10-13 16:22:11 -04:00
Maikel David Pérez Gómez 177f8bbe6b
[Virtual] ‘Needs shipping’ toggle (#40735)
* Add virtual section and block to the Shipping tab

* Set shipping disabled when the product is virtual

* Add changelog files

* Fix linter errors
2023-10-13 16:19:32 -04:00
Jonathan Lane f0c5e7a22a
Migrate testing instructions doc from wiki (#40720)
* Migrate testing instructions doc from wiki

* Linting fixes

* Linting fixes

* Updated URLs for images

* Add changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-10-13 12:58:01 -07:00
Matt Sherman 161219bf73 Fix linting issues 2023-10-13 15:51:27 -04:00
Matt Sherman 70557d0f8b Changelog 2023-10-13 15:42:50 -04:00
Matt Sherman 0ba4c1d80c CSS naming conventions migration 2023-10-13 15:41:57 -04:00
Matt Sherman 60b77eef28 Naming conventions migration 2023-10-13 15:41:47 -04:00
Maikel David Pérez Gómez ff062eed4d
Add new file dropdown menu (#40731)
* Create downloads menu component

* Add the menu to the downloads section

* Create upload-files-menu-item component

* Add upload-files-menu-item to the downloads menu

* Create media-library-menu-item component

* Fix media library menu item zindex conflict with the media upload modal

* Create insert-url-menu-item component

* Add insert-url-menu-item to the downloads menu

* Add support for digital product when product-virtual-downloadable feature is enabled

* Add changelog files

* Remove non needed style

* Fix linter errors

* Fix redirection logic

* Keep drop zone on to of the table

* Avoid duplicate files

* Stringify download ids before persist them

* Fix summary block property value under SimpleProductTemplate

* Fix linter error
2023-10-13 15:25:37 -04:00
Alejandro López Ariza 39f8d627bf
Update Action Scheduler to 3.6.4 (#40717)
* Update Action Scheduler to 3.6.4

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-13 12:49:07 +02:00
Niels Lange ac500dcd34
Remove developer doc note 2023-10-13 15:58:10 +07:00
berislav grgičak f712c23b66
Fix Marketplace theme labels and links (#40661)
* Update search title

* Update no result title

* Open products in the same tab
2023-10-13 05:56:38 +02:00
Chi-Hsuan Huang f743a7d4f6
Fix cys ai font choosing state (#40742)
* Fix chooseFontPairing state

* Add changelog
2023-10-12 20:53:20 -05:00
Chi-Hsuan Huang 322fbd6eb7
Make cys intro page responsive (#40725)
* Make cys intro page responsive

* Add changelog

* Change min-width to 820px

* Change color prompt version
2023-10-12 19:43:32 -05:00
Maikel David Pérez Gómez 985d9596d6
Add Delete variation item to the editor actions menu (#40672)
* Create DeleteVariationMenuItem to be added to the Header's MoreMenu

* Move registration menu item fills to each product/variation page

* Export RemoveConfirmationModal from the product editor package

* Request for variation deletion

* Show notice when deleting variation

* Redirect to parent product page after deleting the variation

* Add tracking event

* Manage isRemoving state under RemoveConfirmationModal

* Add changelog files

* Fix linter error

* Fix delete variation modal title

* Add tracking events

* Use the right prop to get the variation name

* Add name and parent_id to the ProductVariation type definition

* Add changelog file

* Feedback modal should get the correct product id when editing a variation

* Fix rebase conflicts

* Fix unit test
2023-10-12 15:59:13 -04:00
Barry Hughes 2373416574
Hide "Preview" icon when order is locked (#40730) 2023-10-12 09:29:16 -07:00