Commit Graph

52716 Commits

Author SHA1 Message Date
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
jonathansadowski 2f407cb172
Update post-merge workflow to add 'needs: analysis' label (#39277) 2023-07-17 17:01:36 -05:00
Alejandro López Ariza a661f5afde
Added new GitHub Actions workflow to arrange PR testing scrub sessions (#39142)
* Added new GitHub Actions workflow to arrange PR testing scrub sessions

* Minor fixes from PR review.

---------

Co-authored-by: Rodel Calasagsag <rodel.calasagsag@automattic.com>
2023-07-17 22:42:45 +02:00
Paul Sealock 072606f0aa
Package Release: Fix fetch depth so Changelogger has history (#39239)
set fetch depth to 0
2023-07-18 08:19:23 +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
Sam Seay 6e864d8f72
Update Turborepo to 1.10.7 (#39246) 2023-07-15 13:00:08 +08:00
Barry Hughes 8a3893c47c
Prefer asterisks for API consumer key obfuscation | #39194 2023-07-14 08:45:59 -07:00
Maikel David Pérez Gómez 24a655aec4
Allow the user to delete the description (#39229) 2023-07-14 11:00:03 -04:00
Fernando Marichal bbd727c257
Add header buttons to the description editor modal (#39156)
* Add header buttons to the description editor modal

# Conflicts:
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.scss
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.tsx

# Conflicts:
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.tsx

* Remove isModalActionsBarVisible

# Conflicts:
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.tsx

* Fix styles and removed comment

# Conflicts:
#	packages/js/product-editor/src/components/iframe-editor/header-toolbar/header-toolbar.tsx

* Add changelog

* Fix styles

* Fix gap between buttons
2023-07-14 11:18:16 -03:00
Vedanshu Jain f8dfc30708
Fixed the option name, and minor additional protection of creating order table (#39249) 2023-07-14 18:37:26 +05:30
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
louwie17 9a5f7643c4
Prepare woocommerce/components for release (#39235)
* Ran package release prepare for woocommerce components for release

* Update changelog and change version update
to minor
2023-07-13 17:00:25 -03:00
Matt Sherman a706bd666b
Product Editor: Fix description modal editor scrolling (#39212)
* Scroll modal editor

* Set editor to always 100% height

* Only scroll editor canvas

* Scroll sidebar

* Clip inserter

* Comment for inserter clipper

* Move iframe editor css

* Remove unused const

* Changelog
2023-07-13 10:40:02 -04:00
Matt Sherman 408cf8d53c
Product Editor: Add "Copy all content" menu item to description editor modal (#39199)
* Copy all content menu item skeleton

* Add blocks to editor context

* Show notice on copy success

* Use store to get blocks to copy

* Remove blocks from editor context (decided to use store instead)

* Changelog

* Disable menu item if no content
2023-07-13 10:39:34 -04: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
Matt Sherman a51f384021
Product Editor: Disable autocomplete on product name field (#39211) 2023-07-13 10:09:59 -04: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