Commit Graph

54364 Commits

Author SHA1 Message Date
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
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
Niels Lange ac500dcd34
Remove developer doc note 2023-10-13 15:58:10 +07:00
Niels Lange 428ce8ec4f
Save additional *.md liniting error 2023-10-13 13:29:40 +07:00
Niels Lange ab281ac1d2
Fix *.md linting errors 2023-10-13 13:07:51 +07:00
Niels Lange 715b4ccc31
Add docs “Translating WooCommerce” 2023-10-13 12:56:48 +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
louwie17 c4c56f3fc8
Add variation switcher in footer for variation page (#40713)
* Add variation switcher in footer for variation page

* Add productId to make sure template is updated correctly

* Don't show bar when less then 2 variations.

* Add class for when page is scrolled to bottom

* Add changelogs

* Add tracks

* Fix lint error

* Fix css lint issues
2023-10-12 11:56:48 -03:00
Chi-Hsuan Huang 61a68131bd
Add wca test tool to reset Customize Your Store task (#40728)
* Add reset cys tool

* Add changelog

* Reset style

* Fix reset template

* Update actions.js

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>

---------

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2023-10-12 09:05:58 -05:00
Jason Kytros 40852f160e
Prevent global attribute terms from being automatically selected (#40729)
* Prevent global attribute terms from being automatically selected

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-12 11:03:03 -03:00
Tom Cafferkey 4c060e8b28
Update WooCommerce Blocks to 11.3.0 (#40710) 2023-10-12 13:12:28 +01:00
Chi-Hsuan Huang 12a6bdc58c
[Customize Your Store] Add look and feel tags to color choices (#40698) 2023-10-12 06:58:50 -05:00
Jorge Torres e4f96765de Add changelog 2023-10-12 12:56:59 +01:00
Jorge Torres 74a60c2e9f Hide “Preview” icon when order is locked 2023-10-12 12:56:56 +01:00
Dan Q 874a3b5f7d
Cache Marketplace search results (#40492) 2023-10-12 11:44:37 +01:00
Dan Q 952e4bd7fe Appease linter 2023-10-12 10:56:46 +01:00
Dan Q a23fbbbd63 Manually resolve linting issues created by trunk rebase 2023-10-12 10:35:51 +01:00
Dan Q 53d3f95b3d Add AbortSignal (from trunk) into merged branch 2023-10-12 10:29:43 +01:00
Dan Q 744d07cbee Merge branch 'trunk' into add/wccom-18292-cache-marketplace-results 2023-10-12 10:06:33 +01:00
Chi-Hsuan Huang 532bb3056e
Replace font ai suggestion with pre-defined rule-based approach (#40696) 2023-10-12 01:35:46 -05:00
Chi-Hsuan Huang 2f47695ebc
[Customize Your Store] Preload ai loader image (#40697) 2023-10-12 01:12:24 -05:00
Chi-Hsuan Huang e87835e95b
Improve CYS font/color performance (#40701)
* Move BlockEditorProvider to variation container and set useSubRegistry to true

* Add custom iframe component

* Add changelog
2023-10-12 12:32:20 +08:00
Chi-Hsuan Huang 8be56d7fcf
Add `woocommerce_admin_customize_store_completed_theme_id` option to allowed list (#40695)
* Add woocommerce_admin_customize_store_completed_theme_id option to allowed list

* Add changelog
2023-10-12 12:25:12 +08:00
Ilyas Foo 4bc7964b36
Remove retry button when offline in CYS (#40694)
* Remove retry button and update copy when internet is not available in intro page

* Changelog

* Update test
2023-10-12 10:49:25 +08:00
Fernando Marichal ff51b07da3
Change the blocks editor header to support variations (#40606)
* Add variation name and parent id to REST API

* Add variation title

* Add changelog

* Change changelog

* Fix lint

* Add changelog

* Fix typo

* Modify header check
2023-10-11 15:34:26 -03:00
Maikel David Pérez Gómez 2cff75c73c
Add virtual and downloads related controls to variation management flows (#40567)
* Add Toggle shipping item to the variations quick actions menu

* Add Downloads -> Set download limit item to the variations quick actions menu

* Add Downloads -> Set download expiry item to the variations quick actions menu

* Add Downloads -> Upload files item to the variations quick actions menu

* Add changelog file

* Fix some styles conflicts and set default uploaded files

* Hide the toggle shipping and downloads menu items behind the feature flag product-virtual-downloadable

* Fix unit tests
2023-10-11 12:50:00 -04:00
roykho 91fe337111
Update WooCommerce Blocks to 11.3.0 2023-10-11 08:50:29 -07:00
Maikel David Pérez Gómez eb9a8b3cde
[Downloads] File list (#40526)
* Add downloads section

* Create and register the downloads block

* Conditionally remove the upload button from the media upload component

* Create upload image component

* Add media uploader component to the downloads block

* Add downloads table

* Add remove file feature to the downloads table

* Set downloadable to false when there are no download files

* Add support to remove uploaded file

* If the file has a custom name added by the user, we show it first. The actual file name is then shown in a second line.

* Add changelog files

* Fix linter error

* Address feedback from comments

* Fix allowed media types

* Register the new feature flag product-virtual-downloadable

* Hide the downloads section behind the feature flag product-virtual-downloadable

* Update editor settings after sync blocks with template

* Get allowedMimeTypes from the editor settings

* Fix linter errors
2023-10-11 10:37:41 -04:00
Rodel Calasagsag 0db95f3750 Add changelog 2023-10-11 20:41:08 +08:00
Rodel Calasagsag 5587d752c9 Minor spacing fix 2023-10-11 20:37:48 +08:00
Rodel Calasagsag c3a65eefaa Start waiting for response before click 2023-10-11 20:37:36 +08:00
Rodel Calasagsag 90d7f160d5 Implement 5min timeout 2023-10-11 20:36:18 +08:00
Ismael Martín Alabarce db5291c6f9
Mark Set up WooPayments task completed only after onboarding is complete (#40665)
* Handle partially onboarded accounts in WooPayments task

Being completed only after completely finishing the onboarding process.

* Add changelog

* Fix PHPCS errors
2023-10-11 14:12:48 +02:00
nigeljamesstevenson e1d76d680b
Delete .github/workflows/test-assistant-api-with-date.yml
no longer required - used for testing a published workflow
2023-10-11 12:06:44 +01:00
github-actions[bot] c359a947e2
Update changelog.txt from release 8.2.0 (#40680)
Prep trunk post release 8.2.0

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-10-11 09:25:50 +02:00
nigeljamesstevenson 026c3ea20d
Ensure HPOS is disabled if ENABLE_HPOS is set to '0' (#40528)
* Ensure HPOS is disabled if ENABLE_HPOS is set to '0'

* update spacing and changelog

* log ENABLE_HPOS value for GitHub action

* remove log ENABLE_HPOS value for GitHub action

* updates to HPOS using REST API

* update spacing

* code tidy up

* workflow and global-setup updates after review

* update workflow for api tests

* workflow updates

* delete .github/workflows/pr-build-and-e2e-tests-non-hpos.yml

* update workflow

* update api setup for HPOS

* updates to workflows for api references and setup updates

* add in ENABLE_HPOS check

* update API tests BASE_URL

* updates after review

* update error text

* remove extraneous variable names
2023-10-11 15:03:24 +08:00
rodelgc c64ae36956
Fix recently failing "API on WP Latest" job in release testing workflow (#40453)
* Add changelog

* Add dedicated PW config and global setup files

* Add step to download chromium

* Specify config and env var

* Fix trivial whitespaces

* Disable Slack notif for now

* Re-enable Slack summary

* Simplify getting major, minor version numbers

* Use single line for response wait
2023-10-11 14:46:46 +08:00
RJ 773baea857
fix: cys design with ai duplicate color validation (#40670) 2023-10-11 13:41:34 +08:00
Ilyas Foo 1b18634ad3
Fix CYS font pairing issues (#40668)
* Remove invalid text parameter used to optimize loaded font

* Fix preview not loading the heading and text font families

* Changelog
2023-10-11 13:40:08 +08:00
Alejandro López Ariza a1f180da2c
Update stable tag to 8.2.0 (#40682)
woorelease: Update stable tag to 8.2.0
2023-10-11 00:07:46 +02:00
Jon Lane ff4645875e Add changelog 2023-10-10 14:22:12 -07:00
Jon Lane c2c85c9d88 Delete onboarding.js 2023-10-10 14:17:56 -07:00
Corey McKrill a590f8945d
Docs: Add linting rules to style-guide.md (#40647) 2023-10-10 12:12:59 -07:00
Brent MacKinnon 51626a09ec
Update style-guide.md 2023-10-10 13:11:14 -03:00