Commit Graph

53033 Commits

Author SHA1 Message Date
Barry Hughes 1cba486c51
Move 'Adding Actions and Filters' from wiki to docs folder (#39697)
* Move 'Adding Actions and Filters' wiki page to docs folder.

* Apply some recommended readability/grammar tweaks.
2023-08-17 22:17:39 -03: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
Sam Seay 3e9656187a
Add support to send files in Slack CLI tool (#39778)
* Add a file upload command to the slack CLI.

* Clean up, add file command to program.

* Rename the command to 'file'

* Better error handling, don't ask for file info.
2023-08-17 13:06:37 -05: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
Niels Lange 9a001126b5
Update WooCommerce Blocks to 10.9.0 2023-08-17 12:31:24 +02:00
Sam Seay 6e93e8d35e
Add shard to the matrix name in PHP unit tests for clarity in GH UI (#39747) 2023-08-17 17:23:35 +12: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
RJ 99182c015c
dev: fix core profiler context ts type error (#39749) 2023-08-16 20:19:51 +08:00
Sam Seay 2926acb521
Speed up the lint and test task by doing pnpm install instead of full setup (#39760) 2023-08-16 23:02:32 +12:00
Sam Seay 462c690d61
Remove redundant deps on e2e in wc-admin (#39746) 2023-08-16 12:15:03 +12:00
Sam Seay a9ac6a43cb
Fix create-extension bugs (#39703)
Update dependencies, docs, remove outdated scripts.
2023-08-16 12:12:33 +12:00
github-actions 95c279f96c Add changefile(s) from automation for the following project(s): woocommerce 2023-08-15 21:46:27 +00:00
Corey McKrill acee366e8b
phpcs cleanup 2023-08-15 14:23:46 -07:00
Corey McKrill 9212d5f70d
Checkout: show "thank you" message regardless of verification status
As an alternative to #39406, this tries to solve the same issue in a
simpler way: break the "thank you" message out into its own small
template file and just include it in more places, so that no matter
the context, the order confirmation screen will always say thank you,
acknowledging that the order data has been received.
2023-08-15 14:10:06 -07:00
github-actions[bot] 53b0f113e5
Update changelog.txt from release 8.0.2 (#39754)
Prep trunk post release 8.0.2

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-15 15:11:51 -05:00
jonathansadowski beea09de2e
Update stable tag to 8.0.2 (#39757)
woorelease: Update stable tag to 8.0.2
2023-08-15 15:11:07 -05:00
Thomas Shellberg a319582c6d
Fix saving bug with Woo AI settings page and simplify. (#39565)
* Fix Woo AI plugin settings page save bug and refactor settings page.
2023-08-15 22:10:21 +02:00
Jorge A. Torres 2928a0246e
Address some more wc-admin PHP 8.1+ deprecation warnings (#38774)
* More wc-admin fixes

* Add changelog
2023-08-15 16:41:09 -03:00
Gan Eng Chin 0be8fa0b36
Fix TikTok naming (#39748) 2023-08-15 22:40:52 +08:00
jonathansadowski 9887601901
Update beta tester build step (#39732)
* Update beta tester build step

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-15 08:16:19 -05:00
nigeljamesstevenson d1f2218f71
Add loading indicator when submitting location in Tax task (#39613)
thanks a lot!
2023-08-15 13:49:13 +01:00
RJ 964dd1f449
dev/refactor core profiler utils (#39581)
* dev: added useFullScreen hook

- foresee using this in more developments

* dev: made findComponentMeta generic

* changelog
2023-08-15 19:26:37 +08:00
github-actions 6cfca3a8eb Add changefile(s) from automation for the following project(s): woocommerce 2023-08-15 06:27:57 +00:00
Sam Seay 45c49dc232
Add a workflow to separate out eslint and annotate PRs. (#39704) 2023-08-15 18:21:51 +12:00
RJ 3611fafe79
dev: upgrade storybook to 6.5.17 for TypeScript 5 compatibility (#39745)
There's been a Storybook breakage with Typescript 5 detailed here: https://github.com/hipstersmoothie/react-docgen-typescript-plugin/issues/78

This fix should allow us to continue using Storybook 6 until we upgrade to Storybook 7 down the road.

Even though it relies on an alpha release of 6.5.17-alpha, the only change in the alpha is https://github.com/storybookjs/storybook/pull/21745.

It should be an acceptable risk considering that Storybook is internal dev tooling for now.
2023-08-15 14:13:42 +08:00
Gan Eng Chin e715f75483 Fix TikTok naming in changelog.txt. 2023-08-15 14:12:11 +08:00
Gan Eng Chin 33f77af602 Fix TikTok naming in img alt attribute. 2023-08-15 14:11:35 +08:00
Sam Seay 728c0db95f
Implement a workflow that lints changed markdown files. (#39707)
* Implement a workflow that lints changed markdown files.

* Supposed to pipe the contents of files not file names.

* Fix typos in the command.

* Test changing a markdown file.

* Use a more reliable action to determine changed files.

* Adjust glob.

* Try a faster setup approach with wp-scripts installed globally

* std in does not work with wp scripts, run markdownlint directly, improve output for multiple file failures

* Try simplify the script.

* Try basic colorizing to help read output.

* separate output with a line, remove ignore because we use stdin for this.

* Play around with separation of output.

* Try use ccze to colorize output more simply.

* Remove attempt at colorizing.

* Copy config from Gutenberg to match, try coloring again.

* Do not fail after first failure found.

* Try capture errors.

* Capture in var and capture error.

* Now we capture, add back colors.

* Minor formatting adjustments.

* More minor formatting improvements.

* Add a second file to test multiple lints.

* Revert changes to md files to show a run with no lint issues.

* Test fixing a markdown file to have a lint pass with changes.

* Revert testing changes to markdown file.

* Revert lock changes we dont have dep changes in this PR.
2023-08-15 09:13:01 +08:00
Sam Seay 837c2d9961
Support git worktrees (#39705)
Test if git is a dir before trying to update hooks.
2023-08-15 09:11:09 +08:00
Vedanshu Jain 1566416f46
Add migration to move incorrectly stored payment token IDS to HPOS tables (#39724)
* Add migration to move incorrectly stored payment token IDS to HPOS tables from postmeta.

* Move migration to last + update WC version.
2023-08-14 21:31:17 +01:00
Tam Mullen 5cfd509dc7
Update PR scrub action to display different message for merged PRs (#39723)
* Update PR Scrub to display different message for merged PRs

* Created separate steps for open and merged PRs
2023-08-14 21:27:53 +01:00
louwie17 3edd1bd823
Auto delete unused variations when auto generating variations (#39733)
* Add auto delete functionality for variations

* Add the remove confirmation modal

* Update delete unmatched product variation logic

* Add tests

* Add changelogs

* Fix lint errors

* Fix lint errors
2023-08-14 16:35:16 -03:00
Ilyas Foo 6be7c4b5e3 Lint again 2023-08-14 13:42:00 +08:00
Ilyas Foo 4a04d19b60 Lint 2023-08-14 13:23:45 +08:00
Ilyas Foo f95fdd83c9 Remove unused attribute 2023-08-14 12:03:07 +08:00
Ilyas Foo e3caf5e540 Changelog 2023-08-14 11:48:45 +08:00
Ilyas Foo b497df10d8 Add preemptive set isRequesting when optimistically updating settings 2023-08-14 11:47:34 +08:00
Ilyas Foo 8aa753d917 Fix unintended reset of isRequesting when updating settings 2023-08-14 11:47:15 +08:00
Ilyas Foo a585555d92 Use try catch to handle error, better flux flow to handle next step 2023-08-14 11:45:56 +08:00
Ilyas Foo dc2c4e7c48 Merge remote-tracking branch 'origin/trunk' into tweak/loading-indicator-tax-task-store-location 2023-08-14 10:16:11 +08:00
github-actions[bot] e8d0a081ad
Delete changelog files based on PR 39639 (#39661)
Delete changelog files for 39639

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-13 13:52:17 -05:00
Jorge Torres 39473b6104 Add changelog 2023-08-11 20:11:47 -03:00
Jorge Torres 4a55bd104d Add some tests 2023-08-11 20:11:47 -03:00
Jorge Torres 54d06641eb Add HPOS order trashing/untrashing to webhooks 2023-08-11 20:11:47 -03:00