Chi-Hsuan Huang
ffef8df540
Update possibly_update_note() to update other attributes
2022-03-21 12:03:29 +08:00
Chi-Hsuan Huang
58422dd008
Add $primary param back to add_action method
...
See https://github.com/woocommerce/woocommerce-admin/pull/8474/files#r829672400
2022-03-21 11:33:50 +08:00
Christopher Allford
fdf88c0d94
Updated Core Build Script
...
Since the smoke and E2E tests don't use `nx` commands to build, we need to make sure
that the command they run builds our dependencies. In the future we should change
all of the scripts and Nx executors to make this all simpler.
2022-03-19 11:42:55 -07:00
Christopher Allford
f988ab272a
Merge pull request #32124 from woocommerce/merge/wca-assets
...
Moved WooCommerce Admin Images
2022-03-18 16:55:21 -07:00
Christopher Allford
d928a5e1a6
Added missing namespace import
2022-03-18 16:23:00 -07:00
Christopher Allford
0e4b42b732
Remove WCA package existence check
2022-03-18 16:00:56 -07:00
Christopher Allford
3feab4a747
Fixed Deprecated Notes Inclusion
2022-03-18 15:51:55 -07:00
Christopher Allford
6acfa7a037
Added React Client as Implicit Dependency
...
This makes sure that building WooCommerce builds the
react admin as well.
2022-03-18 15:46:48 -07:00
Christopher Allford
839b6ffbc6
Moved WooCommerce Admin Images
...
This commit moves the images from `plugins/woocommerce-admin/images`
to their new home in `plugins/woocommerce/assets/images`
2022-03-18 15:44:40 -07:00
Christopher Allford
c4628b966b
Removed WooCommerce Admin Package
...
This commit removes the WooCommerce Admin package from Core. The
result of this change is that the code for WooCommerce Admin will come
from the included content, rather than the previous package.
2022-03-18 15:30:00 -07:00
Christopher Allford
80c3858aa6
Removed WooCommerce Admin SSR Version
...
Since there's no such thing as WooCommerce Admin anymore,
we can remove it from the SSR.
2022-03-18 15:28:44 -07:00
Christopher Allford
3dd60322d5
Migrated WooCommerce Admin PHP Code
...
This commit moves all of the PHP code from `plugins/woocommerce-admin`
to its new home in `plugins/woocommerce`.
- `plugins/woocommerce-admin/src` -> `plugins/woocommerce/src/Admin`
- `plugins/woocommerce-admin/src-internal` -> `plugins/woocommerce/src/Internal`
- `plugins/woocommerce-admin/includes` -> `plugins/woocommerce/includes/react-admin`
2022-03-18 15:23:33 -07:00
Christopher Allford
462acdf60d
Merge pull request #32123 from woocommerce/merge/admin-client-build
...
Updated React Admin Build Output
2022-03-18 15:05:38 -07:00
Christopher Allford
93e44b3628
Updated React Admin Build Output
...
This changes the output of the React-based
admin client from WooCommerce Admin to
an appropriate location in the core plugin.
2022-03-18 14:53:25 -07:00
Christopher Allford
96f1abe4d4
Merge pull request #32122 from woocommerce/merge/migrate-packages
...
Relocate WooCommerce Admin Packages
This commit moves all of the packages from WooCommerce Admin
into the appropriate location within the monorepo.
2022-03-18 14:51:50 -07:00
Moon
fd2f7909ef
Add WCA packages
2022-03-18 14:46:50 -07:00
Christopher Allford
d2d8d78be1
Moved WCA Packages
...
This commit moves all of the packages in
`plugins/woocommerce-admin/packages` to their
new home in `packages/js`.
2022-03-18 14:25:26 -07:00
Christopher Allford
9479568e3d
Merge pull request #32121 from woocommerce/merge/woocommerce-admin
...
Merge WooCommerce Admin
This merges WooCommerce Admin, along with its commit history, into `plugins/woocommerce-admin`.
2022-03-18 14:19:18 -07:00
Christopher Allford
efb270ef27
Remove Husky from WooCommerce Admin
2022-03-18 14:07:30 -07:00
Christopher Allford
dbf004023e
Fixed PNPM Lockfile
2022-03-18 14:04:13 -07:00
Christopher Allford
3077c3752b
Merge remote-tracking branch 'woocommerce/woocommerce-admin/main' into merge/woocommerce-admin
2022-03-18 13:56:18 -07:00
Christopher Allford
ba213dc845
Added WooCommerce Admin Auto-Labeling
...
This commit adds paths for automatically labeling WooCommerce Admin content.
2022-03-18 13:54:16 -07:00
Christopher Allford
da6ad73d18
Add workflow to block merges to main
...
With the migration of the feature plugin into the `woocommerce/woocommerce` repository, we're going to use this workflow to block content from being merged into `main`.
2022-03-18 13:13:49 -07:00
Barry Hughes
2f6e8ea0e7
Merge pull request #30764 from szepeviktor/patch-6
...
Fix FQCN in ContainerException
2022-03-18 12:19:43 -07:00
louwie17
4bff4d1302
Fix php notice when selecting paid theme ( https://github.com/woocommerce/woocommerce-admin/pull/8493 )
...
* Add initial E2E tests for purchase task
* Update paid theme logic to remove PHP warning and keep the correct price
* Fix php unit tests
* Address some PR feedback
* Add changelog
* Include the purchase task e2e test
* Disable test
* Delete purchase E2E test file
2022-03-18 16:05:38 -03:00
Christopher Allford
88f0fe789a
Merge pull request #32120 from woocommerce/add/issue-transfer-error-messaging
...
Expanded Issue Transfer Error Messaging
2022-03-18 11:32:27 -07:00
Christopher Allford
9287018d86
Expanded Issue Transfer Error Messaging
...
Rather than discarding the error message when
the issue transfer fails, we should give it in the
console so that the user can correct it.
2022-03-18 11:24:27 -07:00
Viktor Szépe
c45cb7a398
Merge remote-tracking branch 'wc/trunk' into patch-6
2022-03-18 17:42:35 +00:00
Christopher Allford
8efe01fe8c
Merge pull request #32116 from woocommerce/merge/woocommerce-beta-tester
...
Merge WooCommerce Beta Tester Plugin
2022-03-18 10:30:54 -07:00
Christopher Allford
d67041f0a7
Updated Composer to v2
2022-03-18 09:56:28 -07:00
Christopher Allford
efbc635e32
Added Beta Tester Plugin To Nx
...
This commit adds the project file and makes the
necessary changes to the workspace to support
the new plugin.
2022-03-18 09:46:10 -07:00
Christopher Allford
7be60a5b52
Merge remote-tracking branch 'woocommerce/woocommerce-beta-tester/trunk' into merge/woocommerce-beta-tester
2022-03-18 09:42:18 -07:00
jonathansadowski
0541a0406c
Merge pull request #32114 from woocommerce/fix/votes-needed
...
Enclose in double quotes and use correct ticks
2022-03-18 10:19:55 -05:00
roykho
f8b76b7662
Enclose in double quotes and use correct ticks
2022-03-18 07:30:40 -07:00
Chi-Hsuan Huang
c05605fddf
Update linting, testing, `@types/*` dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/8475 )
...
* Update husky from 4 to 7
* Update @types/jest from 26 to 27
* Update lint-staged from 10 to 12
* Update babel-jest from 26 to 27
* Update @typescript-eslint/eslint-plugin from 4 to 5
* Update @typescript-eslint/parser from 4 to 5
* Update chalk from 4 to 5
* Update concurrently from 5 to 7
* Update stylelint from 9 to 14 and stylelint-config-wordpress from 13 to 17
* Update @wordpress/prettier-config from 0.4 to 1.1
* Update eslint from 7 to 8, @wordpress/eslint-plugin from 8 to 10, eslint-plugin-testing-library to 5
* Fix lint errors after updating eslint-plugin-testing-library
* Fix style lint
* Rename .stylelintrc.json -> stylelint.config.js & add todo comment
Fix stylelint.config.js
* Remove @wordpress/e2e-test-utils
* Add changelogs for eslint-plugin
* Update storybook/preview.js since addDecorator has been deprecated
Remove parameters
* Import directly from @storybook/addon-docs
* Migrate some stories to use @storybook/addon-controls
Add a comment for @storybook/addon-knobs
* Update changelogs
* Update preview.js to fix lint warning
* Update pnpm-lock.yaml
* Fix eslint layout errors (https://github.com/woocommerce/woocommerce-admin/pull/8484 )
2022-03-18 19:45:14 +08:00
RJ
d9714b55c3
Update webpack 4 to webpack 5 ( https://github.com/woocommerce/woocommerce-admin/pull/8476 )
...
* updated webpack to 5
* fix dependency extraction config
* port unminify.js to webpack 5
* updated packages webpack version
* changelogs
* Updated @wordpress/custom-templated-path-webpack-plugin
- also removed Terser from package.json
* Upgraded storybook config to webpack 5
2022-03-18 18:59:05 +08:00
Chi-Hsuan Huang
8277860a19
Fix wc-admin-php-test-suite Dockerfile ( https://github.com/woocommerce/woocommerce-admin/pull/8492 )
2022-03-18 18:48:44 +08:00
Peter Fabian
9ffaf34c23
Merge pull request #31609 from woocommerce/update/product-block-templates-meta-box
...
Allow relevant block templates to be listed in the Edit Product view
2022-03-18 11:13:11 +01:00
Peter Fabian
59b941b239
Added approval feature for downloadable files
2022-03-18 10:26:32 +01:00
Peter Fabian
6e9ed9a83a
Cast limit to int in all branches.
2022-03-18 10:10:08 +01:00
Peter Fabian
c4b965e543
Fix error messages for order endpoints.
2022-03-18 10:04:09 +01:00
Chi-Hsuan Huang
89e7d145f4
Fix `next_week_start` logic ( https://github.com/woocommerce/woocommerce-admin/pull/8468 )
...
* Fix next_week_start logic
* Add changelog
* Update function docs for definitions of week end and week start
2022-03-18 12:18:16 +08:00
Moon
a7645fa07d
Allow CLI environments to run the install routines ( https://github.com/woocommerce/woocommerce-admin/pull/8488 )
2022-03-17 20:17:25 -07:00
Chi-Hsuan Huang
4de940111c
Remove `is_primary` column from the `wp_wc_admin_notes` table ( https://github.com/woocommerce/woocommerce-admin/pull/8474 )
...
* Remove is_primary column from the wc_admin_notes table
* Add changelog
2022-03-18 09:17:35 +08:00
Chi-Hsuan Huang
0a75b1b657
Refactor the `onFilterChange` method in the `AdvancedFilters` component ( https://github.com/woocommerce/woocommerce-admin/pull/8459 )
...
* Refactor the onFilterChange method in the AdvancedFilters component to use object params
* Fix advanced-filters/stories currency undefined error
* Add changelog
* Update changelog
2022-03-18 09:16:32 +08:00
Christopher Allford
78892dcbe4
Merge pull request #32109 from woocommerce/add/issue-transfer-to-monorepo-merge
...
Add Issue Transfer to Monorepo Merge Tool
2022-03-17 15:37:25 -07:00
Barry Hughes
d2966e0fca
Merge pull request #32081 from johnregan3/31824-add-order-id-to-error
...
Include order ID in the error log message
2022-03-17 15:12:16 -07:00
Christopher Allford
b63091bee0
Merge pull request #32075 from woocommerce/update/woocommerce-blocks-7.2.0
...
Update WooCommerce Blocks package to 7.2.0
2022-03-17 15:11:53 -07:00
Christopher Allford
face0c0966
Updated PNPM Lockfile
2022-03-17 14:55:53 -07:00
Christopher Allford
a55dfeed34
Implemented Issue Transfer
...
This commit adds the remaining functionality to
transfer issues between repositories.
2022-03-17 14:51:58 -07:00