Commit Graph

51101 Commits

Author SHA1 Message Date
Jonathan Lane 0eacfc31cf
Merge branch 'trunk' into e2e/fix-failing-daily-product-variations 2023-03-21 16:11:56 -07:00
jonathansadowski 2e8b7921e3
Update stable tag to 7.5.1 (#37344)
* Update stable tag to 7.5.1

* Create change file
2023-03-21 15:52:20 -05:00
github-actions[bot] e987737195
Update changelog.txt from release 7.5.1 (#37341)
Prep trunk post release 7.5.1

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-21 15:31:11 -05:00
Fernando Marichal 8e08139881
Set quantity value when stock tracking is enabled (#37304)
* Set default quantity value

* Rename `Stock quantity` to `Quantity`

* Add changelog

* Fix original stock

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-21 16:55:56 -03:00
Matt Sherman bfb59715bc
e2e: Remove explicit timeouts for variable products and analytics tests (#37335)
* Improve filling out attribute input fields

* Improve waiting for attributes to be saved

* Improve waiting for Analytics overview settings to be saved
2023-03-21 15:41:15 -04:00
Matt Sherman b27f6023f8
Move remaining CES-related components to @woocommerce/customer-effort-score (#37316)
* Add @woocommerce/tracks to dev dependencies
* Move remaining CES-related components to @woocommerce/customer-effort-score
* Update imports in woocommerce/client/admin
2023-03-21 11:58:35 -04:00
Maikel David Pérez Gómez 62ca7a266b
Add the summary field to the product form (#37302)
* Add summary block

* Add changelog files

* Add text alignment

* Add RTL and type definitions

* Add justify text alignment

* Fix rebasing errors
2023-03-21 12:34:24 -03:00
github-actions[bot] f899b43d91
Prep trunk for 7.7 cycle (#37324)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-21 15:48:18 +01:00
Sam Seay 52bc1879bb
Allow composing code analyzer change detections (hooks, templates, db, schema) (#37161)
* Add granular command for scanning individual change types.

* documentation and clean up

* Refactor the API to be more intuitive and memorable.

* Update the documentation.

* Update tools/code-analyzer/src/commands/analyzer/analyzer-scan.ts

Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>

---------

Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2023-03-21 09:36:30 -05:00
github-actions[bot] 45123fcc96
Release: Remove 7.6 change files (#37322)
Delete changelog files from 7.6 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-21 15:17:31 +01:00
nigeljamesstevenson e4eb7904fb
Add Liberia as store location for e2e test (#37323) 2023-03-21 14:14:15 +00:00
Maikel David Pérez Gómez b9df0e09f0
Create a helper hook for field validation (#37196)
* Add custom hook to validate product fields within blocks

* Add changelog file

* Add unit tests

* Fix non working tests

* Fix linter errors

* Add changelog file

* Fix async validation rejection

* Solve conflicts after rebasing

* Revert false negative lint errors

* Move the hook to its own folder and add the readme.md file
2023-03-20 23:12:09 -03:00
Joel Thiessen edbe36d7ad
Adding collapsible content block with flexible rendering (#37305)
* Adding collapsible content block with flexible rendering

* Adding changelogs

* Move content inside display state to avoid backwards compat issues

---------

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2023-03-20 18:18:44 -07:00
Jon Lane c4f0170c1e Add Liberia as store location 2023-03-20 16:07:03 -07:00
Moon b114426042
Add missing woocommerce_run_on_woocommerce_admin_updated hook for RemoteInboxNotificationsEngine scheduled action (#36768)
* Add woocommerce_run_on_woocommerce_admin_updated hook

* Add changelog

* Simplify schedule call

* Lint fix
2023-03-21 06:46:21 +08:00
Süleyman KENAR 32fd0a41ed
Add support for Loco Translate translations in WooCommerce Admin (#36739)
* Update Translations.php

* fix formatting issues

* added changelog

* Update Translations.php

Added seperate parsers for chunk files
2023-03-21 06:42:26 +08:00
nigeljamesstevenson e74abeffe4
update api-core-tests to handle extenstions that add shipping (#37239) 2023-03-20 13:24:36 -07:00
nigeljamesstevenson 185cd3dcaa
Update playwright api-core-tests to associate orders with real products to prevent extension issues for those that validate product ids (#37243)
* Update playwright api-core-tests to associate orders with real products to prevent extension issues for those that validate product ids

* add newline at end of file

* add comment
2023-03-20 13:23:23 -07:00
Peter Fabian ae92dafea3
Allow for passing context into the get_image for product variation. (#28498)
* Allow for passing context into the get_image for product variation.

Since get_image behaves differently in edit and view contexts, it is important to pass the context down. In view context, if there is no image set for variation, it returns parent's image. However, this is wrong for WP admin or mobile app running from pov of admin user.

* Added changelog.

* Address PHPCS issue

---------

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-20 14:50:55 -05:00
Fernando Marichal a51f26d2c1
Convert "Allow backorders?" into radio buttons (#37282)
* Add check to show `Allow backorders as radio buttons

* Add changelog

* Rename hook

* Fix lint

* Fix hook default value

* Add tip to radio buttons

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-20 15:41:51 -03:00
Moon 679339ec95
Refresh data source poller transients on wc_admin_daily (#37027)
* Refresh data source poller transients on wc_admin_daily

* Add changelog

* Conditionally refresh data source pollers

* Fix style

* Check  woocommerce-pyaments -- woocommerce-payments can override payments task

* Add marketing task check for RemoteFreeExtensionsDataSourcePoller
2023-03-20 11:30:48 -07:00
Jonathan Lane ab75a00a83
Merge branch 'trunk' into e2e/fix-failing-daily-product-variations 2023-03-20 11:00:13 -06:00
jonathansadowski 1f177d23c0
Update stable tag to 7.5.0 (#37311)
* Update stable tag to 7.5.0

* Changelog
2023-03-20 11:00:58 -05:00
github-actions[bot] 591921cd30
Delete changelog files based on PR 36992 (#36996)
Delete changelog files for 36992

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-20 10:29:03 -05:00
github-actions[bot] b65376025b
Delete changelog files based on PR 36919 (#36942)
Delete changelog files for 36919

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-20 10:27:23 -05:00
github-actions[bot] bd7b672e45
Update changelog.txt from release 7.5.0 (#37212)
Prep trunk post release 7.5.0

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-20 10:24:33 -05:00
Fernando Marichal d0450fa43c
Show `Stock status` options as radio buttons (#37278)
* Add check to show Stock status as radiobuttons

* Add changelog

* Fix lint

* Fix typo

* Fix flaky e2e tests

* Rename hook

* Fix validation to show radio

---------

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-20 09:32:38 -03:00
Dharmesh Patel 748677c4a1
Fix incorrect VAT exempt behaviour on shop page when prices are exclusive of tax. (#33991) 2023-03-20 12:53:19 +01:00
Gan Eng Chin bebad071a3
Add introduction banner card into multichannel marketing page (#37110) 2023-03-20 19:25:01 +08:00
Tam Mullen da4f273963
Update labels in pr labeller to include Solaris focus (#37275)
Update labels in labeller to include Solaris focus
2023-03-20 11:21:24 +00:00
Gan Eng Chin a2b02fc00c
Rename illustration-large.svg to illustration.svg. 2023-03-20 18:11:02 +08:00
Gan Eng Chin 0300078dfd
Remove unused illustration.svg file. 2023-03-20 18:08:30 +08:00
Gan Eng Chin 4e38969ce7
Use one illustration instead of two in IntroductionBanner. 2023-03-20 18:07:30 +08:00
Vedanshu Jain c3bec0c827
Run all unit tests in HPOS context (#36650) 2023-03-20 15:19:01 +05:30
Gan Eng Chin 7dd7994e01
Make scrollIntoView center on the "Add channels" button. 2023-03-20 17:46:54 +08:00
Gan Eng Chin 29299903c3
Make shouldShowCampaigns boolean type. 2023-03-20 17:23:20 +08:00
RJ a959b589f6
fix: added skydropx slug back to shipping partners list (#37286) 2023-03-20 16:48:44 +08:00
Moon 1aa899ae91
Add shipping partner suggestions api (#37155)
* Add wp-json/wc-admin/shipping-partner-suggestions API endpoint

* lint fix

* lint fix

* Update plugins/woocommerce/src/Admin/API/ShippingPartnerSuggestions.php

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

* Update plugins/woocommerce/src/Admin/Features/ShippingPartnerSuggestions/ShippingPartnerSuggestions.php

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

* Change row to column and column to row -- I put them incorrectly

* Fix force_default_suggestions description

* Chagne row to colmun and column to row

* Override is_visible value after evaluation

* Lint fix

* Lint fix

* Correct asset path

---------

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-03-19 22:37:24 -07:00
Moon e8a00edaef
Visual tweaks for shipping task partners (#37229)
* Visual tweaks for 2 partners layout

* Add spacing between banner image and list

* Add changelog

* Add spacing between banner image and list

* Align buttons at the bottom

* Lint fix
2023-03-19 21:33:10 -07:00
Chi-Hsuan Huang 7b10baff00
Add tracks for plugin installation and activation (#37261)
* Add @woocommerce/tracks to @woocommerce/data dependencies

* Add tracks for plugin actions and handle plugin error properly

* Add changelog

* Add doc

* Update doc
2023-03-20 10:38:30 +08:00
Gan Eng Chin 5455abcabb
Use useImperativeHandle instead of exposing button ref in Channels. 2023-03-20 01:00:19 +08:00
Gan Eng Chin 75c11a681d
Simplify CSS to have less hardcoded width value. 2023-03-20 00:11:32 +08:00
Gan Eng Chin 38370cc544
Remove unneeded CSS. 2023-03-19 23:34:17 +08:00
Gan Eng Chin ddd287cc4c
Show Campaigns card when banner is dismissed or campaigns total is truthy. 2023-03-19 23:30:21 +08:00
Gan Eng Chin 11683be1a8
Set default parameter values for useCampaigns. 2023-03-19 23:17:22 +08:00
Gan Eng Chin 458c16bad9
Move useCampaigns to shared hooks directory. 2023-03-19 22:54:55 +08:00
Gan Eng Chin c6a95ae9bf
Rename callback props in IntroductionBanner to make them clearer. 2023-03-19 21:10:22 +08:00
Gan Eng Chin 6b75b5db38
Rename variables to make them clearer. 2023-03-19 20:58:54 +08:00
Gan Eng Chin 155211d77a
Remove unneeded Icon component. 2023-03-19 20:56:00 +08:00
Gan Eng Chin 65523e36dd
Fix spacing for close button in IntroductionBanner. 2023-03-19 20:54:34 +08:00