Commit Graph

11499 Commits

Author SHA1 Message Date
Fernando Marichal 5f7e20bed7
[Product Block Editor] remove digital products from target list (#39801)
* Fix remove digital products from the target list

* Add changelog
2023-08-18 09:32:06 -03:00
AnnaMag afc8e0fac5
Disable the new editor for variable products. (#39780)
* Disable the new editor for variable products with the dev feature flag disabled.

* Add changelog
2023-08-18 09:26:56 -03:00
Ahmed 74beca459e
Add support for Japan and UAE to WooPayments (#39431)
* Add support for JP and UAE

* Add changelog file
2023-08-18 17:58:39 +08:00
Tam Mullen bb898a609c Merge branch 'add/wx-nightly-perf' of github.com:woocommerce/woocommerce into add/wx-nightly-perf 2023-08-18 10:36:46 +01:00
Tam Mullen 8d4e4748a0 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/wx-nightly-perf 2023-08-18 10:33:53 +01:00
github-actions 7c13473f79 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-18 08:57:55 +00:00
AnnaMag 772541a751
[New Blocks Editor]: Update product experiment name. (#39684)
* Update product experiment name

* Add changelog

---------

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2023-08-18 10:54:22 +02:00
Tam Mullen f0538f3ed0 Added daily perf test scenario for w express site 2023-08-18 09:29:17 +01:00
RJ d663c304c9
add: customize your store xstate scaffolding (#39619)
* add: customize your store xstate scaffolding

* Update plugins/woocommerce-admin/client/core-profiler/types.tsx

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

* improved findComponentMeta

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-08-18 13:30:25 +08:00
Barry Hughes 3ed285c7c2
HPOS: Ensure refund meta data is saved correctly (alternative approach) (#39700) 2023-08-17 16:35:57 -07:00
Thomas Shellberg ffb38055a0
Woo AI - fix store branding settings page regression. (#39773)
Woo AI - fix store branding settings page regression.
2023-08-17 21:45:32 +02:00
github-actions 07137472a4
Add changefile(s) from automation for the following project(s): woocommerce 2023-08-17 10:28:57 -07:00
Corey McKrill 11a31e8b64
Update refund meta directly instead of using setters
This is an alternative to #39466, as a way to ensure that refund meta
data gets saved correctly.

Fixes #39215
2023-08-17 10:28:57 -07:00
Niels Lange 2afba8b8fe
Update WooCommerce Blocks to 10.9.0 (#39783) 2023-08-17 18:03:19 +02:00
Ilyas Foo 3e9c14d5fb
Add plugin installation request track for core profiler (#39533)
* Add track to plugin installation in core profiler

* Rename available to shown

* Add changelog

* Lint
2023-08-17 22:34:52 +08:00
github-actions ec70cd1036 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-17 13:12:51 +00:00
boblinthorst e3a179ff1c Prevent non-WC_Orders on the order received page
To ensure they have an implementation of the get_order_key function.

Visits to the order_received page with the id of a refund result in a fatal error.
2023-08-17 12:36:33 +02:00
Niels Lange 9a001126b5
Update WooCommerce Blocks to 10.9.0 2023-08-17 12:31:24 +02:00
And Finally 9fbb8a505b
In-App Marketplace: Improve Product Card Clickability (#39766) 2023-08-17 09:04:27 +01:00
And Finally 436ce4bd4d
Update copy on In-App Marketplace (#39767) 2023-08-17 09:02:25 +01:00
And Finally 6b1694f89b
Update marketplace product card for updated WCCOM search API (#39689) 2023-08-17 08:59:46 +01:00
Barry Hughes 2993118a5b
Checkout: show "thank you" message regardless of verification status (#39758) 2023-08-16 13:56:32 -07:00
louwie17 c11b11631b
Add/39443 attribute filters (#39685)
* Add not filterable and not visible icons to attribute list

* Fix types

* Add changelogs

* Fix lint errors
2023-08-16 14:49:52 -04:00
nigeljamesstevenson 4bb1afa012
Fixes for HPOS new/update order hook behavior + webhook support (#39694) 2023-08-16 18:10:42 +01:00
RJ 99182c015c
dev: fix core profiler context ts type error (#39749) 2023-08-16 20:19:51 +08:00
Kyle Nel 542b33d859
Product Card: update to to using new API values
# Conflicts:
#	plugins/woocommerce-admin/client/marketplace/components/product-card/product-card.tsx
2023-08-16 13:55:59 +02:00
Dan Q cb5769ed0b Correct card hover outline color 2023-08-16 12:26:29 +01:00
Dan Q 555a8aaff0 Correct font color of search "no results" interpretation to g-gray 700 2023-08-16 11:00:59 +01:00
Dan Q 4831c6712b Improve semantics of "no results" page with a <h3> 2023-08-16 10:59:48 +01:00
Dan Q 91afe9f6e2 Correct search placeholder text 2023-08-16 10:56:15 +01:00
Dan Q e4e8490925 Fix heading font size 2023-08-16 10:54:29 +01:00
Dan Q 9c179240ab Switch "Woo Marketplace" hug in footer to gray-50 2023-08-16 10:18:22 +01:00
And Finally cc6ae76c42
Fix child keys error in `Tabs` component and and remove unnecessary `sanitizeHTML` call from `FeedbackModal` component (#39734) 2023-08-16 10:17:33 +01:00
Dan Q a88ccc1373 Update footer text 2023-08-16 10:05:53 +01:00
And Finally 7943c2988a
Hide empty addons menu item, fix marketplace feature toggle (#39751) 2023-08-16 09:30:59 +01:00
Dan Q b9a675be82 Linting CSS 2023-08-16 09:29:56 +01:00
Dan Q a89d05b8d1 Remove unused dependency 2023-08-16 09:28:51 +01:00
Dan Q 2397f37c93 Make product cards entirely clickable with hover effect 2023-08-16 09:20:24 +01:00
And Finally 732e5bd91b
More concise use of selectors, so we only do one lookup
Co-authored-by: Dan Q <dan@danq.me>
2023-08-16 08:49:01 +01:00
Sam Seay 462c690d61
Remove redundant deps on e2e in wc-admin (#39746) 2023-08-16 12:15:03 +12:00
github-actions 95c279f96c Add changefile(s) from automation for the following project(s): woocommerce 2023-08-15 21:46:27 +00:00
Corey McKrill acee366e8b
phpcs cleanup 2023-08-15 14:23:46 -07:00
Corey McKrill 9212d5f70d
Checkout: show "thank you" message regardless of verification status
As an alternative to #39406, this tries to solve the same issue in a
simpler way: break the "thank you" message out into its own small
template file and just include it in more places, so that no matter
the context, the order confirmation screen will always say thank you,
acknowledging that the order data has been received.
2023-08-15 14:10:06 -07:00
jonathansadowski beea09de2e
Update stable tag to 8.0.2 (#39757)
woorelease: Update stable tag to 8.0.2
2023-08-15 15:11:07 -05:00
Thomas Shellberg a319582c6d
Fix saving bug with Woo AI settings page and simplify. (#39565)
* Fix Woo AI plugin settings page save bug and refactor settings page.
2023-08-15 22:10:21 +02:00
Jorge A. Torres 2928a0246e
Address some more wc-admin PHP 8.1+ deprecation warnings (#38774)
* More wc-admin fixes

* Add changelog
2023-08-15 16:41:09 -03:00
And Finally 368abf3fd4 Added JS to hide the dodgy empty submenu item for My Subscriptions till we can convert that page to React.
Wrapped adding of Extensions submenu item to when marketplace feature is enabled. The old version of the marketplace doesn't need this.
Added `marketplace` feature to `legacy_feature_ids` in `FeaturesController`. See https://protonpower.wordpress.com/2023/07/07/woocommerce-feature-triggers-scary-warning/#comment-8066.
2023-08-15 17:00:05 +01:00
Gan Eng Chin 0be8fa0b36
Fix TikTok naming (#39748) 2023-08-15 22:40:52 +08:00
jonathansadowski 9887601901
Update beta tester build step (#39732)
* Update beta tester build step

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-15 08:16:19 -05:00
nigeljamesstevenson d1f2218f71
Add loading indicator when submitting location in Tax task (#39613)
thanks a lot!
2023-08-15 13:49:13 +01:00
raicem 43271f9292 Marketplace: remove Featured category from category selector
It's not needed as a category option as the Discover page
shows the featured products. So we filter it out.
2023-08-15 15:43:09 +03:00
Cem Ünalan ce32317aeb
Marketplace: Add translation to the no results icon alt text
Co-authored-by: Dan Q <dan@danq.me>
2023-08-15 15:38:41 +03:00
raicem fefe5223bc Marketplace: Add no results page 2023-08-15 15:37:50 +03:00
RJ 964dd1f449
dev/refactor core profiler utils (#39581)
* dev: added useFullScreen hook

- foresee using this in more developments

* dev: made findComponentMeta generic

* changelog
2023-08-15 19:26:37 +08:00
Kyle Nel b3992d3844
Reimplement existing marketplace tracking (#39672)
* Tracking: add UTM params to vendor links

# Conflicts:
#	plugins/woocommerce-admin/client/marketplace/utils/functions.tsx

Co-authored-by: raicem <unalancem@gmail.com>
2023-08-15 10:03:27 +02:00
raicem 31aa9ebd59 Marketplace: add category filtering 2023-08-15 09:38:17 +03:00
raicem 0aa3c26862 Marketplace: Add product list context 2023-08-15 09:38:17 +03:00
github-actions 6cfca3a8eb Add changefile(s) from automation for the following project(s): woocommerce 2023-08-15 06:27:57 +00:00
Gan Eng Chin 33f77af602 Fix TikTok naming in img alt attribute. 2023-08-15 14:11:35 +08:00
Vedanshu Jain 1566416f46
Add migration to move incorrectly stored payment token IDS to HPOS tables (#39724)
* Add migration to move incorrectly stored payment token IDS to HPOS tables from postmeta.

* Move migration to last + update WC version.
2023-08-14 21:31:17 +01:00
louwie17 3edd1bd823
Auto delete unused variations when auto generating variations (#39733)
* Add auto delete functionality for variations

* Add the remove confirmation modal

* Update delete unmatched product variation logic

* Add tests

* Add changelogs

* Fix lint errors

* Fix lint errors
2023-08-14 16:35:16 -03:00
And Finally d3012bd0b8 Fixing issue with missing keys in `Tabs` component children.
Removing unnecessary `sanitizeHTML` call in `FeedbackModal`.
2023-08-14 14:53:07 +01:00
Ilyas Foo 6be7c4b5e3 Lint again 2023-08-14 13:42:00 +08:00
Ilyas Foo 4a04d19b60 Lint 2023-08-14 13:23:45 +08:00
Ilyas Foo f95fdd83c9 Remove unused attribute 2023-08-14 12:03:07 +08:00
Ilyas Foo a585555d92 Use try catch to handle error, better flux flow to handle next step 2023-08-14 11:45:56 +08:00
Ilyas Foo dc2c4e7c48 Merge remote-tracking branch 'origin/trunk' into tweak/loading-indicator-tax-task-store-location 2023-08-14 10:16:11 +08:00
github-actions[bot] e8d0a081ad
Delete changelog files based on PR 39639 (#39661)
Delete changelog files for 39639

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-13 13:52:17 -05:00
Jorge Torres 39473b6104 Add changelog 2023-08-11 20:11:47 -03:00
Jorge Torres 4a55bd104d Add some tests 2023-08-11 20:11:47 -03:00
Jorge Torres 54d06641eb Add HPOS order trashing/untrashing to webhooks 2023-08-11 20:11:47 -03:00
Jorge Torres d44e882f5d Trashing/untrashing orders and updating CPT datastore-level props should not trigger update hook 2023-08-11 20:11:47 -03:00
Jorge Torres 26043fa0ea Transitioning HPOS orders from auto-draft should trigger new order hook 2023-08-11 20:11:47 -03:00
Jorge Torres 4b0416d251 Do not fire ‘woocommerce_new_order’ when creating auto-draft orders 2023-08-11 18:10:13 -03:00
Vedanshu Jain 5dc3f65522
Store transactional meta in HPOS tables. (#39381)
* Store transactional meta in HPOS tables.

* Add transaction to the list of legacy meta, since we have getters for it, but its not stored in custom table.

* Add unit test.

* Unit test fixups + mark payment tokens as non internal for datastore.

* Use correct filename for HPOS.

* Mark payment_tokens as internal and update getter/setters accordingly.

* Fix indentation.

* Address PR review feedback.
2023-08-11 12:28:11 -07:00
Barry Hughes 26abedebe0
Add date index to order tables for speeding up order list query. (#39682) 2023-08-11 10:39:54 -07:00
Barry Hughes 453a92c0ca
Update Action Scheduler to 3.6.2. (#39665) 2023-08-11 18:00:57 +01:00
jonathansadowski 3363ba8d16
Update stable tag to 8.0.1 (#39632)
* woorelease: Update stable tag to 8.0.0

* Update stable tag to 8.0.1
2023-08-11 11:13:36 -05:00
github-actions[bot] 6890bbe8bf
Delete changelog files based on PR 39686 (#39692)
Delete changelog files for 39686

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-11 10:10:21 -05:00
Sam Seay 760c604e7c
Revert behaviour of code that was using nullish coalescing operator. (#39686)
* Revert behaviour of code that was using nullish coalescing operator.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-11 10:07:26 -05:00
louwie17 71e8b699db
Convert simple to variable product and auto add variations (#39673)
* Auto create variations and move product to variable when adding variation options

* Delete unused components

* Add tour to variation options

* Remove unneeded options

* Add changelog

* Fix types

* Fix lint errors

* Fix broken tests

* FIlter out option tags when not included in attributes

* Don't invalidate variations data when no new variations are created
2023-08-11 11:15:05 -03:00
Vedanshu Jain 9b6c7ba266 Add changelogs. 2023-08-11 14:58:07 +05:30
Vedanshu Jain e667965f60 Connect HPOS tables to wc_install. 2023-08-11 14:56:32 +05:30
Vedanshu Jain feccb3c8e0 dbDelta dont like it when there are spaces in decimal specification. 2023-08-11 14:56:15 +05:30
Vedanshu Jain 632b0c2034 Modify index to also add created date to speed up order list. 2023-08-11 14:54:33 +05:30
Vedanshu Jain 05dfaacd37
Bulk actions: within URL, specify orders using `id[]` rather than `order[]` (#39524) 2023-08-11 14:25:35 +05:30
Jaclyn Chen f9b68e22c7
WC Telemetry: add `first_used` and `installation_date` data to WCTracker (#39605)
* WC_REST_Telemetry_Controller: add `first_used` and `installation_date` meta fields for WCTracker.

* Add `installation_date` parameter to the endpoint parameter collection.

* Update implementation with unit tests.

* Update comments in the test class.

* Auto fixes from phpcbf.

* Attempt fixing lint errors in the tests.

* Set the installation date with the same date format as the pre-existing `last_used`.

* Add changelog.

* Fix an issue where the lack of installation date in the request still sets the field to the current date.

* Attempt fixing lint errors with phpcbf.
2023-08-11 14:32:40 +08:00
jonathansadowski 67079574cc
Add support for releasing Beta Tester to WooCommerce.com (#39671) 2023-08-11 12:51:01 +12:00
Matt Sherman e805b6b075
Core block-based template PHP API (adding blocks to templates) (#39470)
* Initial BlockTemplate implementation

* Initial BlockTemplate tests

* FIx undefined array key errors

* Fix linter errors (except for missing docs ones)

* Get as simple array

* Unit test updates for get_as_simple_array()

* Remove inner content (not used currently)

* Rename attrs to attributes

* Move name out of data array

* Move id out of data array

* Move order out of data array

* Move attributes out of data array; remove data array

* Add doc comments to Block

* Add doc comments to BlockTemplate

* Add doc comments to BlockContainerInterface and BlockContainerTrait

* Doc comment updates.

* Add doc comments to BlockTest

* Add doc comments to BlockTemplateTest

* Add BlockInterface

* Remove key consts from Block

* Move implementations to internal

* Clean up interfaces

* Do not have BlockInterface extend BlockContainerInterface

* FIx case in namespace declaration

* Add exceptions to add_block doc

* Rename BlockTemplate to BlockBasedTemplate

* Rename block-based template vars in tests

* Fix missing get_parent on block containers

* Changelog

* Add get_block_by_id to BlockBasedTemplateInterface

* Rename get_block_by_id to get_block

* Rename get_as_simple_array to get_as_formatted_template

* Rename child blocks to inner blocks

* Rename BlockBasedTemplate to BlockTemplate

* Move validation to separate method

* Move namespace to be non-product editor specific

* Rename get_as_formatted_ methods to get_formatted_

* Rename BlockBasedTemplateTest to BlockTemplateTest

* Add ability to use a custom block generator with add_block

* Add check that block belongs to root template in internal_add_block_to_template

* Fix up code docs related to $block_creator

* Fix code doc linting errors in tests

* Add test for a buggy block creator implementation

* Add test for an invalid block creator

* Rename internal_add_block_to_template to cache_block

* Add add_block_container() method

* Fix linting issue.

* Fix minor issues in ContainerInterface with get_root_template() and get_parent()

* Add block template with abstract blocks and templates (#39630)

* Make block template abstract and protected add block methods

* Create block abstraction and generic block

* Remove add_block from container interface

* Update tests for generic and custom blocks

* Add tests around custom block templates

* Fix up lint errors

* Fix errant comment for add_block

---------

Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2023-08-10 15:52:44 -07:00
And Finally 0d2e2b6c06 Squashed commit of the following:
commit d7c6924301976338100aad564e4f9d2b8ef40bb3
Author: And Finally <andfinally@users.noreply.github.com>
Date:   Thu Aug 10 11:52:46 2023 +0100

    Addressing feedback.
    Removed unneeded internal dependencies comment.

commit 216e3061787923e070878c1491098fb984f53f47
Author: And Finally <andfinally@users.noreply.github.com>
Date:   Thu Aug 10 11:51:45 2023 +0100

    Addressing feedback.
    Sanitizing `comments` input before we send it to Tracks.
    Whitespace.

commit 817bcb78a47e9cb5c60167d979dca404d581cc9c
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 16:37:04 2023 +0100

    Made selected-item style more like existing ones (background color)

commit 57af273b02dfd3039f3db48b620c5842cf7eab3c
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 16:25:14 2023 +0100

    Namespaced more translatable strings

commit ef293ad45db9511199a61bda9cf1f94709558dd1
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 16:21:35 2023 +0100

    Moved <TextareaControl> out of <p> (prevents DOM "<div> in <p>" warning)

commit efc4a5993358726e89e1728b29245340b62dab9c
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 16:18:57 2023 +0100

    Linter appeasement

commit c7efaf798e49ddfe3fd3deab8f07da083c4c236f
Merge: 8b3ff1c86b 2a8d47cd6a
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 15:47:29 2023 +0100

    Merge branch 'feature/marketplace' into add/wccom-17602-marketplace-feedback-component

commit 8b3ff1c86b550574d768a31b2e3b4868a444f6c8
Author: Dan Q <dan@danq.me>
Date:   Wed Aug 9 15:20:20 2023 +0100

    Update plugins/woocommerce-admin/client/marketplace/components/likert-scale/likert-scale.scss

    Co-authored-by: Kyle Nel <22053773+kdevnel@users.noreply.github.com>

commit 4be3827474e10a99b8f15f479ff7df17e74cab63
Merge: 19e3aa1324 789fdf36a0
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 15:19:12 2023 +0100

    Merge branch 'add/wccom-17602-marketplace-feedback-component' of https://github.com/woocommerce/woocommerce into add/wccom-17602-marketplace-feedback-component

commit 19e3aa13249a885f563ee3265fe6b4f224201f4e
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 15:18:58 2023 +0100

    Remove unused TextControl

commit 789fdf36a06f8244cc293bbbb4fbd5cb0d6c7eb4
Author: Dan Q <dan@danq.me>
Date:   Wed Aug 9 15:16:09 2023 +0100

    Update plugins/woocommerce-admin/client/marketplace/components/likert-scale/likert-scale.tsx

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

commit d8db9a460f4626b316fad2a60dc947d3c232205d
Author: Dan Q <dan@danq.me>
Date:   Wed Aug 9 15:15:25 2023 +0100

    Update plugins/woocommerce-admin/client/marketplace/components/feedback-modal/feedback-modal.tsx

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

commit 6f0ab9a65c6ec4c13b2af3530393f793952fa93e
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 15:08:10 2023 +0100

    Switched pencil icon

commit 5bea666730f1bb5cd9479affad5701b68007ea9f
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 14:36:32 2023 +0100

    Ensured snackbar appears at bottom (thanks @andfinally for the analysis!)

commit b49a19f08d9db4eed592c54ddf79fcf9b9e35d13
Merge: 0076c28677 172234b5a9
Author: Dan Q <danq@automattic.com>
Date:   Wed Aug 9 13:59:18 2023 +0100

    Merge branch 'feature/marketplace' into add/wccom-17602-marketplace-feedback-component

commit 0076c2867778ec157ba60aa6259d3768a0f3bb3d
Author: Dan Q <dan@danq.me>
Date:   Tue Aug 8 07:59:42 2023 +0100

    Update plugins/woocommerce-admin/client/marketplace/components/feedback-modal/feedback-modal.tsx

commit 05f1606dc74050de2170d870954c106c83f9dac9
Author: Dan Q <dan@danq.me>
Date:   Tue Aug 8 07:58:36 2023 +0100

    Fixed merge

commit b73a324c5a9db056724b2085aa6055f433841823
Merge: df92adfa14 a807040208
Author: Dan Q <danq@automattic.com>
Date:   Tue Aug 8 07:56:33 2023 +0100

    Merge branch 'feature/marketplace' into add/wccom-17602-marketplace-feedback-component

commit df92adfa14c0c9c80f10cc240214dd65f498d7f3
Author: Dan Q <danq@automattic.com>
Date:   Mon Aug 7 10:53:17 2023 +0100

    i18n: make "Additional thoughts" translatable

commit b0433556b00283892233bf3729b579a9bf71074d
Author: Dan Q <danq@automattic.com>
Date:   Mon Aug 7 10:36:41 2023 +0100

    Add feedback modal to content

commit deae2e682437b30728f0b1e3394e3ae02a879228
Author: Dan Q <danq@automattic.com>
Date:   Mon Aug 7 10:33:43 2023 +0100

    Validation/validation feedback on likert scales

commit 50aadeef4d87e952e5578299cc303339304ee3e5
Author: Dan Q <danq@automattic.com>
Date:   Mon Aug 7 09:27:48 2023 +0100

    Remove unused props

commit 928a62df4cadb81d8017bb7e65e162ee93110a26
Author: Dan Q <danq@automattic.com>
Date:   Mon Aug 7 09:27:15 2023 +0100

    Don't ask for feedback if dismissed earlier today

commit 9a8b896f934ea91ee2e3f938c30376192cc0d4d8
Author: Dan Q <danq@automattic.com>
Date:   Mon Aug 7 09:16:18 2023 +0100

    Enable suppression by multiple dismissal or by submission

commit 521181a38f138de1255222987a1cc313c537d825
Author: Dan Q <danq@automattic.com>
Date:   Mon Aug 7 09:01:26 2023 +0100

    Add a max date

    This is important because we don't want to ask for feedback on a "new" marketplace forever, and we can't necessarily rely on being able to remove the dialog in a future version of WooCommerce (because some users might never upgrade beyond this version).

commit 0f36d364f40a09de14ef3b585fb8f9387d9db370
Author: Dan Q <danq@automattic.com>
Date:   Mon Aug 7 08:47:04 2023 +0100

    Removed email field

commit b83ca81aeacb3a20a2733659fab0fc531eb8fabb
Author: Dan Q <danq@automattic.com>
Date:   Fri Aug 4 12:18:54 2023 +0100

    CES push from feedback form

commit e5b6e5b570a78b9d4485b5a0f1005522a619e793
Author: Dan Q <danq@automattic.com>
Date:   Tue Aug 1 16:33:55 2023 +0100

    Hook up events. Fix a11y (keyboard navigation).

commit b679495180993efddde134d0a1270e41223f5211
Author: Dan Q <danq@automattic.com>
Date:   Tue Aug 1 15:49:24 2023 +0100

    Initial icon in snackbar

commit b702be9b8c28376220a0b79243dbf49e5648359c
Author: Dan Q <danq@automattic.com>
Date:   Tue Aug 1 15:23:16 2023 +0100

    Use a snackbar notice to open the feedback modal

commit 06736e4a3c2f302b048873764331d5f3b4fa0e29
Author: Dan Q <danq@automattic.com>
Date:   Tue Aug 1 14:25:35 2023 +0100

    Feedback modal design matching

commit 7c3a969a502b0efda01f3e33ff8dea00d493547b
Author: Dan Q <danq@automattic.com>
Date:   Tue Aug 1 13:40:35 2023 +0100

    Basic layout of Likert scales on feedback component

commit 3c3f0e0e72402db784aaf281365c252c3204de9b
Author: Dan Q <danq@automattic.com>
Date:   Tue Aug 1 13:25:15 2023 +0100

    Tidier order of likert items

commit 8176e8820be4acc269b59617df0799816ed6944a
Author: Dan Q <danq@automattic.com>
Date:   Tue Aug 1 13:21:52 2023 +0100

    Initial skeleton for WooCommerce Marketplace/Extensions feedback component

commit 62a4bfa0ec
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Thu Jul 27 15:47:54 2023 +0300

    👌 Use admin theme color for select2

commit 26811772c9
Author: Nathan Silveira <nsschneider1@gmail.com>
Date:   Fri Jul 28 14:40:18 2023 -0300

    [ Product Block Editor ] Create Variation options block (#39256)

    * Add support for variable products

    * Add 'hello world' block to variations tab

    * Add product-section block to template

    * Add AttributeControl component to screen

    * Add changelog

    * Change labels

    * Make a copy of AttributeControl to VariationOptionsControl to allow the fields to evolve separately in future

    * Fix tests

    * Add changelog to woocommerce

    * Fix alert error

    * Remove copied control and start adapting attribute control to handle both scenarios

    * Add -field to block name

    * Revert "Add -field to block name"

    This reverts commit 50e1ee66e27ffb2df22ea7f6a4f78d1577a273f5.

    * Revert "Revert "Add -field to block name""

    This reverts commit eee0441c6532f9fa8cf8383d9699fd503dd054ae.

    * Extract more labels

    * Hide drag handle in variation options

commit 575bbae7b9
Author: Nathan Silveira <nsschneider1@gmail.com>
Date:   Fri Jul 28 14:05:03 2023 -0300

    [Product Block Editor] Add require password block field (#39464)

    * Add post password to API

    * Add changelog

    * Fix phpcs issue

    * Remove post_password from tests

    * Add additional property to test

    * Increment number of properties in product schema

    * Update the post when post_password changes

    * Start adding password block

    * Add css and import it

    * Refactor attributes and erase password when checkbox is unchecked

    * Add changelogs

    * Remove unused imports

    * Rename 'fields' to 'field'

    * Refactor CSS

    * Remove example object

commit bb390b12d0
Author: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
Date:   Thu Jul 27 15:18:10 2023 -0700

    Update template version

commit 87ae3d1d7d
Author: github-actions <github-actions@github.com>
Date:   Thu Jul 20 19:12:38 2023 +0000

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

commit 9c7c58cb0b
Author: Chris McNeill <82999806+csmcneill@users.noreply.github.com>
Date:   Thu Jul 20 13:53:07 2023 -0500

    Removes the "for your state" string from the checkout page if there are no current payment methods available.

commit d4893c4706
Author: Paul Sealock <psealock@gmail.com>
Date:   Fri Jul 28 11:10:29 2023 +1200

    Monorepo Utils: Fix no merge base in changefile script (#39467)

    * when checking out remote branch, ensure git history is there to find common ancestor for git diff

    * remove unshallow

commit 144e873393
Author: Leif Singer <leif@automattic.com>
Date:   Thu Jul 27 22:29:59 2023 +0200

    Optimize system status tests (#39363)

commit fccc62d91a
Author: Nathan Silveira <nsschneider1@gmail.com>
Date:   Thu Jul 27 13:02:36 2023 -0300

    [Product Block Editor] Add post_password parameter to the Woo product REST api (#39438)

    * Add post password to API

    * Add changelog

    * Fix phpcs issue

    * Remove post_password from tests

    * Add additional property to test

    * Increment number of properties in product schema

    * Update the post when post_password changes

commit cb787aba19
Author: Leif Singer <leif@automattic.com>
Date:   Thu Jul 27 14:06:55 2023 +0200

    Shard unit test runs (#39362)

commit d7e5703b07
Author: Jorge Torres <jorge.torres@automattic.com>
Date:   Tue Jul 25 11:25:49 2023 -0300

    Add changelog

commit 8cf45dc8c1
Author: Jorge Torres <jorge.torres@automattic.com>
Date:   Tue Jul 25 11:25:29 2023 -0300

    Include postcode in Vietnam address format

commit 527701f53d
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 18 10:55:32 2023 +0300

    Update count color, use admin theme

commit 35c1592d8b
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Fri Jul 14 15:10:29 2023 +0300

    Update helper css to use admin theme color

commit bf95490ade
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Fri Jul 14 14:06:54 2023 +0300

    Changelog

commit eb7b83b496
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Fri Jul 14 13:52:50 2023 +0300

    Hover on orders view icon, use admin theme color

commit 378d005230
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Fri Jul 14 13:51:49 2023 +0300

    Store alerts update - use admin theme colors

commit 603cbd3f5d
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Fri Jul 14 13:50:02 2023 +0300

    Components empty content icon color

commit 3c9e4606cd
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Wed Jul 12 16:34:49 2023 +0300

    Finally, that's the changelog :)

commit 8f4003806a
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Wed Jul 12 16:16:28 2023 +0300

    Changelog

commit 016ae26651
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Wed Jul 12 15:43:45 2023 +0300

    Changelog (again)

commit df07d17e2b
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Wed Jul 12 15:24:18 2023 +0300

    Changelog

commit 30f43803d2
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Wed Jul 12 15:09:15 2023 +0300

    Remove styles from buttons, as theme colors.css is taking care of them

commit 5497cefced
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Wed Jul 12 15:01:36 2023 +0300

    Applied review comments

commit 57d4f685fd
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 19:43:05 2023 +0300

    Remove hardcoded text color wherever variable background color is used

commit ea19b23e54
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 19:21:37 2023 +0300

    Fix activation css to use wp-admin-theme-color

commit dbffd6b5c9
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 19:04:49 2023 +0300

    Use new branding colors in activation and wc setup

commit 68a83a0d46
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 17:45:39 2023 +0300

    Shipping methods empty state follow theme colors (and minor improvements)

commit 366ee82397
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:43:39 2023 +0300

    Use page-title-action instead of deprecated add-new-h2

commit f62221c0da
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:43:09 2023 +0300

    Untested extensions modal uses theme colors

commit 4bd8f6b874
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:41:10 2023 +0300

    Auth page uses Woo colors, according to branding

commit e637035574
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:40:41 2023 +0300

    Importer/Exporter use admin theme color

commit 6a76fd7954
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:38:18 2023 +0300

    Breadcrump up link use admin theme color

commit 1b67a7fe7c
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:37:15 2023 +0300

    Email status use admin theme color

commit 3b69ad144d
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:35:20 2023 +0300

    Input toggles use admin theme color

commit b9cd91c20c
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:34:56 2023 +0300

    WooCommerce message use admin theme color

commit 5c1dfade05
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:34:24 2023 +0300

    Blankstate buttons follow theme colors

commit 20d9981b71
Author: Panos (Panagiotis) Synetos <2484390+PanosSynetos@users.noreply.github.com>
Date:   Tue Jul 11 16:24:57 2023 +0300

    Change default WooCommerce color

commit 16d295d303
Author: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
Date:   Tue Jul 25 11:07:52 2023 -0700

    Use the LegacyProxy to invoke get_plugins, remove CodeHacking usage

commit 5c0d161d87
Author: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
Date:   Fri Jun 23 15:27:55 2023 -0700

    Add changelog file

commit 28e4ce95ef
Author: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
Date:   Fri Jun 23 15:23:42 2023 -0700

    WC Tracker: Add unit test for plugin feature compat data

    In #38849 a change was made that allowed the class mocking necessary
    for this test to happen in a way that wouldn't interfere with other
    unit tests.

    Fixes #38720

commit f479625708
Author: Sam Seay <samueljseay@gmail.com>
Date:   Wed Jul 26 12:54:45 2023 +0800

    WooCommerce Docs: Fix a bug where passing full file urls made ids unstable. (#39357)

    Fix a bug where passing full file urls made ids unstable.

commit ce79211c93
Author: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
Date:   Tue Jul 25 18:00:03 2023 +0530

    Support inserting NULL values for strict DB mode (#39396)

    * Support inserting NULL values for strict DB mode

    * Set default date for placeholder order to support strict MySQL.

    * Add unit test to verify strict mode also works.

    * Make HPOS behavior of modified date consistent with WP_Post.

    In HPOS we were leaving modified date to be empty, while WP_Post set it to the created date if modified date is null.

commit b1cb905464
Author: Paul Sealock <psealock@gmail.com>
Date:   Tue Jul 25 15:29:43 2023 +1200

    WooCommerce Docs: Handle multiple category posts (#39352)

commit ddf9a7741a
Author: Paul Sealock <psealock@gmail.com>
Date:   Tue Jul 25 10:03:01 2023 +1200

    Monrepo Utils code-freeze: Update version bump to modify release branches (#39243)

commit 91a0fbafa9
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Mon Jul 24 14:21:47 2023 -0500

    Delete changelog files based on PR 39327 (#39388)

    Delete changelog files for 39327

    Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>

commit 8ae03a55de
Author: Moon <moon.kyong@automattic.com>
Date:   Tue Jul 25 04:13:13 2023 +0900

    Update/39325 typo in core profiler data sharing copy (#39327)

    * Fix grammar in data-sharing agreement copy

    * Add changelog

    * Put ,

    * Add brackets

    * Move learn more link inside the bracket

    * Update test snapshot

    * Fix grammar

    * Update test snapshot

commit 41d052b9e5
Author: RJ <27843274+rjchow@users.noreply.github.com>
Date:   Mon Jul 24 20:34:38 2023 +0800

    dev: core profiler pages storybook (#39046)

    * dev: core profiler pages storybook

    * changed css path to pre-build zip path

commit c119d8f7e3
Author: Rodel Calasagsag <rodel.calasagsag@automattic.com>
Date:   Thu Jul 20 09:30:43 2023 +0800

    Add changelog

commit 598adeb93e
Author: Rodel Calasagsag <rodel.calasagsag@automattic.com>
Date:   Wed Jul 19 18:56:39 2023 +0800

    Fix flakiness

commit 8f14d89310
Author: Jon Lane <jon.lane@automattic.com>
Date:   Fri Jul 21 13:22:07 2023 -0700

    Skip tax rates test if CI

commit b7913a7165
Author: Jon Lane <jon.lane@automattic.com>
Date:   Thu Jul 20 15:50:50 2023 -0700

    Changelog

commit 4c3ef8e623
Author: Jon Lane <jon.lane@automattic.com>
Date:   Thu Jul 20 15:49:02 2023 -0700

    Skip failing tests

commit c3e76523ec
Author: Jon Lane <jon.lane@automattic.com>
Date:   Thu Jul 20 14:28:40 2023 -0700

    Update config to use API URL

commit 149c969ba8
Author: Jon Lane <jon.lane@automattic.com>
Date:   Thu Jul 20 14:26:59 2023 -0700

    Update API URL in workflow and run all API tests

commit be992dca02
Author: Jon Lane <jon.lane@automattic.com>
Date:   Thu Jul 20 14:22:04 2023 -0700

    Run global setup

commit 00f55c3a13
Author: Jon Lane <jon.lane@automattic.com>
Date:   Thu Jul 20 14:20:36 2023 -0700

    Perform a site reset if running on CI

commit b128f07af2
Author: Sam Seay <samueljseay@gmail.com>
Date:   Sat Jul 22 12:22:55 2023 +0800

    WooCommerce Docs: Add support for more core block conversion (#39244)

    * WIP extend support for frontmatter in manifests.

    * Change some of the prop names in the frontmatter support, add tests.

    * WIP support new frontmatter in plugin.

    * Improve category processing.

    * restructure the docs to have a nested category with no index.

    * Add WP test stubs to dev.

    * Add tests for the ManifestProcessor.

    * Add param docs to function

    * Store post meta on posts when they are updated or created. Add supporting tests.

    * WIP supporting more core block types.

    * Fix bugs in conversion.

    * Adjust conversion for issues with tables, blockquotes, code.

    * Resolve pnpm lock conflicts

    * Return manifest to state in trunk.

    * Return pnpm lock to trunk state.

    * Update fixture for new md content.

commit 0243bfdc42
Merge: 19ba93ca52 34e490f267
Author: And Finally <andfinally@users.noreply.github.com>
Date:   Wed Jul 26 14:03:25 2023 +0100

    Add new top admin bar to marketplace (#39145)

commit 34e490f267
Author: And Finally <andfinally@users.noreply.github.com>
Date:   Wed Jul 26 12:31:59 2023 +0100

     Tidying history for https://github.com/woocommerce/woocommerce/pull/39145. Copied changes from `add/wccom-17419-marketplace-top-admin-bar`.

    Deleting unused import.

    Addressing CSS linter errors.

commit 19ba93ca52
Merge: 30e23d22d5 28cb1008eb
Author: Kyle Nel <22053773+kdevnel@users.noreply.github.com>
Date:   Wed Jul 26 12:52:39 2023 +0200

    Setup marketplace React skeleton layout (#39382)

commit 28cb1008eb
Author: Kyle Nel <22053773+kdevnel@users.noreply.github.com>
Date:   Tue Jul 4 14:08:50 2023 +0200

    Add skeleton and cherry-picked commits

    - Reset layout to allow full width
    - Added Footer & IconWithText components

    Add temporary placeholder components

    All components here are temporary and can be removed/replaced when their relevant PR is ready.

    Add marketplace footer component

    The component is added using a SlotFill to use the existing WC Admin footer and utilise full width correctly.

    Setup initial content area layout

    Update tab styles

    Setup styling to match latest design

    Finalise footer, wide layout, and tidy styles

    - Applies the wide layout from latest MVP design
    - Applies the correct footer links to titles
    - Some general style tidying

    Organise styles and setup variables

    Swap to using CSS Grid for layouts

    Update breakpoints

    Restructure style naming and update to core styles

    Add translation in some places

    In-app marketplace search component. Cleaned up the commit history of this branch. Copied changes from these commits:

    e9828422706176817e511778980005222aa36cc5
    9ca2ae351c97fcd27ecd77a1464c2a9ca16de040
    e47815705f3854bf50ff48d7975b7cf2f541614b
    976811c458e67ae7fa107c8bf8554fdc3e809d85
    46eafdf49fe39c12dee77d6ce0885bdeda527dea

    Deleted unused import.

commit 30e23d22d5
Author: And Finally <andfinally@users.noreply.github.com>
Date:   Thu Jul 20 17:00:22 2023 +0100

    Changed `Tabs` to use `useQuery` instead of `getQuery`, so the browser back button will work.
    Changed submenu item name back to `Extensions`, and keeping it in the current order within the WooCommerce menu.
    Changed `path` value to `extensions`.

commit a2b878e8e7
Author: And Finally <andfinally@users.noreply.github.com>
Date:   Thu Jul 20 14:53:06 2023 +0100

    First commit. This contains the changes from `update/react-marketplace`, reviewed in https://github.com/woocommerce/woocommerce/pull/38885.

Addressing linter errors.
2023-08-10 14:53:46 +01:00
Kyle Nel c1f24735ca
Remove marketplace tour temporarily (#39618)
* Tour: reconfigure to work with new layout

- Started Reconfiguring the existing tour to work with the new layout and components.
- Updated step content based on design
- Implemented PR feedback
- Removed task list for MVP

# Conflicts:
#	plugins/woocommerce-admin/client/marketplace/components/tabs/tabs.tsx
2023-08-10 14:10:08 +02:00
RJ 106e15f74a
fix: core-profiler intro opt in page tracks ordering (#39508) 2023-08-10 14:25:44 +08:00
Barry Hughes dda93bfe51
Add filter to allow preventing deletion. (#39650) 2023-08-09 15:50:57 -07:00
Maikel David Pérez Gómez 3ffe7b8376
Create variation items block (#39657)
* Create and register product-variation-items-field block

* Create variations-table component

* Use variations-table component in variation-items block

* Remove last border bottom from the variation options list

* Add changelog file

* Add changelog file
2023-08-09 16:06:59 -03:00
Barry Hughes f36cb3a50c
Autoload test helpers and exclude from test suites. (#39586)
* Autoload test helpers and exclude from test suites.

This avoids loading order problems, and eliminates warnings (about HposTestCase) not containing any tests.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-09 15:48:04 -03:00
Luigi Teschio a5539edd14
bump WooCommerce blocks version to 10.6.5 (#39639) 2023-08-09 19:05:05 +02:00
And Finally 2a8d47cd6a
Ensure My Subscriptions page is still accessible when new marketplace is enabled (#39569) 2023-08-09 15:19:41 +01:00
Vedanshu Jain 97cd0abda9
Compare props to set changed array between post and order data. (#39653)
* Compare props to set changed array between post and order data.

* Use correct classname so that props can be set.

* Also clear cache after update and before backfill.
2023-08-09 10:25:21 -03:00
Thomas Shellberg 9418072a47
Add Branding + Tone to Product Descriptions (#39253)
* [Woo AI] generate product descriptions using tone of voice and/or business description context.
2023-08-09 14:15:18 +02:00
And Finally 56176ab008 If `marketplace` feature is enabled, adds `admin_menu` action to add the `wc-addons` page to the WooCommerce menu without showing it as a submenu item. This is a temporary measure, so we can continue to use the PHP version of the My Subscriptions page. Changes link on My Subscriptions page to point to the extensions tab of the new marketplace. Adds tab for My Subscriptions to marketplace header. 2023-08-09 12:39:55 +01:00
And Finally 172234b5a9
Create search loading state component for Marketplace (#39607) 2023-08-09 11:52:18 +01:00
Vedanshu Jain fc7e6871ed Add changelog. 2023-08-09 15:04:30 +05:30
Vedanshu Jain 722bbd8147 Add filter to allow preventing deletion. 2023-08-09 15:01:02 +05:30
Sam Seay d08780f139
Bump beta tester to 2.2.2 in prep to release bugfixes (#39603) 2023-08-09 13:06:02 +12:00
Christopher Allford 4549bc82c5
Applied PHPCS To Beta Tester (#39476) 2023-08-08 17:20:34 -07:00
Fernando Marichal 8f147eafb2
[E2E test coverage]: Disable block product editor (#39493)
* Remove ENABLE_NEW_PRODUCT_EDITOR

* add block-product-editor.spec.js

* Remove old editor tests

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/new-product-editor/new-product-editor.spec.js

* Add changelog

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

* Fix enabling

* Fix NEW_EDITOR_ADD_PRODUCT_URL

* Add test disable new product editor

* Add changelog

* Clean code

* Fix disabling

* Moved methods

* Fix comment

* Fix url

* Add `clickOnTab` function

* Add "general-tab"

* Add changelog

* Add sale price

* Rename file

* Rename file

* rename file again

* Fix product creation tests

* Fix  test

* add block-product-editor.spec.js

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/enable-block-product-editor.spec.js

* Fix enabling

* Add test disable new product editor

* Add changelog

* Clean code

* Fix disabling

* Moved methods

* Fix comment

* Fix url

* Add `clickOnTab` function

* Add "general-tab"

* Add changelog

* Add sale price

* Rename file

* Rename file

* rename file again

* Fix product creation tests

* Fix  test

* Remove expect not used
2023-08-08 15:36:22 -07:00
github-actions[bot] e5fa243683
Delete changelog files based on PR 39625 (#39628)
Delete changelog files for 39625

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-08 13:17:44 -05:00
Vedanshu Jain b3e011aa2b Rollback condition from delete flow as causes issues with no HPOS tables. 2023-08-08 22:14:29 +05:30
github-actions[bot] c76fff2f6a
Delete changelog files based on PR 39616 (#39624)
Delete changelog files for 39616

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-08 11:07:28 -05:00
Vedanshu Jain d4141958b2
Set the orders table exist option if its not set. (#39616)
* Set the orders table exist option if its not set.

* Add changelog.

* Must use yoda conditions.

* Remove unnecessary option set.
2023-08-08 13:01:00 -03:00
And Finally b56654867a Changes from `add/marketplace-product-card-component` after rebasing on feature branch. 2023-08-08 15:29:08 +01:00
Vedanshu Jain 9c13c21ec8
Execute order update logic earlier in the request (#39590) 2023-08-08 18:59:49 +05:30
Fernando Marichal d5d282dafa
[E2E test coverage]: Enable block product editor (#39463)
* Remove ENABLE_NEW_PRODUCT_EDITOR

* add block-product-editor.spec.js

* Remove old editor tests

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/new-product-editor/new-product-editor.spec.js

* Add changelog

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

* Fix enabling

* Fix NEW_EDITOR_ADD_PRODUCT_URL
2023-08-08 10:14:08 -03:00
Maikel David Pérez Gómez d3702c53ba
Add product visibility blocks (#39477)
* Add catalog visibility block

* Add product search visibility block

* Add changelog files

* Fix linter errors

* Remove non necesary block

* Add catalog_visibility property to the Product type
2023-08-08 09:58:00 -03:00
Ilyas Foo 12ccae642f Lint and changelog 2023-08-08 18:22:09 +08:00
Ilyas Foo 2a21fb9c6e Add loading indicator when submitting location 2023-08-08 16:42:43 +08:00
raicem bb84e90ef4 Marketplace: Add category selector 2023-08-08 09:56:02 +03:00
Kyle Nel 4fc7fba118
Apply suggestions from code review
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-08-08 08:35:28 +02:00
Sam Seay e8c3808527
Upgrade TypeScript to v5.1 (#39531) 2023-08-08 16:35:31 +12:00
Alefe Souza 428feb58a7
Update WCPay banners for WooPay (#39596)
* Update WCPay banners for WooPay

* Fix unit tests

* Always checks for WooPay eligibility

* Use existing method to determine WooPay eligibility

* Create is_woopay_eligible method
2023-08-07 19:17:59 -07:00
Kyle Nel ebf292492a
Loader: Add search loader component
- Rebased on feature branch 7th August 2023
2023-08-07 15:20:31 +02:00
Joel Thiessen 144bf08293
Generating the short description on the product editor (#39237)
* [Woo AI] Generate short description after long description is generated.
2023-08-07 14:03:52 +02:00
Kyle Nel a807040208 Add/user menu component (#39383)
User Menu: Create component and add to header

- Create initial component design
- We may need to return to implement the helper connection URLs once those are in place.
- Some PHPCS errors still exist - this is to be expected for now.

# Conflicts:
#	plugins/woocommerce-admin/client/marketplace/stylesheets/_variables.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: raicem <unalancem@gmail.com>
2023-08-07 12:34:05 +01:00
And Finally 55b2bb33ac Integrating search component into in-app marketplace header.
- Changed classNames in `Search` component.
- Moved styles from `header.scss` to `search.scss`.
- Deleted `HeaderSearch` and `HeaderSearchButton` components, no longer needed.
- Removed wrapper element around search form.
- Corrected marketplace API address in `Search` component.
- Using state to remember search term, instead of getting value of search input.
- Added condition to clear search input if Escape is pressed while it's focused.
- Not running search if search term is falsy.
- Changed label of "Extensions" tab to "Browse" – we'll do this for the moment, as we have repetition with the page title `Extensions`.
2023-08-07 12:34:05 +01:00
And Finally b48e52652d Tidying history for https://github.com/woocommerce/woocommerce/pull/39145. Copied changes from `add/wccom-17419-marketplace-top-admin-bar`.
Deleting unused import.

Addressing CSS linter errors.
2023-08-07 12:34:05 +01:00
Kyle Nel bd72b2cd08 Add skeleton and cherry-picked commits
- Reset layout to allow full width
- Added Footer & IconWithText components

Add temporary placeholder components

All components here are temporary and can be removed/replaced when their relevant PR is ready.

Add marketplace footer component

The component is added using a SlotFill to use the existing WC Admin footer and utilise full width correctly.

Setup initial content area layout

Update tab styles

Setup styling to match latest design

Finalise footer, wide layout, and tidy styles

- Applies the wide layout from latest MVP design
- Applies the correct footer links to titles
- Some general style tidying

Organise styles and setup variables

Swap to using CSS Grid for layouts

Update breakpoints

Restructure style naming and update to core styles

Add translation in some places

In-app marketplace search component. Cleaned up the commit history of this branch. Copied changes from these commits:

e9828422706176817e511778980005222aa36cc5
9ca2ae351c97fcd27ecd77a1464c2a9ca16de040
e47815705f3854bf50ff48d7975b7cf2f541614b
976811c458e67ae7fa107c8bf8554fdc3e809d85
46eafdf49fe39c12dee77d6ce0885bdeda527dea

Deleted unused import.
2023-08-07 12:34:05 +01:00
And Finally 05a608399a Changed `Tabs` to use `useQuery` instead of `getQuery`, so the browser back button will work.
Changed submenu item name back to `Extensions`, and keeping it in the current order within the WooCommerce menu.
Changed `path` value to `extensions`.
2023-08-07 12:34:05 +01:00
And Finally b3723f7a7d First commit. This contains the changes from `update/react-marketplace`, reviewed in https://github.com/woocommerce/woocommerce/pull/38885. 2023-08-07 12:34:05 +01:00
Barry Hughes c4f00719de
Fire 'woocommerce_process_shop_order_meta' only once when updating orders on the admin (#39587) 2023-08-04 15:41:29 -07:00
github-actions 406fd408dc Add changefile(s) from automation for the following project(s): woocommerce 2023-08-04 21:45:16 +00:00
Chris Runnells 017be8b7e5
Replace 'end' CSS props with 'flex-end' when using 'display: flex' (#39419) 2023-08-04 11:12:05 -10:00
Jorge Torres 90919db69c Execute order update logic earlier in the request 2023-08-04 17:32:59 -03:00
Jorge Torres 9c05efbe3f Add changelog 2023-08-04 17:18:07 -03:00
Jorge Torres 083cc6d4a1 Do not run `WC_Admin_Meta_Boxes::save_meta_boxes()` for HPOS orders 2023-08-04 17:18:07 -03:00
github-actions[bot] bf2d2b6bc3
Delete changelog files based on PR 39582 (#39592)
Delete changelog files for 39582

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-04 15:15:41 -05:00
Luigi Teschio 5d68832fd5
bump WooCommerce blocks version to 10.6.4 (#39582) 2023-08-04 15:13:27 -05:00
github-actions[bot] 106ca182e5
Delete changelog files based on PR 39584 (#39589)
Delete changelog files for 39584

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-04 14:26:47 -05:00
barryhughes dd3187844d Temporarily skip problematic test (tested feature remains experimental). 2023-08-04 11:41:36 -07:00
barryhughes 3f58ac3e5b Remove no-op migration from 8.0. 2023-08-04 09:30:37 -07:00
Sam Seay d64e1c24dd
Beta Tester: Do not run code in tracks debug unless WC_ABSPATH is defined. (#39486)
* Do not run code in tracks debug unless WC_ABSPTAH is defined.

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

* Also avoid registering scripts if Woo is not installed.

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-04 12:29:07 +08:00
Paul Sealock b14653ede0
WooCommerce Docs: Delete posts when it removed from the manifest (#39395) 2023-08-04 14:00:50 +12:00
nigeljamesstevenson 0d8d824b47
Prevent read on sync while inside a backfill. (#39450) 2023-08-04 00:48:28 +01:00
barryhughes 1152ac1246 Tidy comment. 2023-08-03 16:24:33 -07:00
barryhughes bc91ad26c2 Continue supporting bulk action redirect in both directions. 2023-08-03 16:17:52 -07:00
nigeljamesstevenson d2fb10fcae
Update locator to reduce flakiness when running tests against an external site (#39375)
* Update locator to reduce flakiness when running tests against an external site

* changelog update
2023-08-03 14:01:52 -07:00
Moon 3c07a03943
Update/79113 incorrect subheading style and copy on wc core profiler (#39526)
* Use -webkit-font-smoothing: antialiased for core profiler subheadings

* Remove subheading letter-spacing
2023-08-03 11:26:52 -07:00
Faisal Alvi 2cac4e4f41
Fix #38716 Detect the first `<h2>` tag to fix Test failure (#38717)
* Fix #38716

* Adding changelog

* update changelog
2023-08-03 10:31:25 -07:00
github-actions[bot] 9fc67703ff
Delete changelog files based on PR 39560 (#39568)
Delete changelog files for 39560

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-03 09:53:32 -05:00
Luigi Teschio 6d920da52a
bump WC Blocks to 10.6.3 (#39560) 2023-08-03 10:31:23 +02:00
github-actions[bot] 34a8273268
Delete changelog files based on PR 39523 (#39558)
Delete changelog files for 39523

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-02 16:05:22 -05:00
github-actions[bot] 4ff45b55c5
Delete changelog files based on PR 39537 (#39556)
Delete changelog files for 39537

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-02 15:59:38 -05:00
github-actions[bot] 037772403c
Delete changelog files based on PR 39520 (#39554)
Delete changelog files for 39520

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-02 15:58:05 -05:00
Corey McKrill a2adac35db
Set the HPOS-related features back to "experimental" (#39520)
We determined that there are a few more issues that need to be resolved before HPOS can be classified as a "mature" feature.
2023-08-02 11:00:31 -07:00
Vedanshu Jain 8cf7377224
Add sync and usage flags to legacy features. (#39537)
* Add sync and usage flags to legacy features.

* Use transient instead of constant.

* Add unit test and changelog.

* Add more robustness to unit test by adding more setting values.

* PHPCS fixes

---------

Co-authored-by: Jorge Torres <jorge.torres@automattic.com>
2023-08-02 10:38:25 -07:00
jonathansadowski 3a2922567e
Prepare trunk for WordPress 6.3 (#39518)
* Update woocommerce.php for WP 6.3

* Update readme.txt for WP 6.3

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-02 09:00:50 -05:00
Vedanshu Jain 171cb489e3
Update plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2023-08-02 19:04:55 +05:30
louwie17 c8b2305dcd
Revert "Update product experiment name (#39210)" (#39523)
* Revert "Update product experiment name (#39210)"

This reverts commit c547326135.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-02 08:59:29 -03:00
Sam Seay 4d685c361a
WooCommerce Docs: Relative Link Parsing (#39293) 2023-08-02 18:19:59 +12:00
Moon 53593061cf
Use the same checkbox styles on the platform selector (#39469)
* Use the same checkbox style

* Add changelog

* Update plugins/woocommerce-admin/client/core-profiler/components/multiple-selector/multiple-selector.scss

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

* Fix CSS lint issues

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-08-01 17:18:38 -07:00
Corey McKrill c584d4041a
Guest verification: Be more precise when checking form submission data (#39479) 2023-08-01 16:52:27 -07:00
github-actions 8aa329e0b1 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-01 22:09:01 +00:00
Jorge A. Torres 566d5092b2
Prevent possible fatal error when refreshing edit lock for orders (#39498)
* Remove return type from signature for order edit lock callbacks

* Add changelog
2023-08-01 15:05:48 -07:00
Jorge A. Torres 14d9760549
Prevent possible fatal error when user holds edit lock for a deleted order (#39497)
* Prevent possible fatal error when locked order is deleted

* Add changelog
2023-08-01 14:37:49 -07:00
barryhughes c33934a851 When specifying orders for a bulk action, use `id[]` rather than `order[]` in the URL query.
This prevents a potential conflict with the `order` key, used to specify order direction.
2023-08-01 13:56:41 -07:00
github-actions 70f2fd07ad Add changefile(s) from automation for the following project(s): woocommerce 2023-08-01 17:05:42 +00:00
Corey McKrill 7a255fb88a
Set the HPOS-related features back to "experimental" 2023-08-01 09:53:19 -07:00
github-actions[bot] 62645e0ba8
Delete changelog files based on PR 39478 (#39514)
Delete changelog files for 39478

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-01 10:28:26 -05:00
github-actions[bot] 851ca326ea
Delete changelog files based on PR 39502 (#39511)
Delete changelog files for 39502

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-01 09:24:57 -05:00
Matt Sherman 85e37739d1
Do not disable "Used for variations" checkbox (#39502) 2023-08-01 10:01:42 -04:00
louwie17 1ac824de2d
Dequeue conflicting styles within product editor (#39478)
* Dequeue conflicting styles within product editor

* Add changelog

* Fix lint errors

* Add check to only dequeue on admin/embed pages
2023-08-01 10:19:37 -03:00
Tomek Wytrębowicz e9042633eb
Remove non-existing method from TaskList docs. (#39454) 2023-08-01 14:49:52 +02:00
RJ 94e4682f01
add: feature flag for customize your store task (#39397)
* add: feature flag for customize your store task

* toggled core-profiler feature flag to true in dev mode
2023-08-01 20:28:39 +08:00
Chris Lilitsas b8c0e273bc
Update the admin's menu remaining tasks bubble CSS class and loosen the query selector for handling the runtime update (#39273)
* Modify dom structure, add a specific class and alter the querySelector

* Select all bubbles instead of only the first one

* Add changelog

* Cleanup

* Cleanup
2023-08-01 13:02:09 +03:00
Vedanshu Jain 991b18c92f Move clear cache statement to its original position. 2023-08-01 14:22:56 +05:30
Paul Sealock fb26613f03
WooCommerce Docs: Update manifest hash on content update (#39445) 2023-08-01 13:13:42 +12:00
Matt Sherman 144606f1fb Check if product_type query arg is set before using 2023-07-31 19:10:36 -04:00
Matt Sherman 479c4ed0eb Changelog 2023-07-31 19:00:08 -04:00
Matt Sherman 956aa7b84f Restore woocommerce_added_attribute trigger 2023-07-31 18:58:03 -04:00
Matt Sherman a38a867f20 Remove disable_or_enable_fields() implementation 2023-07-31 18:22:03 -04:00
Matt Sherman a78d4d6788 Do not disable Used for variations checkbox by default 2023-07-31 18:21:32 -04:00
Matt Sherman 850acd0ce2 Add the empty attribute when the attributes tab is shown, to account for product type switching 2023-07-31 18:13:58 -04:00
Matt Sherman 8f4b123d80 Trigger woocommerce_tab_shown when a tab is shown 2023-07-31 18:11:52 -04:00
Matt Sherman 119ab3c3bb Only set attribute as used for variation by default if product type is variable 2023-07-31 18:11:13 -04:00
rodelgc 296560b77a
E2E: Fix and simplify user id retrieval in `a user should see 3 sections by default` (#39472)
* Add changelog

* Simplify user id retrieval
2023-07-31 15:11:04 -07:00
nigeljamesstevenson 132aba1673
Fixes #38757 - pass time values on CSV importer (#39372) 2023-07-31 21:56:12 +01:00
nigeljamesstevenson fa2aba5256
Limit index length to 191 characters by default, additionally connect HPOS to verify DB tooling. (#39250) 2023-07-31 21:48:33 +01:00
github-actions[bot] 5e3df0b4cb
Delete changelog files based on PR 39492 (#39496)
Delete changelog files for 39492

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-31 12:34:07 -05:00
Luigi Teschio f65e77a6ef
Bump WC Blocks to 10.6.2 (#39492)
bump WC Blocks to 10.6.2
2023-07-31 18:38:49 +02:00
Moon 46d83e3861
Redirect to Jetpack connect page on plugins page skip (#39109)
* Redirect users to Jetpack Auth when the users deselect all plugins, but Jetpack is already installed

* Add changelog
2023-07-31 09:07:10 -07:00
Moon c810960bff
Align checkbox, logo, and title on the plugins page (core profiler) (#39394)
* Reset checkbox position

* Center align chekbox, logo, and the title

* Add changelog

* Remove use of classnames -- no longer needed

* Fix CSS lint issues
2023-07-31 09:06:50 -07:00
Ron Rennick 908bb20e8f
Add changelog file 2023-07-31 12:25:50 -03:00
Vedanshu Jain 2526103697 Fix unit test feature + refresh DB order before backfill. 2023-07-31 18:46:49 +05:30
Vedanshu Jain 74345bc4a4 Fixups from rebase conflicts. 2023-07-31 17:37:58 +05:30
Vedanshu Jain 294a3f19b9 Refresh order to account for DB changes from post hooks. 2023-07-31 16:39:22 +05:30
Vedanshu Jain 221a0768cc Fix indentation/ 2023-07-31 16:38:47 +05:30
Vedanshu Jain 77352b29ac Use more granular backfill op. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 605a65ec28 Add to reading order ID when creating new order. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 2390309006 Handle array to non array comparison gracefully. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 3ad90a4f5a Unit test fixup. 2023-07-31 16:38:47 +05:30
Vedanshu Jain ecf3337d16 Add unit test for adding meta within adding meta. 2023-07-31 16:38:47 +05:30
Vedanshu Jain a0a231f804 Preserve original meta value. 2023-07-31 16:38:47 +05:30
Vedanshu Jain fc38e07da4 Add changelog. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 1285f45a83 Use direct post calls for meta CRUD for performance. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 85d89140e0 Use seperate variables for backfilling and sync on read.
Also add explaining comments.
2023-07-31 16:38:47 +05:30
Vedanshu Jain 286a222bfb Add changelog. 2023-07-31 16:38:47 +05:30
Vedanshu Jain d1f3a0e042 Fixup - use correct syntax for removing element. 2023-07-31 16:38:47 +05:30
Vedanshu Jain 456ef55b3d Prevent read on sync while inside a backfill. 2023-07-31 16:38:47 +05:30
Yashita Mittal e4bec8e378
Update task list items to show spinner on selection (#39270)
* Update task list to show a spinner on item click

There is an issue of a noticeable delay when clicking on product task list items, which leaves users waiting without any indication of the loading status.
To enhance the user experience, add a loading spinner that provides visual feedback during the transition to the next page.

Co-authored-by: yashita.mittal <yashita.mittal@a8c.com>
2023-07-31 18:42:09 +08:00
Panos (Panagiotis Synetos) 46b687830a
Use admin theme color for select2 (#39451) 2023-07-31 09:30:10 +03:00
Andrew Dawes 495a06c0fa Explicitly fallback to returning null 2023-07-29 19:54:56 -04:00
Andrew Dawes 9b19c9f21d Fix phpcs sniff error 2023-07-29 19:54:24 -04:00
Nathan Silveira 403c8ba8b8
[ Product Block Editor ] Create Variation options block (#39256)
* Add support for variable products

* Add 'hello world' block to variations tab

* Add product-section block to template

* Add AttributeControl component to screen

* Add changelog

* Change labels

* Make a copy of AttributeControl to VariationOptionsControl to allow the fields to evolve separately in future

* Fix tests

* Add changelog to woocommerce

* Fix alert error

* Remove copied control and start adapting attribute control to handle both scenarios

* Add -field to block name

* Revert "Add -field to block name"

This reverts commit 50e1ee66e27ffb2df22ea7f6a4f78d1577a273f5.

* Revert "Revert "Add -field to block name""

This reverts commit eee0441c6532f9fa8cf8383d9699fd503dd054ae.

* Extract more labels

* Hide drag handle in variation options
2023-07-28 14:40:18 -03:00
Nathan Silveira bf97630ad0
[Product Block Editor] Add require password block field (#39464)
* Add post password to API

* Add changelog

* Fix phpcs issue

* Remove post_password from tests

* Add additional property to test

* Increment number of properties in product schema

* Update the post when post_password changes

* Start adding password block

* Add css and import it

* Refactor attributes and erase password when checkbox is unchecked

* Add changelogs

* Remove unused imports

* Rename 'fields' to 'field'

* Refactor CSS

* Remove example object
2023-07-28 14:05:03 -03:00
Corey McKrill 12e5edf032
Removes the "for your state" string from the checkout page if there are no current payment methods available. (#39348)
The for your state element generates confusion for merchants and HEs alike because of the homonym state. There is regularly an assumption that this is referring to a geographical state (e.g., the state of California) instead of a system state.

Removing the for your state string from this message retains the original message but eliminates confusion that may be brought on by using the word state.
2023-07-27 16:30:27 -07:00
Corey McKrill 3e8c862464
Update template version 2023-07-27 15:18:10 -07:00
Leif Singer 63ce94ac37
Optimize system status tests (#39363) 2023-07-27 22:29:59 +02:00
Nathan Silveira b6b757a748
[Product Block Editor] Add post_password parameter to the Woo product REST api (#39438)
* Add post password to API

* Add changelog

* Fix phpcs issue

* Remove post_password from tests

* Add additional property to test

* Increment number of properties in product schema

* Update the post when post_password changes
2023-07-27 13:02:36 -03:00
Tomek Wytrębowicz 9cc5f87936 Add the changelog entry. 2023-07-27 15:51:37 +02:00
Tomek Wytrębowicz 463d91c16c Remove non-existing method from TaskList docs. 2023-07-27 15:46:56 +02:00
Panos (Panagiotis) Synetos 96a52b5923
👌 Use admin theme color for select2 2023-07-27 15:47:54 +03:00
Leif Singer 77af817444
Shard unit test runs (#39362) 2023-07-27 14:06:55 +02:00
nigeljamesstevenson 66f852fc26
Include postcode in Vietnam address format (#39403) 2023-07-26 19:13:58 +01:00
Panos (Panagiotis Synetos) 4ec75f7b26
Fix hardcoded admin colors, use admin theme colors (#39182) 2023-07-26 14:43:05 +03:00
Chris Runnells d44cc51182 Added changelog 2023-07-25 13:51:28 -10:00
Corey McKrill d513c7c73e
Use the LegacyProxy to invoke get_plugins, remove CodeHacking usage 2023-07-25 11:07:52 -07:00
Corey McKrill faa478d610
Add changelog file 2023-07-25 10:52:09 -07:00
Corey McKrill 18e8e5c148
WC Tracker: Add unit test for plugin feature compat data
In #38849 a change was made that allowed the class mocking necessary
for this test to happen in a way that wouldn't interfere with other
unit tests.

Fixes #38720
2023-07-25 10:52:08 -07:00
Jorge Torres bc1bb61f26 Add changelog 2023-07-25 11:25:49 -03:00
Jorge Torres bf174f314e Include postcode in Vietnam address format 2023-07-25 11:25:29 -03:00
Vedanshu Jain 9b7570f8b2
Support inserting NULL values for strict DB mode (#39396)
* Support inserting NULL values for strict DB mode

* Set default date for placeholder order to support strict MySQL.

* Add unit test to verify strict mode also works.

* Make HPOS behavior of modified date consistent with WP_Post.

In HPOS we were leaving modified date to be empty, while WP_Post set it to the created date if modified date is null.
2023-07-25 09:30:03 -03:00
Paul Sealock 58dfbd2c4e
WooCommerce Docs: Handle multiple category posts (#39352) 2023-07-25 15:29:43 +12:00
Chris Runnells a80aaaa0e0 Replace 'end' CSS props with 'flex-end' which has broader browser support 2023-07-24 12:37:41 -10:00
github-actions[bot] b57f988044
Delete changelog files based on PR 39327 (#39388)
Delete changelog files for 39327

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-24 14:21:47 -05:00
Moon b8a8d48474
Update/39325 typo in core profiler data sharing copy (#39327)
* Fix grammar in data-sharing agreement copy

* Add changelog

* Put ,

* Add brackets

* Move learn more link inside the bracket

* Update test snapshot

* Fix grammar

* Update test snapshot
2023-07-24 12:13:13 -07:00
RJ 615393be39
dev: core profiler pages storybook (#39046)
* dev: core profiler pages storybook

* changed css path to pre-build zip path
2023-07-24 20:34:38 +08:00
nigeljamesstevenson e5b26f0b7d
E2E: fix flakiness in `analytics-overview.spec.js` (#39308) 2023-07-23 21:12:01 +01:00
nigeljamesstevenson d41d61ea41
Run all tests on daily run (#39351) 2023-07-23 21:00:42 +01:00
Andrew Dawes 665fb04611 Fixes #38757 - pass time values on CSV importer
Validate datestrings and convert Unix timestamps to datestrings with UTC timezone specified.
2023-07-22 21:03:58 -04:00
Sam Seay 7553f2b26e
WooCommerce Docs: Add support for more core block conversion (#39244)
* WIP extend support for frontmatter in manifests.

* Change some of the prop names in the frontmatter support, add tests.

* WIP support new frontmatter in plugin.

* Improve category processing.

* restructure the docs to have a nested category with no index.

* Add WP test stubs to dev.

* Add tests for the ManifestProcessor.

* Add param docs to function

* Store post meta on posts when they are updated or created. Add supporting tests.

* WIP supporting more core block types.

* Fix bugs in conversion.

* Adjust conversion for issues with tables, blockquotes, code.

* Resolve pnpm lock conflicts

* Return manifest to state in trunk.

* Return pnpm lock to trunk state.

* Update fixture for new md content.
2023-07-22 12:22:55 +08:00
Chris Runnells ba892c891d Add changelog entry 2023-07-21 12:59:58 -10:00
Chris Runnells 45d88354db Update task list progress bar default setting from 0 to 0.1 so it does not look like an empty element 2023-07-21 12:55:08 -10:00
Jon Lane 296f2aa382 Skip tax rates test if CI 2023-07-21 13:22:07 -07:00
Panos (Panagiotis) Synetos 155420f79c
Merge branch 'trunk' into fix/admin-colors-use-theme 2023-07-21 12:12:06 +03:00
Jon Lane 2c75de6648 Changelog 2023-07-20 15:50:50 -07:00
Jon Lane 32d3724bd8 Skip failing tests 2023-07-20 15:49:02 -07:00
Jon Lane a1bf55ff5f Update config to use API URL 2023-07-20 14:28:40 -07:00
Jon Lane 7855da1198 Run global setup 2023-07-20 14:22:04 -07:00
Jon Lane 54219e0291 Perform a site reset if running on CI 2023-07-20 14:20:36 -07:00
github-actions 9584ba1f59 Add changefile(s) from automation for the following project(s): woocommerce 2023-07-20 19:12:38 +00:00
Chris McNeill 2b08d1b31b
Removes the "for your state" string from the checkout page if there are no current payment methods available. 2023-07-20 13:53:07 -05:00
Leif Singer 147db933be
Revert "Shard unit test runs" (#39344)
Revert "Shard unit test runs (#39302)"

This reverts commit 9ee44947e0.
2023-07-20 18:36:01 +02:00
github-actions[bot] 85ee67c5e2
Delete changelog files based on PR 39191 (#39342)
Delete changelog files for 39191

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-20 09:19:40 -05:00
github-actions[bot] c44bd1c728
Delete changelog files based on PR 39317 (#39340)
Delete changelog files for 39317

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-20 09:13:55 -05:00
github-actions[bot] 8bfb1c3e9a
Delete changelog files based on PR 39299 (#39336)
Delete changelog files for 39299

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-20 09:08:59 -05:00
Thomas Roberts bc89b72e63
Update WooCommerce Blocks to 10.6.1 (#39299) 2023-07-20 02:51:09 -07:00
Leif Singer 9ee44947e0
Shard unit test runs (#39302)
closes #38973
2023-07-20 10:01:28 +02:00
Sam Seay 5823385084
WooCommerce Docs: Store post meta of edit_url, refactor ManifestProcessor for testability (#39241) 2023-07-20 17:46:18 +12:00
Rodel Calasagsag 139986cfad Add changelog 2023-07-20 09:30:43 +08:00
Corey McKrill afd6376a5e
Include post_ID field in HPOS order edit screen (#39321)
This PR adds a post_ID hidden field to the HPOS order edit screen for compatibility with the posts order edit screen.

Fixes #39272
2023-07-19 14:11:52 -07:00
Barry Hughes e97eda12ae
Introduce grace period before asking guests to verify their email address (#39191)
* Add a grace period during which email verification is not required (order pay/conf page).

When the order confirmation (or payment) page is requested, we often want to ensure the visitor is associated with the order. However, this relies heavily on information stored in the user session and, depending on the payment gateway in use, this may not be dependable. Therefore, we've introduced a grace period during which no such verification will take place.

* Provide a mechanism for establishing server-side filters from our E2E tests.

* Make our utilities for setting up filters from E2E available in the test env.

* Update guest shopper workflow to account for order conf/payment access grace period.

* Tidy verbiage.

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

* Only activate the Filter Setter (e2e utility) during e2e tests.

* Coding standard fixes for E2E utility plugin.

* e2e: Update locators for headings to use getByRole, add await to clearFilters

* e2e: Abstract the cookie domain to work on non-localhost test sites

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-07-19 11:57:03 -07:00
Ron Rennick ae89984d42 include post_ID in HPOS order edit screen 2023-07-19 13:46:09 -03:00
Maikel David Pérez Gómez 6f8559dada
Unable to "turn off the new product form" from within the editor (#39317)
* Fix turn off the new block experience when tracking is turned off

* Add changelog file
2023-07-19 12:22:38 -04:00
github-actions[bot] faf508c209
Delete changelog files based on PR 39301 (#39315)
Delete changelog files for 39301

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-19 10:22:10 -05:00
Maikel David Pérez Gómez 776d567f30
Create the Organization tab (#39232)
* Add Organization to the right of General tab

* Add Product catalog and Attributes sections to the Organization tab

* Add Categories and Disable product reviews blocks to Product catalog section

* Add attributes block to the attributes section

* Add changelog files

* Fix php linter error

* Remove Categories and Attributes blocks from the General tab

* Change Disable product reviews by Enable product reviews
2023-07-19 10:11:03 -04:00
Panos (Panagiotis) Synetos ea1d08c72a
Merge branch 'trunk' into fix/admin-colors-use-theme 2023-07-19 15:21:30 +03:00
Panos (Panagiotis Synetos) 7628a5bc94
Fix Storefront recommendation link and missing image in Marketplace (#39294) 2023-07-19 15:03:33 +03:00
Rodel Calasagsag 30b35f8b9b Fix flakiness 2023-07-19 18:56:39 +08:00
Panos (Panagiotis Synetos) d7a4758d3d
Revert 2023-07-19 11:26:35 +03:00
Panos (Panagiotis Synetos) 355ea0b3bb
Wake up github actions 2023-07-19 11:26:14 +03:00
Vedanshu Jain 6d11563e8c Refactored filterd in the DB util for DRY. 2023-07-19 11:59:20 +05:30
Matt Sherman 5b412c46f0
Restore the woocommerce_variations_added jQuery trigger (#39301)
* Restore woocommerce_variations_added trigger

* Add e2e expect to verify that woocommerce_variations_added_functions jQuery trigger was called
2023-07-18 22:15:40 -04:00
Corey McKrill 00073c0d4c
Fix for free shipping handling of minimum order rule (#39155)
Fixes the calculation from when Apply minimum order rule before coupon discount is active and prices are entered inclusive of tax and displayed that way in cart and checkout, free shipping is no longer available (based on the minimum order amount including tax), as it uses the pre-tax amount when a coupon is applied.

Fixes #28752
2023-07-18 17:00:39 -07:00
Corey McKrill 808c44c76c
Add changelog file 2023-07-18 16:25:33 -07:00
github-actions[bot] a41f6aaf8e
Prep trunk for 8.1 cycle (#39286)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-18 10:07:44 -05:00
github-actions[bot] 7bfe8234ae
Release: Remove 8.0 change files (#39288)
Delete changelog files from 8.0 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-18 10:06:34 -05:00
Panos (Panagiotis) Synetos d7930bc0e3
Update count color, use admin theme 2023-07-18 10:55:32 +03:00
Panos (Panagiotis) Synetos e310c9ed59
Fix Storefront recommendation link and missing image in Marketplace 2023-07-18 10:16:53 +03:00
Sam Seay 4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
Sam Seay a511e72b4c
Add linting to CI for monorepo utils, add to CI unit tests for docs. (#39240) 2023-07-18 12:47:13 +12:00
martynmjones 2fcf512050
Add activation option workaround to trigger `woocommerce_newly_installed` action (#38694)
* Use option to track new WC installs

* Correct hook used for disabling legacy coupon menu

* Add changelog

* Fix deprecated hook version number

* Update unit tests

* Use AccessiblePrivateMethods to register action

* Update comments

---------

Co-authored-by: Martyn Jones <martyn.jones@automattic.com>
2023-07-17 12:52:50 -07:00
Joel Thiessen 7cb5cfed69
Making completion utilities available in AI package (#39190)
Co-authored-by: github-actions <github-actions@github.com>
2023-07-17 10:25:14 -07:00
Barry Hughes 722922191e
Revert PR#39146: fix basic flat rate shipping scenario (#39259)
* Reverts PR#39146 due to uncaught issues with flat rate shipping calculations.

* Explain lack of changelog.
2023-07-17 08:51:25 -07:00
Sam Seay 69e9acaba9
WooCommerce Docs: Improve Manifest Structure, Extend Frontmatter Support (#39214) 2023-07-17 20:46:23 +12:00
RJ 66cee083d4
add: removed avalara task list item (#39238)
* add: removed avalara task list item
2023-07-17 11:32:51 +08:00
Shendy f631a5ed20
Allow registered React-powered page to specify 'parent path' (#39116)
* Allow registered React-powered page to specify 'parent path', so the right menu item can be highlighted.

* Fix linting issue.

* Changelog.

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

* Changelog.

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

* Changelog.

* Update plugins/woocommerce/changelog/add-override-menu-item-highlight

Co-authored-by: Eric Jinks <3147296+Jinksi@users.noreply.github.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Eric Jinks <3147296+Jinksi@users.noreply.github.com>
2023-07-16 15:23:33 -04:00
Barry Hughes 8a3893c47c
Prefer asterisks for API consumer key obfuscation | #39194 2023-07-14 08:45:59 -07:00
Vedanshu Jain 1833c74ef2 Coding standard fixes + changelog. 2023-07-14 18:38:30 +05:30
Vedanshu Jain c2590f2520 Limit index length to 191 characters by default.
Additionally, connect verify db tooling to order tables when they are enabled.
2023-07-14 18:38:30 +05:30
Panos (Panagiotis) Synetos 89784c0d15
Update helper css to use admin theme color 2023-07-14 15:10:29 +03:00
Panos (Panagiotis) Synetos f1ff6b0f3e
Hover on orders view icon, use admin theme color 2023-07-14 13:52:50 +03:00
Panos (Panagiotis) Synetos 81f0f7879d
Store alerts update - use admin theme colors 2023-07-14 13:51:49 +03:00
github-actions fb50c5f115 Add changefile(s) from automation for the following project(s): woocommerce 2023-07-14 16:05:23 +05:30
Vedanshu Jain 0124f3cd0c Fixed the option name, and additonal protection of creating order tables. 2023-07-14 15:15:44 +05:30
Vedanshu Jain bc942a0215
Refresh UX to enable HPOS tables (#38993) 2023-07-14 15:09:56 +05:30
Vedanshu Jain f9b31a2474
Add filter `woocommerce_redirect_order_location` for consistency with posts and HPOS. (#39193) 2023-07-14 12:40:05 +05:30
Vedanshu Jain 16f87da70d
Support dynamic prop setting for order subclasses. (#39219) 2023-07-14 12:04:57 +05:30
Vedanshu Jain 0629e2fb63 Add since tags. 2023-07-14 11:45:09 +05:30
Vedanshu Jain ca8ae1b768 Addded since tag. 2023-07-14 11:29:09 +05:30
Vedanshu Jain b6c3b3fd99 Convert tabs to spaces. 2023-07-14 11:20:00 +05:30
Vedanshu Jain 94fce9c169 Apply PR feedback suggestions. 2023-07-14 10:39:42 +05:30
Vedanshu Jain a92ba3e59a
Use correct representation of array types.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-14 10:32:46 +05:30
Phill 407dc4ebc3
Create fix-39194
Branch permissions won't let the workflow generate the changelog file.
2023-07-14 11:39:04 +07:00
rodelgc 2968cf3fe6
E2E: Add update button click, and more assertions to `can add custom product attributes` test (#39139)
* Add changelog

* Split for loop, add assertions

* Make visibility check more explicit
2023-07-13 13:38:51 -07:00
github-actions[bot] aeee7570c1
Delete changelog files based on PR 39207 (#39226)
Delete changelog files for 39207

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-13 09:36:45 -05:00
Vlad Olaru ed877abac6
Fixes for the WCPay welcome page incentives (#39207) 2023-07-13 17:07:45 +03:00
Vedanshu Jain cbfd4ae68c Add props to internal meta keys so that they are filtered. 2023-07-13 18:41:59 +05:30
Vedanshu Jain 098d0f2528 Add changelog. 2023-07-13 18:17:51 +05:30
Vedanshu Jain 74522b2b24 Removed unused method call and added unit tests. 2023-07-13 18:16:14 +05:30
Vedanshu Jain 88b7e992bc Support dynamic prop setting.
Additionally, use in refunds to set prop dynamically so that correct `this->data` is returned
2023-07-13 17:58:17 +05:30
Vedanshu Jain bde6fbf01e Handle edge case of order table being unexpectedly not present. 2023-07-13 16:29:58 +05:30
Vedanshu Jain 406f7b6174 Remove references to removed COT seperate feature flag. 2023-07-13 15:35:21 +05:30
Vedanshu Jain dcbddec591 Set option when HPOS tables are created.
Earlier, we were marking this based on whether HPOS is enabled or not, but now that HPOS is enabled (but not authoritative) for everyone, we need a seperate option to track this.
2023-07-13 15:33:42 +05:30
Oleksandr Aratovskyi aeaaac9505
Change WooCommerce Payments to WooPayments across the WC Core (#39188)
* Change WooCommerce Payments to WooPayments across the WC Core

* Change WooCommerce Payments to WooPayments across the WC Core

* Add more changelogs

* Add changelog for data package

* Change banner image and task description

* Fix lint error

* Change one more banner image

* Fix to the banner image

* Roll back changelog.txt and fix one condition for backwards compatibility

* Fix in changelog.txt

* Small fix in changelog.txt
2023-07-13 12:58:17 +03:00
Vedanshu Jain 0fc70027f5 Use custom option for custom order tables feature. 2023-07-13 12:01:14 +05:30
Vlad Olaru fd9e92e7bd
Add changelog entry 2023-07-13 09:29:48 +03:00
Vlad Olaru 5abf7acdbb
Simplify the has_wcpay logic to avoid overlapping conditions 2023-07-13 09:23:43 +03:00
Joel Thiessen b7e7d66de8
Adding basic Woo AI settings screen (#38920) 2023-07-12 17:12:03 -07:00
Vedanshu Jain c6d6a271c0
[HPOS] Backfill to post table only after order has persisted in orders table. (#39196)
* Save order object before persisting data.

Earlier we were backfilling order before updating them in the orders table. This would cause an issue where if there is any method that reads the DB again before backfilling it would read the stale record. Additionally, there is risk of data not being written to order table, but still backfilled.

Changing the order to backfill later fix this issue since if something reads the DB again during backfill, it will still read the latest record.

* Add changelog.

* Add unit tests.

* Coding standard fixes.
2023-07-12 14:41:15 -07:00
Maikel David Pérez Gómez f6b4cb6e71
Introduce the add and edit view Tracks events in the new form (#39186)
* Add tracking events for product add and edit pages

* Add changelog file
2023-07-12 16:01:06 -04:00
louwie17 c547326135
Update product experiment name (#39210)
* Update product experiment name

* Add changelog
2023-07-12 16:30:04 -03:00
Vlad Olaru 96f15ec5bd
Update incentive cache logic to use context hash for cache invalidation 2023-07-12 20:26:55 +03:00
Vlad Olaru cf72af9d38
refact: Return early when filtering 2023-07-12 20:26:20 +03:00
Vlad Olaru 35b397940d
Change the has_wcpay logic to better align with our server intent 2023-07-12 20:25:48 +03:00
Vlad Olaru d7f0208f5a
Reduce incentive cutoff condition to just WCPay plugin active 2023-07-12 20:22:38 +03:00
Vlad Olaru e5381787b2
docs: More precise docs 2023-07-12 20:21:27 +03:00
Vlad Olaru 758139ee00
refact: Add type hints 2023-07-12 20:20:13 +03:00
Vlad Olaru 36abbfd233
refact: Use short array syntax 2023-07-12 20:14:24 +03:00
Panos (Panagiotis) Synetos 269d893072
Finally, that's the changelog :) 2023-07-12 16:34:49 +03:00
Panos (Panagiotis) Synetos 2c1fe3e8c9
Remove styles from buttons, as theme colors.css is taking care of them 2023-07-12 15:09:15 +03:00
Panos (Panagiotis) Synetos 5fe4a08312
Applied review comments 2023-07-12 15:01:36 +03:00
Panos (Panagiotis) Synetos 658e11920f
Merge branch 'trunk' into fix/admin-colors-use-theme 2023-07-12 13:26:44 +03:00
Sam Seay e91a72b8a1
WooCommerce Docs: Support Gutenberg block conversion with CommonMark, add some basic unit tests. (#39096)
* Extract docs manifest generation into a CLI tool
2023-07-12 19:29:15 +12:00
Phill 64942cb195
Enhancement class-wc-admin-api-keys-table-list.php
Replaced Ellipses for asterisk when hiding part of the API Key
2023-07-12 14:20:43 +07:00
Vedanshu Jain 435619b5c1 Add filter `woocommerce_redirect_order_location` for consistency with posts and HPOS. 2023-07-12 11:39:19 +05:30
rodelgc dddd0e65ac
E2E: Update locators and force-check in `order-email-receiving` and `order-emails` specs (#39159)
* Add changelog

* Update locator and force check
2023-07-11 13:02:00 -07:00
Panos (Panagiotis) Synetos ec6ab3bf8d
Merge branch 'trunk' into fix/admin-colors-use-theme 2023-07-11 19:44:14 +03:00
Panos (Panagiotis) Synetos 4bbc7b3eca
Remove hardcoded text color wherever variable background color is used 2023-07-11 19:43:05 +03:00
Panos (Panagiotis) Synetos 6ee83e0f5e
Fix activation css to use wp-admin-theme-color 2023-07-11 19:21:37 +03:00
Panos (Panagiotis) Synetos 111841f783
Use new branding colors in activation and wc setup 2023-07-11 19:04:49 +03:00
Vedanshu Jain 780f2a1d99 Coding standard fixups. 2023-07-11 20:17:03 +05:30
Panos (Panagiotis) Synetos b467c0f25b
Shipping methods empty state follow theme colors (and minor improvements) 2023-07-11 17:45:39 +03:00
Thilina Pituwala 19b3d40595
Prevent unwanted helper api calls when loading subscription notes (#37378)
* Load subscription notes only via WC Admin home page and extensions page to avoid calling helper API endpoints unnecessarily.

* Adding change log.

* Moving connection check after the early return statements.

* Use admin_head hook instead of admin_init to load subscriptions notes.

Since `get_current_screen` function can not be called within `admin-init` hook it is not possible to determine if the subscriptions are being loaded via WC related page or not.

* Update doc block.
2023-07-11 09:02:32 -05:00
Panos (Panagiotis) Synetos 9412de17b6
Use page-title-action instead of deprecated add-new-h2 2023-07-11 16:43:39 +03:00
Panos (Panagiotis) Synetos c80b0bcc8b
Untested extensions modal uses theme colors 2023-07-11 16:43:09 +03:00
Panos (Panagiotis) Synetos 4c196332c2
Auth page uses Woo colors, according to branding 2023-07-11 16:41:10 +03:00
Panos (Panagiotis) Synetos 5b72907070
Importer/Exporter use admin theme color 2023-07-11 16:40:41 +03:00
Panos (Panagiotis) Synetos 6263316b3f
Breadcrump up link use admin theme color 2023-07-11 16:38:18 +03:00
Panos (Panagiotis) Synetos 76af662744
Email status use admin theme color 2023-07-11 16:37:15 +03:00
Panos (Panagiotis) Synetos 54bdd0d038
Input toggles use admin theme color 2023-07-11 16:35:20 +03:00
Panos (Panagiotis) Synetos a697949cde
WooCommerce message use admin theme color 2023-07-11 16:34:56 +03:00