Commit Graph

11085 Commits

Author SHA1 Message Date
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
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
Panos (Panagiotis) Synetos eee7c0a46e
Blankstate buttons follow theme colors 2023-07-11 16:34:24 +03:00
Panos (Panagiotis) Synetos 903ce08690
Change default WooCommerce color 2023-07-11 16:24:57 +03:00
Vedanshu Jain 5c5b2ce289 Fix syntax from GH UX commit + use consistent description. 2023-07-11 18:49:35 +05:30
Vedanshu Jain 95d2220c7f
Move out HTML out of translatable string for easier translation.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:45:06 +05:30
Vedanshu Jain bbd93841da
Fix indentation.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:44:09 +05:30
Vedanshu Jain c0dc48df00
Add the `the`.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:43:58 +05:30
Vedanshu Jain ffb20eb7ec
Use proper pluralization of pending sync message.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:43:33 +05:30
Vedanshu Jain bdffe69340
Capitalisation fix for posts.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:41:50 +05:30
Vedanshu Jain 2c53c35a61
Add name so that it's displayed in the incompatible plugins UX.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-11 18:41:32 +05:30
Nathan Silveira e85491bdea
Focus on name field when mounting and update summary field UI (#39050)
* Move placeholder of summary to help text at bottom of the component

* Focus the name field when mounting

* Add changelog

* Create 'autoFocus' block attribute instead of using useEffect

* Add changelog
2023-07-11 09:48:26 -03:00
Vedanshu Jain 09b6d67d4f phpcs fix. 2023-07-11 17:19:29 +05:30