Commit Graph

50719 Commits

Author SHA1 Message Date
Gan Eng Chin 33998743d6
Remove unneeded imports in RecommendedChannelsList. 2022-12-20 02:29:42 +08:00
Gan Eng Chin 08661353eb
Add CampaignsCardHeader component with modal. 2022-12-20 01:17:30 +08:00
Gan Eng Chin 558ddf2609
Use Campaign type in useCampaigns. 2022-12-19 20:54:01 +08:00
Gan Eng Chin c67e479162
Add Campaign type. 2022-12-19 20:53:31 +08:00
rodelgc c4260c935f
Consistent folder structure for E2E and API test results (#35907)
Consistent folder structure for E2E and REST API test results
2022-12-19 14:33:22 +08:00
github-actions[bot] 76810a4445
Delete changelog files based on PR 36065 (#36069)
Delete changelog files for 36065

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-12-19 13:05:46 +13:00
Paul Sealock 7a22d9a7ff
Fix/requires at least 5.9 (#36065)
* bump requires at least to 5.9

* changelog
2022-12-19 11:25:06 +13:00
github-actions[bot] 1e12453cca
Prep trunk for 7.4 cycle (#36022)
* Prep trunk for 7.4 cycle

* changelog

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2022-12-19 09:55:11 +13:00
github-actions[bot] 6e2f6e9315
Delete changelog files based on PR 35963 (#36064)
Delete changelog files for 35963

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-12-19 08:47:35 +13:00
github-actions[bot] 54fe53341e
Delete changelog files based on PR 36042 (#36045)
Delete changelog files for 36042

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-12-19 08:34:47 +13:00
github-actions[bot] 852b347a83
Delete changelog files based on PR 35967 (#36038)
Delete changelog files for 35967

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-12-19 08:34:25 +13:00
github-actions[bot] 8a2f3859af
Delete changelog files based on PR 35985 (#35994)
Delete changelog files for 35985

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-12-19 08:33:59 +13:00
Paul Sealock 23299dbafd
Create Extension: Prep for initial release (#36002)
* Add initial changelog

* run changelog release prep tool

* revert package.json version bump
2022-12-19 07:31:26 +13:00
Gan Eng Chin cbc616a9f3
Set cost column as numeric in Campaigns card.
This makes the column right-aligned.
2022-12-18 20:38:07 +08:00
Gan Eng Chin 32cf8d1341
Add pagination to Campaigns card. 2022-12-18 20:37:25 +08:00
Gan Eng Chin c444dbd126
CSS for campaign rows in Campaigns card. 2022-12-18 20:08:21 +08:00
Gan Eng Chin f5799c8721
Display campaign data in table in Campaigns card. 2022-12-18 19:34:16 +08:00
Gan Eng Chin af4f79ab28
Add loading state for Campaigns card. 2022-12-17 21:08:14 +08:00
Kamil 024e2382cb
Add an `required` argument to function `wc_dropdown_variation_attribute_options` (#34579)
* Add an `required` argument to function `wc_dropdown_variation_attribute_options`

* Whitespace, changelog.

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2022-12-16 12:58:45 -08:00
Jorge A. Torres 9c4cb19a2d
Drop use of WP 5.9 function in `quantity-input.php` (#36054) 2022-12-17 09:11:21 +13:00
Moon 62a957c75d
Add aria-label for simple select dropdown in select-control component (#35808)
* Add aria-label for simple select dropdown

* Add changelog

* Use placeholder value

* Allow aria label prop and use label as a fallback

* Update test snapshot

* Add changelog
2022-12-16 09:55:55 -08:00
Niklas 103fec668b
Use Imagick instead of putenv() to only use 1 thread and avoid memory issues with OpenMP (#35339)
* Use Imagick to set threads instead of putenv() (#31942)

* Adapt code to the coding styles

* Changelog and PHPCS fix.

Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2022-12-16 09:48:13 -08:00
Maikel David Pérez Gómez d768307e69
Add single product variation sections (#36051) 2022-12-16 14:44:54 -03:00
Maikel David Pérez Gómez a6fa0e71bf
Add product variation visibility toggle (#36020)
* Add svg icons and show them in variations list

* The visibility icon should reflect the current visibility status

* Clicking the visibility icon should toggle on or off the variation visibility and persist these settings on refresh

* Price and quantity should be fade when the variant is not visible

* Add changelog

* Hovering the visibility icon should display a tooltip indicating what clicking this button will do

* Fix linter error

* Fix spinner opacity if button is disabled
2022-12-16 14:44:06 -03:00
Joshua T Flowers 469ca96830
Add endpoint to create all product variations (#35980)
* Add endpoint to create all product variations

* Add changelog entry

* Change endpoint name to generate

* Fix up phpcs errors
2022-12-16 09:25:03 -08:00
Joshua T Flowers d46a1045e8
Add product variation form and routes (#36033)
* Add route for editing product variation

* Fix up ID selector for getItem in CRUD data store

* Add product variation form

* Add changelog entries
2022-12-16 11:20:10 -03:00
Adrian Duffell 915256b709
Add Missing Tracks Events to Tax Settings Conflict Warning (#36042)
* Import Tracks package

* Add tracks event tax_settings_conflict_recommended_settings_clicked

* Add tracks event tax_settings_conflict

* Add tracks event tax_settings_conflict_dismissed

* Add changelog
2022-12-16 16:57:09 +08:00
Matt Sherman c94a5c6f4b
Refactor AttributeField into sub-components (#35997)
* Add className support to ListItem
* Refactor to extract AttributeListItem component
* Use AttributeListItem component in AttributeField
* Extract AttributeEmptyState from AttributeField
* Use AttributeEmptyState in AttributeField
* Add default value for label prop on AddAttributeListItem
* Add props for labels in AddAttributeModal
* Add props for labels in EditAttributeModal
2022-12-15 21:49:02 -05:00
Joel Thiessen 54f22aa437
Adding delayed spotlight to feedback button on current product page (#35865) 2022-12-15 16:09:21 -08:00
Sam Seay 03d52ff13b
Another set of migrations from set-output to GITHUB_OUTPUT (#35843)
Co-authored-by: Roy Ho <roykho77@gmail.com>
2022-12-16 11:41:03 +13:00
Joel Thiessen 6e20f66966
Adding the feedback button on activity panel for the classic product page (#35810) 2022-12-15 14:31:47 -08:00
Joel Thiessen 8405974674
Adding ces exit prompt when product importer abandoned (#35996) 2022-12-15 13:18:35 -08:00
louwie17 895cb1561c
Add/35126 ces exit prompt orders (#35762)
* Add exit tracking for orders

* Update exit page CES action

* Fix order hook name

* Add changelog

* Address PR feedback
2022-12-15 15:50:34 -04:00
Barry Hughes 186dc427b0
Change the default currency for Croatia to Euros (#35963)
* Change the default currency for Croatia to Euros, beginning 2023-01-01.

We do not completely remove the Kuna (HKR) even after the grace period ends (2022-01-15), since an automatic switch to Euros in the storefront, without any sort of conversion, could be challenging for merchants.

* Simplify: we don't need the date-conditional because we are shipping in 7.3 (post-transition).

* Whitespace.

* Update continents test to account for Croatia currency change.

* Further change to API test for continents/currencies.
2022-12-15 16:26:32 -03:00
Joshua T Flowers 266b61cd4c
Disable irrelevant product tabs when variations exist (#35939)
* Add disabled prop to product form tabs

* Add tooltips to disabled tabs

* Add styling for tooltips when disabled

* Add changelog entry

* Update disabled styles for experimental focus buttons
2022-12-15 11:20:10 -08:00
Fernando Marichal 44cf396be6
Product variation quantity status indicator (#35982)
* Add variation status indicator

* Add changelog

* Add tests

* Fix style

* Rename enum

* Fix lint

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-12-15 15:20:21 -03:00
Gan Eng Chin 30d316886c
Add empty state Campaigns card. 2022-12-16 01:13:32 +08:00
Nima 53dac1d8e3 Fix code style 2022-12-15 15:10:25 +00:00
Nima 08c5404eb4 Merge branch 'feature/34548-multichannel-marketing-backend' into feature/35956-mcm-library-changes 2022-12-15 15:08:03 +00:00
Nima a8f3d7c2bf Merge branch 'trunk' into feature/34548-multichannel-marketing-backend
# Conflicts:
#	plugins/woocommerce/includes/wc-update-functions.php
2022-12-15 15:06:36 +00:00
Barry Hughes b904fd428d
Additional order list table actions (#36000)
* Move `*_extra_tablenav` hook, introduce equivalent to `restrict_manage_posts` for parity with CPT order list.

* Changelog.

* Add `since` tag to filter docblocks

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2022-12-15 10:59:18 -03:00
rodelgc 1276d54da5
E2E: Update tests in `create-variable-product.spec.js` to avoid creating variations from all attributes automatically (#36008)
* Update selectors and added some important assertions
* Save product before going to Variations tab
2022-12-15 21:28:31 +08:00
Maikel David Pérez Gómez 393cc629d9
Add pagination to variations list (#35979)
* Add changelog

* Add pagination to variations list

* Apply styles for pagination paddings and to keep it at the bottom of the section card

* Returning back per page option from 2 to 25

* Fix pagination label text from uppercase to normal and font styles

* Update variation footer gap

Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2022-12-15 10:13:29 -03:00
RJ cc9f4b65fc
Enhancement: Tax settings conflict warning (#36010)
* Add WIP error handling when conflicting settings chosen

* add: enhance tax settings conflict warning

* Fix WC_Settings_Tax_Test::test_get_settings_for_default_section

* Wrap texts in i18n method

* Add snackbar

Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-12-15 21:04:28 +08:00
Barry Hughes c79de94c0f
Avoid a fatal error (attempt to call method on bool) when forming order edit URLs (#35995)
Avoid a fatal error (attempt to call method on bool) when forming oredr editor URLs.
2022-12-15 09:51:13 -03:00
Adrian Duffell dbbe78c8ae
Add Codisto Extension to Onboarding (#36009)
* WIP

* Update codistoconnect

* Update selective-extensions-bundle for free trial badge

* Add codisto onboarding logo

* Add changelog

* Fix lint issues

* Fix lint issues with necassary spacing this time

* Add link to codisto product page

* Fix lint formatting

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-12-15 20:34:34 +08:00
Adrian Duffell 4ccf3563e7
Add Pinterest Extension to Onboarding Wizard (#36003)
* Add pinterest to OBW

# Conflicts:
#	plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php

* Switch the alt data

* Add changelog

* Update copy
2022-12-15 20:02:25 +08:00
Chi-Hsuan Huang 736395ba3a
Fix wcpay benefits UI padding (#35946)
* Fix wcpay benefits padding

* Add changelog
2022-12-15 19:47:36 +08:00
Luigi Teschio f898488455
Update WooCommerce Blocks to 9.1.1 (#36004) 2022-12-15 10:29:17 +01:00
Barry Hughes 1d91a8e2e3
HPOS sync/deleted twins (#35723) 2022-12-15 09:38:15 +01:00