Commit Graph

11220 Commits

Author SHA1 Message Date
Christopher Allford cd8edbf51a
Made Beta Tester Release Compatible (#39871) 2023-08-23 12:45:54 -07:00
github-actions[bot] c14d6d918e
Prep trunk for 8.2 cycle (#39834)
Prep trunk for 8.2 cycle with version bump to 8.2.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-23 13:53:56 -05:00
github-actions[bot] 1d26182f3b
Release: Remove 8.1 change files (#39836)
Delete changelog files from 8.1 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-23 13:52:51 -05:00
Barry Hughes 53c93ab449
Turn off the experimental flag for HPOS (#39846) 2023-08-23 09:22:57 -07:00
Maikel David Pérez Gómez 0db29cd8c1
Create several global attributes with the same name (#39827)
* Save changes

* Remove restriction from the variations dropdown to let users create multiple attributes with the same name

* Add support for autogenerate slug in the create attribute endpoint

* Add a tooltip to specify the slug of the attribute when there are more than one listed in the dropdown list

* Add changelog files

* Revert filtering to the prev implementation

* Add review suggestions

* Add return description to the generate_unique_slug function description
2023-08-23 12:08:05 -04:00
Ron Rennick d3774b0335
Improve BACS/Direct Bank Transfer UI. (#39860) 2023-08-23 09:31:23 -03:00
Leif Singer ce422f1769 remove HPOS `log_production_warning` in CLIRunner 2023-08-23 14:20:25 +02:00
Néstor Soriano 845aa40883
Remove legacy PHP version checks (#39845)
- In the status report (server PHP version display)
- In the abstract CSV exporter (fputcsv function)
- In the legacy REST API controllers (get_raw_data function)
- In the wc_setcookie function
- In the wc_round_tax_total function

Also remove the infrastructure for WP and PHP minimum requirement notices
2023-08-23 09:42:59 +02:00
barryhughes 1012c45a48 Improve verbiage for tooltip. 2023-08-22 16:07:19 -07:00
barryhughes da5d81374d Improve BACS/Direct Bank Transfer UI. 2023-08-22 16:02:22 -07:00
jonathansadowski f9363d4804
Update Yoast PHPUnit Polyfill to 2.0 (#39830)
* Update Yoast PHPUnit Polyfill to 2.0

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-22 12:33:30 -05:00
Kyle Nel f2446da15f
Merge branch 'trunk' into feature/marketplace 2023-08-22 13:16:13 +02:00
RJ cb2cf79342
dev: refactor core profiler loader (#39735)
* dev: refactor core profiler loader

* dev: added storybook example for loader

* lint

* Apply suggestions from code review

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

* addressed review feedback

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-08-22 19:58:33 +10:00
Leif Singer d8c9f6a5a3 Turn off the experimental flag for HPOS 2023-08-22 11:11:12 +02:00
Néstor Soriano 4876ab35b8
Bump WooCommerce minimum required PHP version to 7.4 (#39820)
-Change "Requires PHP":
  - In woocommerce.php
  - In readme.txt
  - In plugins/woocommerce-docs/woocommerce-docs.php
  - In packages/js/create-product-editor-block/plugin-templates/$slug.php.mustache

- Change "testVersion" in phpcs.xml:
  - In the root of the repository
  - In plugins/woocommerce
  - In plugins/woocommerce-beta-tester

- Change "require-php" and "config-platform-php" in composer.json
- Update composer.lock with more modern versions of some of the dependencies
- Remove the admin notice about the upcoming bump for PHP 7.3 users in class-wc-admin-notices.php
2023-08-22 09:21:09 +02:00
Jonathan Lane c2cbc87807
Updates Playwright to 1.37.1 from 1.33 (#39815)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-08-22 12:59:28 +08:00
Niels Lange 0519dbb7d0
Bump WooCommerce blocks package to 10.9.2 (#39828)
* Bump WooCommerce blocks package to 10.9.2

* Add changelog file
2023-08-21 14:50:01 -05:00
Moon 6f1a84e435
Run A/B test on the core profiler plugins page with Jetpack and Jetpack Boost (#39799)
* Update Jetpack label and description

* Replace Jetpack with Jetpack Boost for treatment group

* Add changelog

* Append plugin_name param to Jetpack Connection page URL

* Use the correct experiment name
2023-08-21 12:43:15 -07:00
Joshua T Flowers 0c161dcacb
Add block template registry and controller (#39698)
* Add id, description, title, and area to block template methods

* Add block template registry and controller

* Remove errant die

* Add new template properties to existing test templates

* Add new template method tests to custom block template tests

* Add template registry tests

* Add template controller tests

* Add tests around template transformer

* Use template instance for registration

* Add changelog entry

* Fix tests for block controller not be initialized by container
2023-08-21 10:22:19 -07:00
Ismael Martín Alabarce 1227a27458
Fix onboarding payments task not completed after setting up WooPayments (#39786)
* Remove is_connected condition from can_view

To display WooPayments task as completed if applicable rather than an uncompleted payments task.

* Add changelog entry
2023-08-21 12:55:49 +02:00
Vedanshu Jain bc5c355eb7
Always return bool values from WPCacheEngine functions. (#39819) 2023-08-21 16:12:08 +05:30
Kader Ibrahim S e22338a7e7
Fixes WooCommerce knowledge base API returning empty posts (#39809) 2023-08-21 14:54:24 +05:30
github-actions fa7d9ec920 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-21 08:59:37 +00:00
Vedanshu Jain 031530305d Always return bool values from cache function. 2023-08-21 14:20:29 +05:30
Jonathan Lane 497c5694e0
Fix failing disable test (#39674)
* Fix failing disable test

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

* Fix daily failing

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2023-08-18 15:33:07 -07:00
github-actions 657971e6ca Add changefile(s) from automation for the following project(s): woocommerce 2023-08-18 15:59:56 +00:00
raicem 60c07013d4 Marketplace: Cache Discover page content
We were hitting the WCCOM API directly from the front end. However,
that limits of in terms of caching and reducing the load on WCCOM.

To prevent that, we added a REST API endpoint. This endpoint
fetches discover page content from WCCOM and puts in a transient.
This is actually how the page works in the previous version. So
we were able to reuse a lot of the code.
2023-08-18 18:59:36 +03:00
Kader Ibrahim S 520bbe4f9c Fixes lint errors (#39808) 2023-08-18 20:02:53 +05:30
Kader Ibrahim S d77a0dde30 Fixes Knowledge base API (#39808) 2023-08-18 20:01:06 +05:30
And Finally 87706c5e5a [wccom-17713] Addressing design feedback.
- Removed duplicate `Search` styles from `header.scss`.
- Removed 10px top padding from `Header`. Applied it to title, meta and search containers instead.
- Deleted duplicate search button style from `header.scss`.
- Swapped round order of search component and header meta div so tab navigation order is correct.
- Added focus style to search component.
- Reduced footer side padding on mobile.
- Changed `.woocommerce-marketplace__header-title` page title to an h1 for accessibility.
- Removed top margin from product cards – the css grid handles the gap.
- Removed margin from `.woocommerce-marketplace__product-card__description`.
- Reduced font weight of price in product cards.
- Set margin below product list header.
- Removed right margin from tab buttons – css grid handles the gap.
- Increased top padding of `.woocommerce-marketplace__content`.

Addressing linter error.
2023-08-18 15:20:00 +01:00
Fernando Marichal 278366def9
Disable tabs in parent product page with variations (#39675)
* Add warning block

* Delete warning block

* Add notice component

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

* Add page notice

# Conflicts:
#	packages/js/product-editor/src/blocks/tab/edit.tsx

* Add `isOptionsNoticeVisible` to tab

* Add utils functions

* Remove warning

* Add notice visibility to tab

* Add notice visibility to pricing, inventory, shipping

* Add changelog

* Remove warning

* Change button text

* Add check to hasAttributesUsedForVariations

* Fix tests

# Conflicts:
#	packages/js/product-editor/src/components/tabs/test/tabs.spec.tsx

* Create notice block and move notice from tabs

* Fix product-notice block declaration

* Remove title from array

* Fix notices

* Fix styles

* Change error to error-type

* Revert "Add notice visibility to pricing, inventory, shipping"

This reverts commit 140703d49e.

* Remove import

* Revert "Fix tests"

This reverts commit 96036c5a6c.

* Remove duplicated function

* Add changelog

* Remove `isSelectedTabApplicableForOptionsNotice`

* Remove styles out of scope

* Fix notice props

* Rename block

* Remove selectedTab

* Update packages/js/product-editor/src/blocks/notice/edit.tsx

Co-authored-by: louwie17 <lourensschep@gmail.com>

* Fix lint

---------

Co-authored-by: louwie17 <lourensschep@gmail.com>
2023-08-18 11:14:02 -03:00
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
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
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
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