Commit Graph

11868 Commits

Author SHA1 Message Date
Matt Sherman afa2b768b5 Refactor server-side block registration 2023-10-18 15:16:17 -04:00
Matt Sherman 2acd1b54e1 Auto add attributes and uses_context during server-side registration 2023-10-18 15:16:17 -04:00
Matt Sherman 20acfe5e37 Update documentation 2023-10-18 15:16:16 -04:00
Matt Sherman 47cc46aac4 Implement hide conditions 2023-10-18 15:16:16 -04:00
Matt Sherman 04678d94f9 Add unit tests for hide conditions 2023-10-18 15:16:16 -04:00
Ron Rennick c79738697a
Do not remove "sale date from" when the sale is still active (#39948) 2023-10-18 14:05:19 -03:00
Ron Rennick 652e7648f8
Update/breadcrumb for accessibility (#40529) 2023-10-18 13:36:13 -03:00
Jonathan Lane 8e5223b383
Add test to add and remove order notes. (#40317)
* Add test to add and remove order notes.

* Changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-10-18 17:37:02 +02:00
Maikel David Pérez Gómez 39019d2750
Manage single variation as virtual (#40809)
* Add virtual section to the product variation template

* Add changelog file

* Let the toogle block to use inverted value to be checked

* Fix virtual toggle to be inverted

* Add changelog file
2023-10-18 10:47:33 -03:00
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
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
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
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
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 3660302c3b woorelease: Update stable tag to 8.2.1 2023-10-16 21:13:10 +01: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
WooCommerce Bot 5bc1057d37 Delete changelog files for 40729 2023-10-16 17:34:48 +00: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
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
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
Matt Sherman b4474fc633
Doc: Migrate naming conventions (#40781) 2023-10-13 17:56:26 -04:00
Jon Lane fc5ed4c3f3 Changelog added 2023-10-13 14:36:11 -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 70557d0f8b Changelog 2023-10-13 15:42:50 -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
Marco Almeida 2361f0512a
Create 39948-patch-4 changelog file 2023-10-13 18:02:28 +01: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
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