Commit Graph

54275 Commits

Author SHA1 Message Date
Sagar Tamang a44386a70b
fix/40319: Fatal error in class-wc-helper-updater.php when transient parameter is null. (#40733)
* fix - Fatal error in class-wc-helper-updater.php when transient parameter is null.

* Added changelog

* fix - phpcs errors
2023-10-18 14:51:51 +02:00
louwie17 cee08e44d9
Hide header on variation edit page and remove use of `:has()` CSS selector (#40843)
* Make sure we hide the header on the variation edit page and remove use of has()

* Add changelogs
2023-10-18 09:22:55 -03:00
nigeljamesstevenson 3be5b840d2
Update order status to cancelled (#40318) 2023-10-18 13:02:43 +01:00
RJ a1505531bb
fix: cys intro screen parallelised network calls (#40827) 2023-10-18 18:15:36 +08:00
Jaclyn Chen 2c557f6d30
Update mobile app onboarding modal to be two steps (#40613) 2023-10-18 15:22:46 +08:00
RJ 1e86558083
fix: cys design-with-api loader should not loop (#40829) 2023-10-18 15:14:51 +08:00
Niels Lange 7f64791745
Add docs “Translating WooCommerce” (#40744) 2023-10-18 10:17:47 +07:00
Ilyas Foo e25cbb1f87
Add active theme label to intro screen (#40824)
* Add detect of current theme for active theme label

* Lint I have, master Yoda

* Changelog
2023-10-18 10:18:08 +08:00
Joel Thiessen b2197bb423
[Woo AI] Add background removal feature for the legacy product editor images (#40833)
Co-authored-by: Joel <dygerati@gmail.com>
Co-authored-by: Thomas Shellberg <6723003+tommyshellberg@users.noreply.github.com>
Co-authored-by: Nima Karimi <73110514+nima-karimi@users.noreply.github.com>
2023-10-17 14:27:24 -07:00
Maikel David Pérez Gómez 5dedfd7ebe
Add Downloads section to the single variation page (#40807)
* Add support to downloads block to use the context postType

* Register the downloads block into the ProductVariationTemplate

* Add changelog files

* Fix compilation error

* Fix download block init function
2023-10-17 16:58:53 -03:00
Moon fdc2401fcc
Fix badge size issue when a number larger than 3 digits is used (#40624)
* Fix badge design issue for big numbers

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

* Update packages/js/components/src/badge/style.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-10-17 12:30:41 -07:00
Marco Almeida d98e676998
Merge branch 'woocommerce:trunk' into patch-4 2023-10-17 19:11:13 +01:00
Joni Erkkilä 3348ebe67d Merge branch 'trunk' into update/breadcrumb-for-accessibility 2023-10-17 21:09:27 +03:00
berislav grgičak 7cd33b5e95
Marketplace search improvements (#40667)
* Show themes first if no extensions

* Empty search load discover page

* Show three items per row if not dividable by four

* Update search per page to 8 for large screens

* Show 8 items on large screens

* Prevent same tab click

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

* Fix function name

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-17 18:32:23 +02:00
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
Niels Lange 6603e2bcad
List other language tools 2023-10-17 10:33:25 +07:00
Rodel Calasagsag a1e6d8828a Delete extra changelog 2023-10-17 11:21:32 +08:00
Niels Lange 4a8c446007
Remove superlative sentence 2023-10-17 09:52:28 +07:00
Niels Lange 80aad6da83
Explain how to locate the corresponding language code 2023-10-17 09:49:27 +07:00
Niels Lange 3e9f2c29ac
Display full URL 2023-10-17 09:40:15 +07: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
Joni Erkkilä c4cbaf495b Capitalize aria-label value 2023-10-14 09:39:08 +03:00
Joni Erkkilä 4d133b4ca8 Merge branch 'trunk' into update/breadcrumb-for-accessibility 2023-10-14 09:28:42 +03: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