Commit Graph

11683 Commits

Author SHA1 Message Date
github-actions[bot] 21dd36047a
Delete changelog files based on PR 40356 (#40402)
Delete changelog files for 40356

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-25 13:11:41 -05:00
Ron Rennick 402d489999
add enhancement exclusion to stalebot config (#40391)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-09-25 15:39:27 +02:00
Yordan Soares b2bbe5e56a
Escape the default "Thank you" text instead of the filtered message (#40353)
* Escape the default "Thank you" text instead of the filtered message

Closes: #40329 and #40352

* Update plugins/woocommerce/templates/checkout/order-received.php

Co-authored-by: Leif Singer <github.2017@singer.sh>

* Bump template version to 8.3.0

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

---------

Co-authored-by: Leif Singer <github.2017@singer.sh>
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 14:41:45 +02:00
Ilyas Foo 0b2ad50a21
CYS: Add homepage template AI completion and revamped header footer (#40363)
* Moved homepage templates, added header and footer to homepage templates,  revamped templates to use metadata.

removed header and footer completion calls

* Lint

* Slight adjustment to completion prompt and changelog

* Lint

* Use header and footer in 'Change your homepage'

* Add test

* Lint

* Add back homepage templates exclusion header and footer for assembler use

* Add test for useHomeTemplates

* Lint
2023-09-25 18:30:31 +08:00
Dan Q 8685fd211e
Rather than adding border, add color to border of search box (#40242) 2023-09-25 10:35:38 +01:00
Dan Q f0296485c3
Inconsequential change to trigger hooks again 2023-09-25 10:00:18 +01:00
github-actions 547ad79a5a Add changefile(s) from automation for the following project(s): woocommerce 2023-09-25 08:34:22 +00:00
Dan Q af10078e04
Inconsequential change to trigger hooks 2023-09-25 09:30:12 +01:00
Kader Ibrahim S cdded7d426
Updates the marketing knowledgebase posts endpoint (#40090) 2023-09-25 11:07:55 +05:30
Veljko V 55c1bec490
Add new E2E tests to cover Shopper > Shop milestone (#40244)
* Add test to cover shopper tags and attributes

* Add new scenarios to complete a milestone

* Update comment in the code
2023-09-22 14:16:35 -07:00
github-actions b45119b6a7 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-22 16:16:04 +01:00
raicem 15257f8761 Markatplace: Reset search input when tab changes
When tab is changed, `@woocommerce/navigation` package resets
the `term` query parameter. So `query.term` becomes undefined.

Adding the else block allows us to catch that case and then
we can reset the search input.
2023-09-22 16:16:04 +01:00
louwie17 247b8990d2
Add default price support to product variations (#40343)
* Optimize crud totalCount queries to avoid two requests

* Make use of same request params for totalCount as getVariations

* Add support for default_values when generating product variations

* Add test for default_values

* Add changelogs

* Only use default values of first variation

* Address some PR feedback

* Update types
2023-09-22 11:39:35 -03:00
Vedanshu Jain 94069bb4ff
Use correct feature name for back compat. (#40367) 2023-09-22 16:04:52 +02:00
RJ f29f519526
add: save cys ai input and response to options (#40330)
* add: save cys ai input and response to options

* fix type error
2023-09-22 20:43:42 +08:00
Vedanshu Jain 687495a878
Add unit test around number of times order save is being called. (#40241) 2023-09-22 13:55:39 +02:00
Vedanshu Jain 9659fd3e20
Address conflict between HPOS & WP edit lock (#40355) 2023-09-22 16:08:52 +05:30
Vlad Olaru ffcbc8e200
Remove Incentive dismiss survey modal custom button styling and defer to core styling (#40334) 2023-09-22 11:28:28 +03:00
Vedanshu Jain b97eb19314
save hpos order data before clearing the order from cache (#40282) 2023-09-22 12:29:21 +05:30
Chi-Hsuan Huang 0c43712b68
[Customize Your Store] Hide color panel and fix nav links on WooExpress site (#40326) 2023-09-22 14:27:22 +08:00
Jorge A. Torres f446315f32
Make sure orders are always saved with addresses indexes set (#40332)
* Make sure orders are saved with addresses indexes set.

* Add changelog
2023-09-21 16:44:22 -07:00
nigeljamesstevenson 3544ef300f
update correlation in performance requests (#40359)
* update correlation

* update correlation
2023-09-21 16:10:38 -07:00
Moon ce7038d814
Remove unnecessary APIs calls when the setup tasklist is shown (#40291)
* Consider setup task hidden when activeSetupList is null

* Render ActivityPanel when the setup tasklist is hidden only

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-21 15:35:45 -07:00
louwie17 bdbd590819
Fix product editor images block (#40356)
* Enqueue media utils which are required for images block

* Add changelog
2023-09-21 16:14:11 -03:00
Jorge Torres 46e437cbfd Add changelog 2023-09-21 18:55:36 +01:00
Jorge Torres 5d7b2f36fc Prevent conflict with WP’s post lock 2023-09-21 18:55:31 +01:00
Jorge Torres 92faebbe69 Handle change in name of order ID in list table 2023-09-21 18:55:11 +01:00
nigeljamesstevenson e0c44f07fb
test update for failing k6 tests (#40350) 2023-09-21 09:50:26 -07:00
Kader Ibrahim S 01b99e9803 Removes the default topic for unavailable topics. 2023-09-21 21:16:36 +05:30
Jorge Torres 10c66d2196 Ignore some metadata in HPOS verify tool. 2023-09-21 14:15:49 +01:00
Jorge Torres 97697fcdbb Add changelog 2023-09-21 14:15:43 +01:00
Vlad Olaru 81d5df92e8
Add changelog entry 2023-09-21 15:58:18 +03:00
Vlad Olaru 6e83c3c9e6
Remove custom button styling and defer to core styling 2023-09-21 15:54:27 +03:00
Vedanshu Jain 4f425aca34 Move clear cache to after backfilling bit is set as its not atomic. 2023-09-21 13:22:17 +05:30
Vedanshu Jain c6afc7a4c3 Use less invasive cache validation for after meta cache.
Entire cache is still invalidated on an object save.
2023-09-21 12:47:31 +05:30
Chi-Hsuan Huang 7f9322c858
[Customize Your Store] Loading - Persisting AI assembled site (#40294)
* Persist AI assembled site

* Update color options

* Invalid the selectors

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

* Fix lint

* Update colorPaletteName

* Fix tests

* [Customize Your Store] Call wc store patterns API (#40297)

* Call /wc/store/v1/patterns endpoint to populate pattern contents/images

* 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-21 13:30:57 +08:00
Moon a9d6a3aa39
Customize Your Store - Implement back to home buttons (#40321)
* Implement back to home buttons

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-20 19:06:39 -07:00
Chi-Hsuan Huang 48342fbc66
Add cys ai header/footer (#40276)
* Add cys ai header suggestion

* Add cys ai footer suggestion

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

* Fix types

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-21 09:49:00 +08:00
Moon b9b4dc852c
Customize Youre Store - Use all six homepage templates (#40313)
* Use all 6 homepage templates

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-20 18:47:59 -07:00
github-actions[bot] bea1daef0f
Prep trunk for 8.3 cycle (#40322)
Prep trunk for 8.3 cycle with version bump to 8.3.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-20 19:08:13 -05:00
github-actions[bot] f2e352596e
Release: Remove 8.2 change files (#40324)
Delete changelog files from 8.2 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-09-20 19:06:54 -05:00
Adrian Duffell 76b8042359
Replace "Personalize Your Store" Task with "Choose Your Theme" (#40239)
* Update appearance task to choose a WP theme

* Add changelog

* Update redirect URL

Redirects to the main theme screen.

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

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

* Wrap URL in getAdminLink

* Update position of task

* Change title

* Change redirect URL to be the site editor

* Revert to original task name

* Use inherited is_complete function

* Use PHP-based action tracking

* Fix lint issue

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-09-21 00:25:35 +08:00
nigeljamesstevenson 5bc0789921
Fix: order metadata changes from admin not applied with HPOS active. (#40278) 2023-09-20 15:05:45 +01:00
nigeljamesstevenson 6b4bec0c95
Enable HPOS by default for new installs. (#40296) 2023-09-20 15:04:23 +01:00
Vedanshu Jain 6f4eb37b21 Enable HPOS by default for new installs. 2023-09-20 17:49:06 +05:30
Jorge Torres 8c55e53772 Remove unnecessary import 2023-09-20 13:02:51 +01:00
Nestor Soriano cff83dca10
Remove unnecessary hpos check 2023-09-20 13:37:56 +02:00
Luigi Teschio 186474078e
Update WooCommerce blocks package to 11.1.1 (#40300)
bump Woo Blocks 11.1.1
2023-09-20 13:36:38 +02:00
nigeljamesstevenson 4b79f12026
Add missing order type handling in HPOS sync (#40279) 2023-09-20 10:37:58 +01:00
Nestor Soriano cb360ac2c2
Move metadata processing code from WC_Meta_Box_Order_Data to CustomMetaBox 2023-09-20 10:52:35 +02:00
RJ 1af971caf6
add: best colours AI suggestions (#40295) 2023-09-20 15:27:08 +08:00
Leif Singer 2289fc70a9
Tweak a few comments related to address type (#40110)
* Tweak a few comments related to address type

* tweak more address type comments

* grammar nitpick

* still more address type tweaks

* appease the linter

* Update plugins/woocommerce/includes/wc-template-functions.php

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>

---------

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-09-20 08:48:06 +02:00
Chris Runnells 77db736fc9
Update Customize Your Store introduction page (#40293)
* Add intro Banner components

* Add intro banner svg

* Add additional theme card data

* Add theme slug

* Add intro page layout and styling

* Remove unused component files

* Update button events

* Add intro Banner components

* Add intro banner svg

* Add additional theme card data

* Add theme slug

* Add intro page layout and styling

* Remove unused component files

* Update button events

* Add changelog

* Fix lint issues

* Fix lint issues

* Fix lint issues

* Fix lint issues

---------

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2023-09-20 14:36:20 +08:00
Chi-Hsuan Huang 2313667d81
Address CYS UI feedback 19 Sep (#40269)
* Direct user to the assembler hub automatically after saving

* Unset active state on color palette when user changes colors

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

* Remove unneed styles

* Fix color variation logic

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-20 12:52:22 +08:00
RJ b0ee77621f
add: cys ai font pairing (#40240)
* add: cys ai font pairing suggestion

* Move cys ai tests to test folder

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

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

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-09-20 12:26:15 +08:00
Sam Seay cff7ee6ccc
Add basic e2e setup and tests for the Assembler Hub (#40235) 2023-09-20 15:59:06 +12:00
RJ 10bb0cc822
fix/cys ui feedback 12 sep (#40155) 2023-09-20 10:47:05 +08:00
Barry Hughes 72f8943b6c
Regression test for `woocommerce_get_customer_details` ajax endpoint. (#40273)
* Regression test for `woocommerce_get_customer_details` ajax endpoint.

* Remove unnecesssary code manipulating customer selector.

* Clean-up test customer.
2023-09-19 16:03:52 -07:00
Dan Q 4470d9e1a4
Suppress second scrollbar on WooCommerce > Extensions pages (#40046) 2023-09-19 21:46:07 +01:00
louwie17 f9705a531b
Redirect to product editing page when product was still in auto draft (#40225)
* Redirect to product editing page when product was still in auto draft

* Make sure the prevent page does not show up when creating variations

* Add changelog and fix tests
2023-09-19 17:33:15 -03:00
Moon 8b32e47086
Redirect to Jetpack connect when jetpack-boost is selected (#40261)
* Redirect to Jetpack connect when jetpack-boost is selected

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-19 13:22:59 -07:00
louwie17 6337abc3c5
Add notice when variation prices are not set yet (#40281)
* Add notice dismissal and re-show upon validation

* Add support for notice actions

* Add changelogs

* Add set prices

* Fix build issues

* Add comment

* Replace additionalData with newData
2023-09-19 17:01:54 -03:00
Moon 35ed71f6ef
Remove core-profiler checks from the tests (#40260)
* Remove core-profiler check

* Fix broken test

* Skip onboarding wizard tests

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

* Change to trigger GH jobs

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-19 12:14:50 -07:00
Dan Q 9b62faed1a Merge branch 'trunk' into fix/wccom-18029-suppress-double-scrollbar 2023-09-19 20:02:53 +01:00
Dan Q b1cb7c9f3d
Improve visibility of .woocommerce-store-alerts notifications on WooCommerce > Extensions pages (#40043) 2023-09-19 19:03:50 +01:00
Barry Hughes cdc91c8ac1
Make is_checkout() description more accurate (#40258) 2023-09-19 10:49:51 -07:00
Dan Q f12fb99d9d Merge branch 'trunk' into fix/wccom-17944-reposition-notifications 2023-09-19 18:28:29 +01:00
Dan Q 0c8269c3b2 Merge branch 'trunk' into fix/wccom-18029-suppress-double-scrollbar 2023-09-19 18:28:09 +01:00
Ron Rennick 915350800b save hpos order data before clearing the order from cache 2023-09-19 14:10:35 -03:00
github-actions 6b7b8a3611 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-19 17:05:53 +00:00
github-actions 98a765d4d8 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-19 17:03:58 +00:00
Dan Q b9dbb526f2
Inconsequential change to get past blocked status checks / force re-test 2023-09-19 18:01:54 +01:00
barryhughes 2f3060ceb3 Changelog. 2023-09-19 09:29:14 -07:00
And Finally 6aa55f6334
In-App Marketplace: Update "no results" design for Extensions search (#40268) 2023-09-19 16:32:17 +01:00
And Finally e4d6933e26
In-app Marketplace: gracefully handle products with no vendorUrl (#40271) 2023-09-19 16:06:52 +01:00
Jorge Torres ba3e6229f5 Add changelog 2023-09-19 15:57:13 +01:00
Jorge Torres 463e095353 Add missing order type handling in HPOS sync 2023-09-19 15:57:09 +01:00
github-actions 451521bc05 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-19 14:48:50 +00:00
Nestor Soriano e0c5f8acc1
Fix: order metadata changes from admin not applied with HPOS active.
When an order is open in admin and changes are made to custom field
keys or values, or values are added in "Add New Custom Field",
and "Update" in the order is clicked (without having clicked "Update"
in the modified fields or "Add Custom Field"), the field changes
should be applied to the order anyway. That was happening when
the posts table is authoritative but not when the orders table is.
2023-09-19 16:45:40 +02:00
Dan Q 59cb9fad48 Appease linter 2023-09-19 14:46:59 +01:00
Dan Q 9849ade9fa Correct quote style 2023-09-19 14:41:55 +01:00
Dan Q 98ac373b1b Correct CSS for image size! 2023-09-19 14:40:17 +01:00
Jorge A. Torres 02e6f07df7
Add search results subtitle to HPOS list table (#40270)
* Add search results subtitle to HPOS list table.

* Add changelog
2023-09-19 13:41:12 +02:00
Chi-Hsuan Huang 0b7aee458f
Implement customize your store task completion logic (#40267)
* Mark CYS task completed when clicking done button

* Mark CYS task completed after switching theme

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-19 19:02:02 +08:00
Dan Q 96cbb30a76 Appease linter 2023-09-19 11:52:13 +01:00
github-actions de8535ae7c Add changefile(s) from automation for the following project(s): woocommerce 2023-09-19 10:49:33 +00:00
Dan Q dcd08ac1b6 Apply empty string to URL in event that vendorUrl is absent 2023-09-19 11:39:01 +01:00
Dan Q 8ee8ff750b Suppress category selector only on no-results, not all search pages 2023-09-19 11:27:37 +01:00
Dan Q 078e178997 Suppress category selector when showing search results 2023-09-19 10:58:18 +01:00
Kyle Nel 5e88b001fa
Update wording on Marketplace footer (#40251)
* Update wording on Marketplace footer
* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-19 11:39:09 +02:00
Dan Q 9c354c7b8b Manually create changelog file 2023-09-19 10:04:05 +01:00
Jorge A. Torres fd6da30df2
Properly convert shorthand date queries in local time to UTC (#40146)
- Allow overriding of precision in `OrdersTableQuery::date_to_date_query_arg()
- Shorthand date queries should either date-only or timestamp
- Properly convert shorthand date queries from local to UTC for querying
- Add utility function to convert local-time args to UTC
- Simplify date args processing
- Drop no longer necessary params from date_to_date_query_arg()
- Dates in orders list table filter should be local time
2023-09-19 11:03:05 +02:00
Dan Q d23ac3ed10 Appease linter 2023-09-19 09:54:01 +01:00
RJ 1b37042d55
add: color palette ai text completion call (#40237)
* add: color palette ai text completion call

* reorganised for allowing more prompts

* lint fix

* moved tests and fixed version
2023-09-19 16:41:52 +08:00
Dan Q 3848b43052 Add width and height to image to reduce CLS 2023-09-19 09:34:05 +01:00
Dan Q 39caeb1c51 Ensure text wraps at an appropriate point 2023-09-19 09:33:49 +01:00
Dan Q e599390b9c Ensure new image centered 2023-09-19 09:33:40 +01:00
Dan Q e22337d906 Switch SVG for new one 2023-09-19 09:33:21 +01:00
github-actions 5293dbeb62 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-19 07:33:08 +00:00
Kader Ibrahim S bb2826ac9a Sets the correct URL for the marketing KB API endpoint. 2023-09-19 12:18:45 +05:30