Commit Graph

11683 Commits

Author SHA1 Message Date
Moon f106ca16b9
Customize Your Store - Homepage sidebar (#40140) 2023-09-19 13:54:19 +08:00
Chi-Hsuan Huang e1f9264bb6
Add tracks to CYS assembler-hub and hide pages sidebar screen (#40156)
* Add tracks to assembler-hub and hide add pages menu

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

* Track sidebar menu item click event

* Update tour tracks

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-19 11:37:46 +08:00
nigeljamesstevenson 6b8e22c45e
Include plugin test results in Slack summary for daily tests (#39838) 2023-09-19 00:24:34 +01:00
David Anderson aad835a497
Make is_checkout() description more accurate 2023-09-18 21:51:53 +00:00
Veljko V a23e975eaa
Add new E2E test for Shopper Product-related flows (#40132)
* Add new E2E test to cover Shopper Product page

* Make product-related tests granular
2023-09-18 14:18:29 -07:00
Veljko V debb07d64d
Add new E2E test to cover Shopper My Account Addresses (#40114)
Add new E2E test to cover my account addresses
2023-09-18 13:44:05 -07:00
Ron Rennick b292cf547a
Update Action Scheduler to 3.6.3 (#40147) 2023-09-18 16:14:05 -03:00
nigeljamesstevenson 2d0fd11056
Remove Purchase task from onboarding task list (#40121) 2023-09-18 14:51:44 +01:00
github-actions 606f0ebaad Add changefile(s) from automation for the following project(s): woocommerce 2023-09-18 13:26:04 +00:00
Dan Q cddf65ad1f
Attempt to trigger auto changelog again 2023-09-18 14:17:41 +01:00
Dan Q e057e14239
Edit changelog file to match format of that seen elsewhere 2023-09-18 13:48:38 +01:00
Dan Q 0e88160fa3 Manually add changelog entry (don't know why this didn't get created from the PR) 2023-09-18 13:44:02 +01:00
Dan Q da7755a7c1 Merge branch 'trunk' into fix/wccom-18029-suppress-double-scrollbar 2023-09-18 13:34:32 +01:00
Chi-Hsuan Huang 8ce2611326
Add track events to customize store transitional page (#40143)
* Add cys transitional page tracks

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

* Update plugins/woocommerce-admin/client/customize-store/transitional/index.tsx

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>

* Update plugins/woocommerce-admin/client/customize-store/transitional/index.tsx

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>

* Update plugins/woocommerce-admin/client/customize-store/transitional/index.tsx

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>

* Fix tests

* Update query step for transitional step

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-09-18 19:01:12 +08:00
github-actions 2720fe0993 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-18 09:57:25 +00:00
Dan Q d339e9ff5b Rather than adding border, add color to border of search box
This prevents the "jiggle" issue.
2023-09-18 10:47:12 +01:00
Moon e3ccb47b19
Customize Your Store - Footer (#40136)
* Update sidebar text

* Add to query pattern and blocks

* Move EntityProvider to access blocks from the sidebars

* Filter footer blocks

* Implement highlight effect

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

* Update block list

* Use usePatterns

* Replace the last block instead of checking slug value

* Update block list

* Update footer sidebar

* Update sidebar item style

* Fix preview frame

* Update header and footer sidebar

* Remove console

* Sort patterns

* Fix item border style

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-09-18 17:29:29 +08:00
Kyle Nel e1d72bde0a
Marketplace: Add the query parameters to product page URLs (#39901)
* Marketplace: Add the right URL parameters to product URLs

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

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
2023-09-18 11:10:56 +03:00
Adrian Duffell 745dfe44a6
Add Tracks event for themes screen view (#40193)
* Add Tracks event for themes screen view

* Add changelog

* Use the load-themes.php hook
2023-09-18 15:19:34 +08:00
louwie17 9ea83d6382
Fix description styling and remove use of `woocommerce-page` in admin pages (#40218)
* Move the header data to the body as the header prop does not exist anymore

* Remove explicit setting of __unstableResolvedAssets given get_block_editor_settings already does this

* Remove use of woocommerce-page class in admin to avoid theme conflicts

* Add changelogs

* Revert change for quick test

* Two additional tweaks for admin related styling
2023-09-15 17:06:42 -03:00
Fernando Marichal 1a10ea78ce
Add variable product experiment (#40177)
* Check with Explat experiment toggling

* Enable `product-variation-management` feature

* Add changelog

* Refactor useCreateProductByType

* remove empty line
2023-09-15 16:59:00 -03:00
github-actions[bot] 215ae6cdf6
Delete changelog files based on PR 40221 (#40223)
Delete changelog files for 40221

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-15 14:38:28 -05:00
jonathansadowski 73d18d45eb
Do not send user meta data back in `woocommerce_get_customer_details` (#40221)
* Do not send user meta data back in `woocommerce_get_customer_details`

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

* Update plugins/woocommerce/changelog/fix-meta-data-customer-details

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-09-15 14:31:53 -05:00
Matt Sherman 6c47589953
Template API: Add after_add_block and after_remove_block actions (#40139) 2023-09-15 14:05:09 -04:00
Matt Sherman 3520b388d9 Add try/finally to ensure action hooks are removed 2023-09-15 12:59:30 -04:00
Matt Sherman e03acdf662 Simplify logic in is_detached() 2023-09-15 12:54:16 -04:00
Néstor Soriano a0a32d2e13
Fix cached refund not deleted when refund is deleted with HPOS active (#40197)
* Fix: cached refund was not deleted when refund was deleted.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-15 15:42:33 +02:00
Veljko V 426a8c2106
Add new E2E test coverage for Shopper My Account Downloads (#40100)
* Add new e2e test to cover my account downloads

* Include file name in the test

* Add missing changelog

* Update test to look for proper file name

* Exclude COD option and include order status
2023-09-15 18:54:32 +08:00
Veljko V c7161bb430
Improve existing E2E test page loads to verify one more element on the pages (#40008)
* Improve existing E2E test to look for more details

* Update test to include proper selectors

* Update selectors to match site data

* Add changelog

* Include data before all and delete after all

* Move data creation deeper inside test and wait for element visible
2023-09-15 18:01:48 +08:00
Chi-Hsuan Huang 7897a61a10
Add track events to customize store AI wizard (#40144)
* Add cys AI wizard tracks

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

* Revert ai API track name change

* Track AI API request network error

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-15 12:48:12 +08:00
Chi-Hsuan Huang 80eaece265
Add customize store transitional screen (#40122)
* Add CYS transitional screen

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

* Add tests

* Update preview loading style and add requeue param

* Fix visible logic

* Fix img size

* Update comments

* Fix lint

* Pre-fetch image and wait a 5s before redirecting to transitional page after clicking on done button

* Remove unneed overflow

* Move pre-fetch logic to xstate and use spinner for button loading state

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-15 12:01:02 +08:00
Nathan Silveira 95d7a6b86d
Improve Categories (Taxonomy) field UX (#40059)
* Add 'dialogNameHelpText' attribute to show on create taxonomy dialog

* Tweak CSS margins

* Add changelogs

* Rename "Save" to "Create" and set cancel button to Tertiary

* Add gray color to (optional)

* Create attribute to personalize label for parent
2023-09-14 16:02:16 -03:00
Moon ea300ef761
Update store currency on store location update (#40142)
* Update store currency when location changes

* Remove incorrect import

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

* Add space to trigger GH jobs

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-14 10:42:59 -07:00
Vedanshu Jain e82e91806d
Use object APIs in custom meta box so that relevant hooks are fired. (#40158) 2023-09-14 16:19:03 +05:30
Vedanshu Jain 4d9ae7811b Changelog. 2023-09-14 14:30:11 +05:30
Vedanshu Jain 1431b0d955 Use datastore method for adding new meta too. 2023-09-14 14:08:29 +05:30
Sam Seay 36c644a1c4
Customize your store header (#40107)
This closes #39718 by loading header patterns in the header customization menu of the assembler.
2023-09-14 20:24:46 +12:00
Vedanshu Jain 6acb7554f8 Use CRUD API instead of accessing data store directly so hooks are fired. 2023-09-14 13:44:30 +05:30
Rodel Calasagsag d5a18163da Merge branch 'trunk' into e2e/slack-daily-plugins 2023-09-14 15:21:48 +08:00
Jonathan Lane 473a53d542
Add test to check required fields on checkout (#40099)
* Add test to check required fields on checkout

* Add changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-09-14 15:10:20 +08:00
Nima Karimi ef0aacf2d2
Woo AI Release 0.4.0 (#40134)
Updating version and changelog
2023-09-14 06:24:19 +03:00
github-actions 4b61aaae04 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-13 15:12:16 +00:00
Matt Sherman 68607e02e8 Update comment to make it clearer why short-circuiting is used in hook 2023-09-13 11:00:27 -04:00
Matt Sherman b3ec4f982f Add unit tests for after_add_block and after_remove_block hooks 2023-09-13 10:55:43 -04:00
jonathansadowski 250bc9ea4e
Allow changelog in build zip (#40133)
* Allow changelog in build zip

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-13 09:12:51 -05:00
Jonathan Sadowski 0a867bc8b6 Update Action Scheduler to 3.6.3 2023-09-13 09:10:17 -05:00
Saad Tarhi 8399481566
Update WooCommerce blocks package to 11.1.0 (#40141) 2023-09-13 15:04:55 +01:00
Matt Sherman 036158ad4b Update test function code docs 2023-09-13 08:15:43 -04:00
Matt Sherman 514f96cbfe Add BlockInterface::remove() 2023-09-13 08:13:42 -04:00
Matt Sherman 0b83163d9c Changelog 2023-09-13 07:58:23 -04:00
Vedanshu Jain 43b32e23b0
Add added|updated|deleted_order_meta actions. (#40088) 2023-09-13 17:17:15 +05:30
Vedanshu Jain 252c349fd2 Updated docs. 2023-09-13 16:30:19 +05:30
Kyle Nel d1f935cca4
Add country to in-app marketplace search (#40091)
* Marketplace: remove orphaned components

* Marketplace: add country to search query

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

Co-authored-by: Cem Ünalan <raicem@users.noreply.github.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Cem Ünalan <raicem@users.noreply.github.com>
2023-09-13 11:32:05 +02:00
Vedanshu Jain 9d36bbe10b Handle serialized values. 2023-09-13 14:49:31 +05:30
Chi-Hsuan Huang 4495a6a49e
Add customize store - fonts (#40082)
* Add customize store fonts

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

* Add inline comment for font-hosting note

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/auto-block-preview.tsx

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Remove duplicated External dependencies

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-09-13 16:01:28 +08:00
Vedanshu Jain 007cf95d93 Remove unused code + reduce number of delete ops. 2023-09-13 13:14:50 +05:30
Saad Tarhi 4466fe4418 Add changelog 2023-09-12 23:59:11 +01:00
Jeremy Pry b37099ead3
Bump PHP version to 7.4 in the woocommerce/lib directory (#40098) 2023-09-12 17:38:04 -04:00
Matt Sherman e15bc6a13a Add after_add_block and after_remove_block hooks, and logging 2023-09-12 16:53:26 -04:00
Matt Sherman 229f262748 Fix code formatting issue 2023-09-12 16:52:44 -04:00
Matt Sherman b2aa1c18f3 Set area for product form templates 2023-09-12 16:52:18 -04:00
Matt Sherman 4114d16383 Logger for block template modifications 2023-09-12 16:51:48 -04:00
Moon f05e8efc17
Track core profiler plugin installation in PHP (#39921)
* Use HTTP request to track in cron jobs (action scheduler jobs)

* Pass complete data to logger

* Track coreprofiler_store_extensions_installed_and_activated when plugin installation is complete

* Add changelog

* Update plugins/woocommerce/src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Include start_time in completion data

* Update plugins/woocommerce/includes/tracks/class-wc-tracks-event.php

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>

* Fix variable naming convention

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-09-12 13:29:06 -07:00
jonathansadowski abd90ab83b
Update stable tag to 8.1.0 (#40137)
woorelease: Update stable tag to 8.1.0
2023-09-12 15:23:24 -05:00
Saad Tarhi efaa980228 Run "composer update woocommerce/woocommerce-blocks" 2023-09-12 18:51:23 +01:00
Saad Tarhi b180910a27 Increase the version of Woo Blocks in "composer.json" 2023-09-12 18:47:03 +01:00
Nima Karimi 01dd039b21
Suggest product categories with AI (#39437)
* Accept arguments for the TinyContent getContent method.

Used to fetch the plain text version of the description.

* Add a class to the loading message content

* Set the max description length as global constant

* Create a MagicButton component and use it

* Get plain text description instead of HTML

* Return full category hierarchy (Parent > Child)

* Add method to return all available categories on the product edit page

* Helper function to generate product data instructions for the prompt

* Helper function to select category checkboxes on DOM

* Create component to display a list of suggestion items as pills

* Add product category suggestions to product edit page

* Use the AI package to get text completion

* Add tracks

* Add changelog

* Fix merge conflict

* Remove NoMatch state for category suggestions

* Get available categories using WC REST API

* Suggest new categories

* Run separate prompts for existing and new category generation

* Fix overflow in suggestion pills

* Don't include existing selected categories in prompt

* Add util to encode html entities

* Exclude "Uncategorized" category from product data

* Allow excluding properties from the product data instructions

* Create category from suggestion if it doesn't exist

* Show suggestions as links instead of pills

* Ask for feedback after suggestion selected

* Decode html entities in available categories results

* Don't encode html entities when comparing available categories

* Change feedback box style

* Suggest only one category

* Remove log

* Show feedback box after generating suggestions

Instead of showing it after a suggestion is selected

* Fix typo
2023-09-12 19:59:26 +03:00
Leif Singer 4a45c956ab
Add a filter to OrdersTableQuery to allow overriding of HPOS queries (#39945)
* Add a filter to OrdersTableQuery to allow overriding of HPOS queries

* add changelog file

* address review comments

* move `woocommerce_hpos_pre_query` filter into `maybe_override_query` method

* specify and ensure that the 3-tuple param / return value can also be null

* document the $sql param

* remove debugging echo

* tweak wording

Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>

* remove unused variable

---------

Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2023-09-12 18:18:51 +02:00
Vedanshu Jain 29c8b1fc17 Add changelog. 2023-09-12 17:44:05 +05:30
Vedanshu Jain c0a3a66ba7 Better checking for duplicate meta entries. 2023-09-12 17:43:58 +05:30
Vedanshu Jain e79f924d88 Prevent duplicate meta changes. 2023-09-12 17:43:50 +05:30
Vedanshu Jain e493a04ec1 Refactor checks into seperate function for unit tests. 2023-09-12 17:43:34 +05:30
Peter Fabian ea7e97caea Fix docs. 2023-09-12 17:40:20 +05:30
Peter Fabian 3cdc6c6ebb Fix removed empty line. 2023-09-12 17:40:20 +05:30
Peter Fabian 3efc8067e2 Move the action trigger to abstract data class. 2023-09-12 17:40:20 +05:30
Peter Fabian 1bb2e553a0 Removed the extra filters, not needed. 2023-09-12 17:40:20 +05:30
Peter Fabian b7b3101139 Add more actions to allow hooking into meta changes. 2023-09-12 17:40:20 +05:30
Peter Fabian 86c69ca634 Added return types where possible for PHP 7 compat. 2023-09-12 17:40:20 +05:30
Peter Fabian d2fde8a332 Add added|updated|deleted_order_meta actions. 2023-09-12 17:40:20 +05:30
RJ e52d11a87e
add: url navigation to cys (#40068)
* add: url navigation to cys

* bugfix for url not updating

* url handling for design-with-ai

* fixed url syncing so that it's working with @woocommerce/navigation

* changed useLocation to useQuery in assembler-hub save-hub
2023-09-12 14:32:50 +08:00
Paul Sealock c721159129
Remote Inbox Notifications: Add `in` and `!in` comparison operators (#40084) 2023-09-12 15:13:42 +12:00
RJ 267cf52394
add: customize store design with ai loader (#40083)
* add: customize store design with ai loader

* removed unused prop
2023-09-12 10:30:54 +08:00
Matt Sherman 2be3dbe47c Fix up CustomBlockTest (it was creating detached blocks by mistake) 2023-09-11 20:41:59 -04:00
Matt Sherman 1179a5339a Do not cache inner block in template if container is detached 2023-09-11 20:41:21 -04:00
Matt Sherman f3455e5102 Add tests for BlockInterface::is_detached() 2023-09-11 20:40:58 -04:00
Matt Sherman ea1b1854e2 Clean up exceptions in add_inner_block 2023-09-11 20:09:20 -04:00
Matt Sherman c37cd715d7 Add BlockInterface::is_detached() 2023-09-11 19:58:32 -04:00
Chris Runnells ccd01e5913 Add changelog entry 2023-09-11 12:55:22 -10:00
Moon 9a75cec842
Record plugin api and install failures to coreprofiler_install_plugin_error track (#39899)
* Record plugin api and install failures to coreprofiler_install_plugin_error track

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

* Change to trigger GH jobs

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-11 15:14:12 -07:00
Kyle Nel 6e20ecb3bc
Marketplace: update discover page card counts (#40020)
* Marketplace: update discover page card counts

* Marketplace: Apply PR review feedback

* Addressing linter error. Whitespace.

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

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
2023-09-11 15:33:43 +02:00
Kyle Nel 39aeb0b37a
Marketplace: Update help menu themes link (#40023)
* Update help menu themes link

Update plugins/woocommerce/includes/admin/class-wc-admin-help.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

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

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
2023-09-11 14:43:48 +02:00
Vedanshu Jain b54efdaa15
[HPOS] Modify query to have less characters before the `FROM` keyword. (#40109) 2023-09-11 17:42:13 +05:30
Vedanshu Jain 2273e297f1 [HPOS] Modify query to have less characters before the `FROM` keyword. 2023-09-11 15:54:59 +05:30
Chi-Hsuan Huang 940b24cce2
Add customize store colors (#40051)
* Add cys color palettes

* Add reference links

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

* Rename color-palette

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

* Update folder structure

* Reset color changes when navigating back

* Rename files

* Update COLOR_PALETTES options

* Add color-palette-variations/preview.tsx

* Fix double slash links

* Fix color variations item style

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-11 17:48:23 +08:00
Chi-Hsuan Huang 2fc0201632
Fix CYS `__experimentalReapplyBlockTypeFilters` is not a function (#40104)
* Fix __experimentalReapplyBlockTypeFilters is not a function

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

Update changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-11 15:13:40 +08:00
nigeljamesstevenson ba08acba62
Run a full site reset on daily runs (#40061) 2023-09-10 22:54:52 +01:00
Chi-Hsuan Huang 914df4b921
Fix customize store whitescreen in WP 6.3 (#40031)
* Fix wp-router dependencies issue

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

* Fix customize your store task header button (#40033)

* Fix customize your store task header button

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

---------

Co-authored-by: github-actions <github-actions@github.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-09 11:05:31 +08:00
Jeremy Pry 84c9e7551c
Add changelog file 2023-09-08 18:48:53 -04:00
Jeremy Pry da2d9755e9
Run composer update 2023-09-08 18:05:47 -04:00
Jeremy Pry e368dc0826
Update lib/composer.json to PHP 7.4 2023-09-08 18:05:38 -04:00
Jon Lane 1e9a63d15a Reorganize 2023-09-08 14:05:03 -07:00
Jon Lane e99a61f985 All global setup only runs on daily 2023-09-08 13:56:45 -07:00
github-actions[bot] c16bf0f280
Delete changelog files based on PR 39911 (#40094)
Delete changelog files for 39911

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-08 10:06:35 -07:00
github-actions 7b8056c301 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-08 15:54:15 +00:00
nigeljamesstevenson 33e01b9af2
Add instructions for testing contributions in the CONTRIBUTING.md file. (#40018)
Checks ran after closing and opening the PR. One failed but it passed after re-run. Checked and appeard the old anchors were not used in other places so merging this one - thanks!
2023-09-08 15:39:52 +01:00
Kader Ibrahim S 0e65ea53cc Updates the endpoint to fetch marketing knowledgebase posts. 2023-09-08 19:17:27 +05:30
Rodel Calasagsag 8f4d94bdc1 Merge branch 'trunk' into e2e/slack-daily-plugins 2023-09-08 13:00:17 +08:00
Chris Runnells 3f5844004c Revert "Remove Purchase files"
This reverts commit 0f79915981.
2023-09-07 14:28:05 -10:00
Barry Hughes 8505232846
Order confirmation page: tweak verification logic (#40050)
Increase the number of cases controlled by the `woocommerce_order_email_verification_required` filter hook.
2023-09-07 14:50:37 -07:00
Jon Lane 24e81b0f20 Added some awaits 2023-09-07 13:27:39 -07:00
Jon Lane 90f03c9711 Update has propagated, remove conditional 2023-09-07 13:13:39 -07:00
Jon Lane 7011a84858 Retry plugin installation if failed 2023-09-07 13:13:16 -07:00
Matt Sherman 94c6807a96 Implement woocommerce_block_template_after_add_block action 2023-09-07 14:40:30 -04:00
Ron Rennick 60fa13e21b
Fix cloning cart keeps wrong reference in session and fee (#39282) 2023-09-07 14:00:29 -03:00
Ron Rennick c00dac50f3
TT2: Update "View Products" button padding so it's consistent with add to basket button. (#37078) 2023-09-07 12:56:47 -03:00
Ismael Martín Alabarce 80173a640e
Update TaskItem and WooPayments task (#40034)
* Custom WooPayments task header content

when action incentive is available.

* Add badge prop to experimental TaskItem component

, update task list components, docs, storybook, and tests

* Add badge property to OnboardingTasks/Task abstract class

* Add `woocommerce_admin_woopayments_onboarding_task_badge` filter

* Use the filter to display the badge from server

* Add changelog entries

* Update filter to use return existing badge

instead of an empty string

* Update task header to also check for the incentive in wcpaySettings
2023-09-07 15:43:18 +02:00
github-actions dcd05a7be3 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-07 12:01:18 +00:00
Alex López 6dc7b83c9c Fix documentation based on feedback from PR review. 2023-09-07 13:56:38 +02:00
And Finally 39a9596c58
Don't show feedback snackbar till marketplace content has finished loading (#39869) 2023-09-07 11:41:17 +01:00
Tom Cafferkey 93b6f1b8ce
Merge branch 'trunk' into update/tt2-view-products-button-padding 2023-09-07 11:45:10 +02:00
Vedanshu Jain e91313ea54
[HPOS] Support deleting metadata just by meta id. (#40064) 2023-09-07 14:54:55 +05:30
RJ c889d5ed2d
add: made look and tone ai api call more robust (#40052)
* add: made look and tone ai completion api call more robust

- added tracks and tests for invalid ai response

* removed some redundant stuff

* parameterised prompt for safety

* minor fixes
2023-09-07 17:05:47 +08:00
Vedanshu Jain 0bb048f31f Add changelog. 2023-09-07 13:22:17 +05:30
Vedanshu Jain 955fc37a90 Support deleting metadata just by meta id. 2023-09-07 13:21:18 +05:30
Vedanshu Jain 7860a08f80 Add unit test for allowing metadata to be deleted by ID. 2023-09-07 13:21:13 +05:30
Jon Lane c497b37a96 Tweak so setup will skip locally 2023-09-06 16:31:55 -07:00
Jon Lane b5e5f33825 Update to nightly release after reset 2023-09-06 16:06:49 -07:00
Jon Lane e316d8745d Add changelog 2023-09-06 15:02:05 -07:00
Jon Lane 5e222b6bdc Remove soft assertion 2023-09-06 14:39:34 -07:00
Jon Lane 1f3a0962ff Uninstall and reinstall WC 2023-09-06 14:37:18 -07:00
Fernando Marichal ad1920ca2e
Add Tags to product editor (#39966)
* Add block

* Add component tags-field

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

* Add changelog

* Clean code

* Add style

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

* Trim styles

* Delete input when creating tag

* Clean input after creating tag

* import Query type

* Add changelogs

* Add tests

* Rename newInputValue

* Remove lodash use

* Add useInstanceId instead of using a fixed id

* Remove pagination related code

* Remove isAsync const

* Fix list filtering

* Abstract useSelect

* Fix tests

* Refactor use-tag-search

* Fix lint
2023-09-06 15:51:22 -03:00
Tofandel 93aae26b1b Change deprecated version 2023-09-06 20:29:37 +02:00
Fernando Marichal 365e479614
Create a plugin to enable Variations feature (#40027)
* Add plugin to enable features and map it

* Activate plugin

* Add changelog
2023-09-06 12:48:57 -03:00
Nathan Silveira e9aad24125
Migrate Category field to woocommerce/taxonomy-field block (#40021)
* Migrate category field to woocommerce/taxonomy-field block

* Remove details-categories-field

* Add changelogs

* Remove more references

* Rename block and add it to blockregistry

* Add missing setIsCreating calls

* Undo changelog change

* Add changelog
2023-09-06 10:21:37 -03:00
nigeljamesstevenson 5a8ed71edc
E2E: Remove WP Latest-2 from release tests (#40012) 2023-09-06 12:38:40 +01:00
Thomas Shellberg 8ec91504ff
Add Short Description "Write With AI" Button + Inform about automatic generation (#39805)
* Add "Write With AI" button to product short description media buttons area.
2023-09-06 12:36:14 +02:00
nigeljamesstevenson 54fc5857bd
Couple of caching fixes for daily tests (#39918) 2023-09-06 11:02:01 +01:00
github-actions dbc2fed88a Add changefile(s) from automation for the following project(s): woocommerce 2023-09-06 09:24:24 +00:00
Tofandel 300790271d Change deprecated version 2023-09-06 11:20:46 +02:00
Thomas Shellberg c61f453fdb
Remove Woo AI Enabled Setting and rework copy on the Woo AI Settings page. (#39784)
* Woo AI - Remove enabled setting. Re-order tone of voice settings and adjust neutral messaging.
2023-09-06 11:07:39 +02:00
Tofandel 4e87591245 fix: cloning cart reference in session 2023-09-06 11:02:10 +02:00
Moon c45335b936
CYS - Add LookAndFeel and ToneOfVoice pages (#39979)
* Add ProgressBar component to @woocommerce/components

* Add changelog

* Remove html.wp-toolbar in fullscreen mode

* Add base style

* Add Tell us a bit more about your business page

* Fix merge conflict issues

* Send BUSINESS_INFO_DESCRIPTION_COMPLETE event when continue button is clicked

* Remove duplicated style import

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

* Lint fix

* Add 'Look and Feel' and 'Tone of voice' pages';

* Use correct classname

* Minor changes

* Textearea color should be gray-900 after the user enter text
* guide font weight should be 500

* Fix layout shift when a choice is selected

* Fix choices width for tone of voice page

* Use context value for the default

* Revert button margin top

* Fix default selection

* Add X button

* Decrease the margin by 20px to accommodate the height of the close button

* Add close action

* Include @woocommerce/ai package

* Add AI service

* Use AI service

* Parse JSON from in function

* Fix assignLookAndTone event type

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/components/choice/choice.scss

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

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/services.ts

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

* Log when AI API endpoint request fails

* Add spinner when user clicks the continue button

* streamlined unnecessary isRequesting context and forwarded close event

* pnpm-lock changes from trunk

* lint fixes

* ai package test passWithNoTests

* changelog

* reset pnpm-lock to trunk

* Dev: update pnpm-lock.yaml and jest preset config (#40045)

* Update pnpm-lock.yaml

* Update jest-preset config to fix unexpected token error

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2023-09-06 14:21:09 +08:00
Chris Runnells e2c2c52c1c
Update task list progress bar default setting (#39369) 2023-09-05 13:50:33 -10:00
Chris Runnells 788d4419dc Update changelog entry 2023-09-05 13:01:30 -10:00
nigeljamesstevenson 6d494570ef
Fix flakiness around the `Turn off the new product form` menu item (#39957) 2023-09-05 18:49:02 +01:00
Vedanshu Jain 919a51f682
Remove COT enable requirement from sync and verify command. (#39998) 2023-09-05 16:59:04 +02:00
Matt Sherman 7b328cfabf
Doc: Fix typo in "How to design a simple extension" (#40028) 2023-09-05 10:23:04 -04:00
Dan Q 702b768570 Suppress second scrollbar on WooCommerce > Extensions pages
This is necessary because the layout of WooCommerce > Extensions pages adjusts the page height (to compensate for the larger header). On systems with scrollbars set to always-visible, this results in a ~1px overflow of the inner content and double-scrollbars are visible. This CSS mitigates that.
2023-09-05 14:33:27 +01:00
Vedanshu Jain e108efd793
Add filter woocommerce_hpos_enable_sync_on_read to disable sync on read with HPOS sync enabled. (#40039) 2023-09-05 18:15:47 +05:30
Dan Q b430015d08 Reposition alert boxes
WooCommerce store alerts shown on the Marketplace page are mis-aligned on account of the CSS that applies to the Marketplace. This change re-positions them and, as a bonus, aligns their left and right edges with the rest of the page content, improving the design.
2023-09-05 13:15:51 +01:00
Dan Q e76fe48a89 Move top padding of Marketplace Extensions content to instead be top margin of Marketplace Extensions page
This mitigates the issue whereby notifications push page content down a LONG way, and is a more-correct way to lay out the content.
2023-09-05 13:14:48 +01:00
Fernando Marichal ccb72125e0
Add a notice to "track inventory" toggle (#40011)
* Add notice to "track inventory" toggle

* Add changelogs

* Remove console.logs

* Fix link URL
2023-09-05 08:35:38 -03:00
Vedanshu Jain 452a3ed81b Doc update. 2023-09-05 16:40:24 +05:30
Vedanshu Jain 1d0665a8dd Add filter woocommerce_hpos_enable_sync_on_read to disable sync on read with HPOS sync enabled. 2023-09-05 14:33:00 +05:30
Jason Kytros bbe053e16e
Improved UI/UX of the Inventory tab (v2) (#39962) 2023-09-05 09:26:00 +02:00
Jason Kytros 283b1a673c
Improved UI/UX of the Attributes tab (v2) (#39987) 2023-09-05 09:24:34 +02:00
Vedanshu Jain 0f7e6898db
Avoing string to int comparison and add the id clause only when available (#40030) 2023-09-05 12:47:17 +05:30
Chi-Hsuan Huang c9b8236f53
Add customize store assembler hub onboarding tour (#39981)
* Update tour-kit to have a optional skip button and custom secondary button label

* Add changelog

* Add onboarding tour

* Update layout and resiable-frame for onboarding tour

* Update onboarding tour style

* Update resizable handler

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-05 15:12:04 +08:00
Chi-Hsuan Huang c025b102fc
Add customize store assembler hub logo (#39932)
* Add @wordpress/blob for wc admin customize store project

* Update save-hub to save entities correctly

* Add logo block context

* Update block-editor to render different preview layout for different paths

* Add media uploader filter

* Update logo sidebar

* Fix auto block preview

* Update styles

* Update loading state

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

* Add comments

Add comments

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Add custom resiable-frame

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/block-editor.tsx

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-logo.tsx

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/resizable-frame.jsx

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Open media uploader when clicking logo image

* Update style

* FRAME_TRANSITION -> frameTransition

* Fix missing import

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-09-05 14:21:19 +08:00
Vedanshu Jain 5a22751aa1 Add unit test + changelog. 2023-09-05 11:47:28 +05:30
Vedanshu Jain c8cc44523c Avoing string to int comparison and add the id clause only when available. 2023-09-05 11:22:33 +05:30
RJ d04a0baf5a
fix: wc-connect-tax option truthiness (#39983)
* fix: wc-connect-tax option truthiness

* Update plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Tax.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-09-05 10:17:04 +08:00
Matt Sherman 39310553e0 Changelog 2023-09-04 16:24:31 -04:00
And Finally 21d1bab26e [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Fixing `prettier` linter errors.
2023-09-04 16:00:30 +01:00
And Finally 6d65d54ed5 [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Fixing `prettier` linter errors.
2023-09-04 15:45:24 +01:00
Jason Kytros 4242375cc5 Review: Parameters localization 2023-09-04 12:56:41 +03:00
Jason Kytros eeafe69c2d Review 2023-09-04 12:50:03 +03:00
Rodel Calasagsag 02638a71e8 Remove unnecessary cookie header 2023-09-03 17:59:56 +08:00
Rodel Calasagsag cf2ebde187 Add changelog 2023-09-03 17:05:38 +08:00
Rodel Calasagsag 6af2632f5f Get only WP L-1 2023-09-03 10:29:42 +08:00
Jon Lane d6240d5636 More test fixes 2023-09-01 13:41:41 -07:00
Jon Lane 023183e2b1 Merge branch 'trunk' into api/fix-tax-api-test 2023-09-01 11:50:29 -07:00
Jon Lane e83de75c42 Skip one additional assertion on external site 2023-09-01 10:52:19 -07:00
Leif Singer 77e5e28d51
tweak some of the HPOS Settings UI (#39912)
* tweak the wording for HPOS in Settings / Features / Advanced

* order features in Advanced Settings and move HPOS to the top

* emphasize the need to sync

* add a row_class attribute to settings fields

* fix padding between HPOS settings belonging together

* add changelog file

* update wording in a test

* Update plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>

* Update plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>

* simplify the ordering callback -- props to @jorgeatorres! ☺️

* more consistent phrasing

---------

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-09-01 14:32:56 +01:00
Jason Kytros 81a70a9b92 Ensure that the placeholder changes even after clearing all Attribute values 2023-09-01 14:13:38 +03:00
Jason Kytros 80e998481f Ensure that a placeholder always exists 2023-09-01 13:53:54 +03:00
Jason Kytros 4aeabe64ef Updated failing e2e test 2023-09-01 12:54:05 +03:00
Jason Kytros 4af01af796 Merge branch 'trunk' into issue-37839 2023-09-01 12:17:34 +03:00
Jason Kytros 16819d18ac Merge branch 'trunk' into issue-37835 2023-09-01 12:02:59 +03:00
Rodel Calasagsag d8a07b030b Add changelog 2023-09-01 14:04:56 +08:00
github-actions 78ad790109 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-01 04:26:50 +00:00
Chi-Hsuan Huang 6f89dcdbb5 Update webpack config to not use external @wordpress/router
The external @wordpress/router package is not available in these versions, so we need to bundle it with the plugin. This is a temporary fix until we can drop support for WP 6.2 and below.
2023-09-01 12:24:02 +08:00
Chris Runnells 0f79915981 Remove Purchase files 2023-08-31 13:45:59 -10:00
Chris Runnells e1e6fb266d Remove references to the Purchase task 2023-08-31 13:45:42 -10:00
Jon Lane 6c85aaae07 Settings test is currently failing on external host. Skip for now. 2023-08-31 15:09:22 -07:00
Ron Rennick ca6b152755
update the SqlQuery filter prefix in data.md (#39319)
* update the SqlQuery filter prefix in data.md

* fix md linting

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-08-31 15:23:20 -03:00
And Finally 6ae83b08ec [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Addressing feedback. Renamed `MARKETPLACE_API_HOST` TO `MARKETPLACE_HOST` to make it less confusing – we don't only use it for API URLs.
2023-08-31 16:14:06 +01:00
github-actions b0ee81a175 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-31 13:50:58 +00:00
Jason Kytros f30c4dfda7 Check if "Used for variations" exists before using its value. 2023-08-31 16:37:14 +03:00
Jason Kytros bb481269ff Design enhancements for the Attributes tab 2023-08-31 16:28:03 +03:00
RJ 3f3f032ed5
dev: added docs for core profiler (#39963)
* dev: added docs for core profiler

* lint

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-31 16:27:40 +08:00
Rodel Calasagsag 72ae79bbe0 Merge branch 'trunk' into e2e/fix-flaky-menu-item-turn-off-new-product-form 2023-08-31 14:53:26 +08:00
Corey McKrill 26fde13e00
Fix typo in SQL for stock quantity check (#36402) 2023-08-30 17:01:15 -07:00
Corey McKrill ac06a00f8a
Add changelog file 2023-08-30 16:25:09 -07:00
Patricia Hillebrandt 5968934040
Update WooCommerce Blocks to version 11.0.0 (#39971) 2023-08-30 16:26:08 -05:00
github-actions[bot] a80efb7319
Delete changelog files based on PR 39958 (#39975)
Delete changelog files for 39958

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-30 16:07:33 -05:00
Alejandro López Ariza 062c2998a3
Update api core tests readme (#39961)
* Update api core tests readme

The example .env provided in the API Core tests readme is obsolete. It needs to reference API_BASE_URL instead of BASE_URL due to recent changes.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-30 13:24:18 -07:00
Matt Sherman 1ffc8fa1fd Changelog 2023-08-30 14:54:35 -04:00
Matt Sherman dc8602f67b Add order property for every block 2023-08-30 14:54:32 -04:00
Maikel David Pérez Gómez a425a62fb8
Product Block Editor: add tracks to the Variations tab (#39914)
* Add product_options_add tracking event to add variation options

* Add product_options_edit tracking event to variation options

* Add product_options_update tracking event to variation options

* Fix set default attribute when editing it

* Add changelog file

* Add product_options_add_button_click tracking event

* Get attribute options from the terms prop instead of options, this ensures to get the updated values when the user edits the options

* Add Variation options section back

* Add changelog file
2023-08-30 14:36:44 -04:00