Lourens Schep
23d64d0bc2
Rename showCustomerEffortScore prop
2022-05-17 14:25:06 -03:00
Joshua T Flowers
0702433531
Add tracks to products list page ( #32949 )
...
* Add tracks to products list page
* Remove duplicate tracks
* Add changelog entry
* Check for fields before getting values
* Add bulk actions cancel button
* Check for element before binding event listener
* Check for search input before getting value
2022-05-17 11:52:44 -04:00
Lourens Schep
5494f4970d
Renamed some of the variables to remove some ambiguity
2022-05-17 09:59:11 -03:00
RJ
b524b82816
Merge pull request #33047 from woocommerce/fix/wrap-import-products-under-experiment
...
Wrap product task import around experiment
2022-05-17 14:57:29 +08:00
Chi-Hsuan Huang
2520781c7e
Add tasklist_view_more_product_types_click track event for add product task
2022-05-17 13:06:55 +08:00
Moon
c6d198723f
Merge pull request #33066 from woocommerce/update/33056-update-the-wcpay-description
...
Redirect users to the WC Pay connect page if the WC Pay is already installed
2022-05-16 20:17:29 -07:00
Chris Aprea
0afc9dd2de
Merge branch 'trunk' into add/experiment-subscriptions-admin-menu-1
2022-05-17 13:12:21 +10:00
moon
285047fde8
Update the description and make the button to redirect the users to the WC Pay connect page when the WC Pay is already installed
2022-05-16 15:37:38 -07:00
moon
362e98489a
Set icon width to 51px
2022-05-16 14:00:43 -07:00
Lourens Schep
d1bf5c5719
Address the majority of the PR feedback
2022-05-16 10:03:46 -03:00
Chris Aprea
1fa3060697
Merge pull request #32958 from woocommerce/add/experiment-subscriptions-admin-menu-experiment-framework
...
Add experiment functionality to the WooCommerce → Subscriptions page
2022-05-16 22:31:22 +10:00
Ilyas Foo
40a1eb5a01
Move out logic to be reusable
2022-05-16 12:00:09 +08:00
Ilyas Foo
68c7de6c5e
Fix janky product task items on hover ( #33043 )
...
* Fix hover border size
* Changelog
2022-05-16 11:32:37 +08:00
Ilyas Foo
ebec562699
Wrap product task import around experiment
2022-05-16 10:49:49 +08:00
Lourens Schep
780fbffc68
Fix merge conflict type issue
2022-05-13 10:29:21 -03:00
Lourens Schep
03cb7e5a42
Fix completed image display in two column layout
2022-05-13 10:29:21 -03:00
Lourens Schep
fe1e814a41
Fix customer effort types and add timeout to thank you message
2022-05-13 10:29:21 -03:00
Lourens Schep
b441a84d9d
Keep score displayed if user cancels out of CES Modal
2022-05-13 10:29:21 -03:00
Lourens Schep
45dfda2b65
Move CES show logic to the back end, so there is no loading delay
2022-05-13 10:29:21 -03:00
Lourens Schep
4b27f831f7
Add CES submission
2022-05-13 10:29:21 -03:00
Lourens Schep
7aa37d609f
Added new completed header and customer feedback component
2022-05-13 10:29:20 -03:00
RJ
2c5f47a91d
Merge pull request #32944 from woocommerce/add/tracks-experimental-products
...
Add tracks for experimental products page
2022-05-13 12:41:48 +08:00
moon
8adcae1072
Remove @types/history -- it is part of history 5.3.0
2022-05-12 18:34:13 -07:00
moon
aa7853edbd
Update history package to the latest 5.3.0 version
2022-05-12 18:28:43 -07:00
RJChow
05cd1c30de
Added tracks events to experimental products pages
2022-05-13 06:16:28 +08:00
Joel Thiessen
cb8076966e
Adding badge to legacy admin menu to indicate remaining onboarding tasks
2022-05-12 12:29:45 -07:00
Chi-Hsuan Huang
4992899d84
Merge pull request #32975 from woocommerce/fix/32959-product-task-text-shown-before-accordion-is-expanded
...
Fix product task text shown before accordion is expanded on stack layout
2022-05-12 15:26:04 +08:00
Chi-Hsuan Huang
8440400f3c
Set fixed width for experimental product layout
2022-05-12 14:08:03 +08:00
Chris Aprea
3e1d7ac99b
Copy changes and remove console log
2022-05-12 14:46:06 +10:00
Ilyas Foo
713198f5ed
Renames to increase clarity
2022-05-12 10:41:15 +08:00
Ilyas Foo
16c36e1f7d
Import hook from onboarding
2022-05-12 10:41:15 +08:00
Chi-Hsuan Huang
5453737747
Fix product task text shown before accordion is expanded on stack layout
2022-05-12 09:56:53 +08:00
Chris Aprea
022c60f9e5
Tidy up experiment code and conditional rendering for the onboarding steps component.
2022-05-12 10:32:54 +10:00
Joel T
8e04383fb0
Enabling reminder bar for both experiments and control
2022-05-11 16:18:51 -07:00
Joel T
27cecd9b83
Hiding badge when remaining tasks is now zero
2022-05-11 16:18:51 -07:00
Joel T
46d6e6dd3e
Updating badge for tasks that complete with no page refresh
2022-05-11 16:18:50 -07:00
Moon
9720874f50
Merge pull request #32954 from woocommerce/update/32883-update-react-dates-dependency
...
Update react-dates to 21.8.0
2022-05-11 12:49:16 -07:00
Chris Aprea
aa8835bfce
Merge branch 'trunk' into add/experiment-subscriptions-admin-menu-1
2022-05-11 17:04:29 +10:00
Chris Aprea
f66a8c5b0f
Add basic experiment functionality.
2022-05-11 15:37:14 +10:00
Ilyas Foo
016a23f202
Merge pull request #32941 from woocommerce/dev/32635-implement-product-task-experiment
...
Add ExPlat call for product task experiment
2022-05-11 13:03:27 +08:00
Chi-Hsuan Huang
edbfd5bf93
Merge pull request #32937 from woocommerce/update/convert-woo-tracks-to-ts
...
Convert `@woocommerce/tracks` to TS
2022-05-11 09:57:27 +08:00
James Allan
077d68eecd
Remove unused maestro card SVG file
2022-05-11 11:57:08 +10:00
Chi-Hsuan Huang
79814ccccf
Merge pull request #32936 from woocommerce/update/memoize-one
...
Remove `memoize-one` from woo admin & update it to ^6.0.0 for woo components
2022-05-11 09:55:40 +08:00
Chi-Hsuan Huang
63c9cb3e09
Merge pull request #32932 from woocommerce/update/task-completion-time
...
Update import product task to record completion time in time frame format
2022-05-11 09:55:25 +08:00
moon
15ecfd9b16
Update react-dates to 21.8.0
2022-05-10 18:12:32 -07:00
Chris Aprea
4336b3a390
Add the wccore_subscriptions_empty_state_get_started_error tracking event.
2022-05-11 09:05:35 +10:00
Moon
d3ef624ab9
Merge pull request #32928 from woocommerce/update/32911-remove-explat-calls-for-headercard-exp
...
Remove ExPlat calls for woocommerce_tasklist_progression_headercard experiments
2022-05-10 11:12:25 -07:00
Ilyas Foo
367db18bc4
Rename function
2022-05-10 20:57:11 +08:00
Ilyas Foo
933fe9f449
Add tests
2022-05-10 18:21:52 +08:00
Ilyas Foo
826029ca7b
Add ExPlat call for product task experiment
2022-05-10 16:58:02 +08:00
Chi-Hsuan Huang
93725ece0f
Remove woo tracks type declaration from woo admin
2022-05-10 15:29:10 +08:00
Chi-Hsuan Huang
43af801d46
Remove memoize-one from wca & update it to ^6.0.0 for woo components
2022-05-10 14:17:03 +08:00
Chi-Hsuan Huang
4cc033bc12
Add tests for getTimeFrame
2022-05-10 14:02:07 +08:00
James Allan
692cdd3607
Redirect to the create subscription product step after installing WC Payments
...
This is a temporary measure to be enable testing the full flow whilst we
work on setting up the experiment.
2022-05-10 15:50:47 +10:00
Chris Aprea
fc55f14fdd
Add the wccore_subscriptions_empty_state_view tracking event.
2022-05-10 15:43:47 +10:00
Chris Aprea
c421733dec
Add @ts-expect-error comment to avoid build error.
2022-05-10 11:11:07 +10:00
Chi-Hsuan Huang
2b46085ff7
Update to record completion time in time frame format
2022-05-10 08:58:23 +08:00
Chi-Hsuan Huang
c4c2d160ff
Merge pull request #32914 from woocommerce/add/32811-import-prdocuts-tracks
...
Add tracks for experimental import products task
2022-05-10 08:14:40 +08:00
Lourens Schep
99eb80d811
Remove unused string condition
2022-05-09 14:36:51 -03:00
moon
2aa8088197
Remove ExPlat API calls from the frontend
2022-05-09 10:01:11 -07:00
Lourens Schep
fb62e3392a
Fix duplicate task list shown
2022-05-09 11:17:37 -03:00
James Allan
b45d095e2d
Use updateOptions from @woocommerce/data OPTIONS_STORE_NAME to set wp options instead of using apiFetch
2022-05-09 15:10:17 +10:00
James Allan
59478e391c
Reorder and self close the No thanks buttons
2022-05-09 14:56:59 +10:00
Chi-Hsuan Huang
87f5431a5d
Add track events for experimental import products
2022-05-09 12:43:10 +08:00
Chi-Hsuan Huang
4aa1bead31
Add use-record-completion-time.ts for task event
2022-05-09 12:40:55 +08:00
James Allan
738b3764e5
Add a dismiss ("No thanks") button to the wcpay susbcriptions welcome page
2022-05-09 14:24:01 +10:00
Chris Aprea
f34fcab040
Fix font weight.
2022-05-09 10:55:04 +10:00
Chris Aprea
b223ed27f6
Fix typo.
2022-05-09 10:47:06 +10:00
Christopher Allford
0519045d20
Added Missing Dependencies
...
Some kind of branch switching related mishap it seems.
2022-05-06 14:58:33 -07:00
Christopher Allford
31d7249080
Removed "prebuild" Script
...
PNPM does not execute "pre" and "post"
scripts for user-defined scripts. This removes
the "prebuild" from the React Admin's build.
2022-05-06 12:16:57 -07:00
Chi-Hsuan Huang
72cf343cda
Merge pull request #32866 from woocommerce/fix/32761-exp2-task-no-padding
...
Fix no padding between the task section and things to do next in experiment 2
2022-05-06 14:28:46 +08:00
Chi-Hsuan Huang
6d0b794fc7
Replace margin-bottom 16px with $gap for experiment 2
2022-05-06 12:44:43 +08:00
Chi-Hsuan Huang
ce253ca390
Merge pull request #32815 from woocommerce/add/32412-load-sample-products
...
Add load sample products for experimental product task
2022-05-06 09:23:26 +08:00
Chris Aprea
c92bc4b357
Merge branch 'add/experiment-subscriptions-admin-menu-1' into add/experiment-subscriptions-admin-new-design
2022-05-05 16:01:35 +10:00
Chris Aprea
77cc1f61de
Merge branch 'add/experiment-subscriptions-admin-menu' into add/experiment-subscriptions-admin-menu-1
2022-05-05 16:00:50 +10:00
Chris Aprea
7add4dca88
Implement the new subscriptions page design
2022-05-05 15:04:27 +10:00
Chi-Hsuan Huang
7e3a259cc5
Center experimental products view more button
2022-05-04 17:27:41 +08:00
Chi-Hsuan Huang
b28a2d7ba7
Fix no padding between the last task section and Things to do next in experiment 2
2022-05-04 11:57:43 +08:00
Chi-Hsuan Huang
7e4126bc9f
Update experimental-import-products to load sample products
2022-05-04 10:42:25 +08:00
Chi-Hsuan Huang
f25383fc15
Add test for stack
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
95a319b36d
Add tests for load sample products
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
be50584b67
Update load onboarding sample product link
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
5476f4c80f
Add onboarding load sample products notice
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
570d6dad71
Update experimental-products to load sample products
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
4221c32fa4
Add type for wp.components.ui
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
e37bc5e18f
Add load sample product hook & modal component
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
5063dc3640
Update admin webpack config to resolve wp.components.ui
2022-05-04 10:15:03 +08:00
Moon
4a6c3300aa
Merge pull request #32835 from woocommerce/add/32788-add-experimental-import-products-task-followup
...
Add experimental import products task
2022-05-03 19:13:26 -07:00
moon
8219510fc5
Style update
2022-05-03 18:57:23 -07:00
James Allan
49f5f788bb
Replace translation domains from woocommerce-payments to woocommerce
2022-05-04 11:15:56 +10:00
moon
0a75c8d6be
Adjust text color
2022-05-03 15:55:15 -07:00
moon
d0b500a3f4
Import Stacks before CardList to fix the order error
2022-05-03 15:55:02 -07:00
moon
84fe952ba8
Add link to the card
2022-05-03 15:54:18 -07:00
James Allan
b15cfd3a2d
Reword the error message to be more action -> outcome structure
2022-05-03 16:47:14 +10:00
James Allan
6b7fd14c09
Direct the user to the wp.org wcpayments page for a more direct install path
2022-05-03 16:18:46 +10:00
James Allan
a1aff10f5f
Display an error message when WC Payments fails to install
2022-05-03 14:10:18 +10:00
moon
bc634512af
Remove unnecessary style
2022-04-29 16:01:05 -07:00
moon
4ee252b549
Style fix
2022-04-29 15:53:45 -07:00
moon
0958641c85
Update svg fill
2022-04-29 15:53:07 -07:00
moon
0c3a142e89
Convert svg to react component
2022-04-29 15:51:46 -07:00
Fernando
c60884ef20
Merge pull request #32786 from woocommerce/fix/32720_progress-header-title
...
Fix progress header title
2022-04-29 18:56:53 -03:00
moon
422018eb78
Refactor useProductTypeListItems to accept product types
2022-04-29 14:42:04 -07:00
Fernando Marichal
23c829efea
Fix sectioned task list
2022-04-29 16:31:26 -03:00
louwie17
c0711feacb
Merge pull request #32805 from woocommerce/fix/32802_update_copy_and_illustrations
...
Update illustrations and copy of task list experiment 1
2022-04-29 15:11:27 -03:00
Fernando Marichal
6a9bb8ab49
Fix default title
2022-04-29 13:34:02 -03:00
louwie17
f918f341b9
Merge pull request #32824 from woocommerce/add/32762
...
Adding legal messaging and fixing click behavior on task list experiment
2022-04-29 13:31:42 -03:00
Fernando Marichal
06dd122939
Fix progress header title
2022-04-29 12:40:01 -03:00
Joel T
d0d2de10bf
Fixing typescript error
2022-04-29 11:14:42 -03:00
Joel T
d58b436265
Removing excess content in wcpay task on experiment
2022-04-29 11:14:42 -03:00
Joel T
a7f457c488
Fixing test
2022-04-29 11:14:42 -03:00
Joel T
98838fe8b4
Adding slotfill support to task experiment one, fixing odd behavior around link clicks
2022-04-29 11:14:42 -03:00
Lourens Schep
fbdc08eb36
Some minor changes to tasks height for each task list to match design
2022-04-29 11:11:30 -03:00
Lourens Schep
711e0ce449
Remove unused illustrations
2022-04-29 10:12:09 -03:00
Roy Ho
ad0d71dcff
Merge pull request #32795 from woocommerce/fix/standardize-lint-woocommerce-plugin
...
Standardize linting: plugins
2022-04-29 06:01:37 -07:00
Lourens Schep
77765285e8
Update illustrations and copy of task list experiment 1, with minor css updates
2022-04-29 09:52:50 -03:00
Chris Aprea
0942a8b169
Enqueue an inline script.
2022-04-29 15:05:15 +10:00
moon
9cf2993975
Fix error with the items type
2022-04-28 20:45:49 -07:00
moon
a441ff189b
Add stacks
2022-04-28 20:39:09 -07:00
moon
b03149a29c
Align the stacks button center
2022-04-28 20:39:08 -07:00
moon
b109eba8c7
Adjust styles and add initial stacks functionality
2022-04-28 20:38:31 -07:00
moon
de836d1f79
Add Learn More link
2022-04-28 20:38:31 -07:00
moon
14cff0a001
Allow JSX.Element in content
2022-04-28 20:38:31 -07:00
Chi-Hsuan Huang
60334e3c55
Merge pull request #32801 from woocommerce/add/32634-add-products-task
...
Add experimental add product for task list
2022-04-29 11:35:53 +08:00
Chi-Hsuan Huang
345a2ed60c
Update experimental product stack layout style
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
0d9d463d46
Update experimental-products default surfaced product types
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
76777d2981
Refactor experimental-products functions
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
6205c0208f
Update card name & check support product types
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
e6d3ed3c3c
Add loading sample product card
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
48c89b2266
Add card view
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
6248683042
Add tests for experimental add product task
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
cbfc393c6a
Add use-create-product-by-type & use-product-types-list-items hooks
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
5f233898bf
Implement functionalities of experimental products
2022-04-29 10:46:54 +08:00
Ilyas Foo
cb731d465a
Merge remote-tracking branch 'origin/trunk' into add/wc-payment-gateways-banner
2022-04-29 10:15:21 +08:00
Ilyas Foo
fc74c42fe0
Merge branch 'trunk' into add/wc-payment-gateways-banner
2022-04-29 09:11:20 +08:00
moon
dc00aff77e
Run dev after clean command
2022-04-28 14:28:01 -07:00
moon
082f55bee1
Run clean before running build commands
2022-04-28 13:42:06 -07:00
Fernando
5bda7ca396
Merge pull request #32739 from woocommerce/add/32156_preview-store-button
...
Add Preview store button to Home screen
2022-04-28 08:35:31 -03:00
Chi-Hsuan Huang
843a59c0c4
Merge pull request #32735 from woocommerce/update/woo-data-types
...
Update `@woocommerce/data` & admin client type definitions
2022-04-28 18:03:14 +08:00
Adrian Duffell
8a3ae1399b
Merge branch 'trunk' into add/wc-payment-gateways-banner
2022-04-28 14:29:17 +08:00
Ilyas Foo
ff4d735238
Merge remote-tracking branch 'origin/trunk' into dev/32575-add-generic-fallback-image-payments-task
2022-04-28 11:56:58 +08:00
Chi-Hsuan Huang
0389bc7cc3
Merge pull request #32779 from woocommerce/add/product-stack
...
Add experimental product stack component
2022-04-28 09:47:31 +08:00
Paul Sealock
4275eb002b
admin fix scripts
2022-04-28 11:04:20 +12:00
Paul Sealock
6100df9a04
Storybook: Move code to `tools/` ( #32729 )
2022-04-28 09:54:54 +12:00
Chi-Hsuan Huang
b938eb88f9
Update icons
2022-04-27 18:32:20 +08:00
Chi-Hsuan Huang
7eff6afd82
Add initial experimental-products component to show product stack component
2022-04-27 15:22:17 +08:00
Chi-Hsuan Huang
d4dbf2f1a3
Add product stack component
2022-04-27 15:22:17 +08:00
moon
3b654321b1
Remove unnecessary style
2022-04-26 20:14:47 -07:00
Chris Aprea
49e754b962
Add tracking on button click.
2022-04-27 10:18:11 +10:00
moon
3d68bdbded
Add CardList component
2022-04-26 14:15:11 -07:00
Fernando Marichal
93b9c48a85
Fix link url
2022-04-26 17:17:45 -03:00
moon
7c32432bf1
Add feature flag experimental-import-products-task and base component
2022-04-26 13:03:30 -07:00
Chi-Hsuan Huang
255872e4a3
Update react admin tasks/fills to render experimental-products when the feature flag is on
2022-04-26 13:40:13 +08:00
Chris Aprea
a289b1146d
Install WCPay on button click.
2022-04-26 15:37:32 +10:00
Chi-Hsuan Huang
d1d441c824
Update wcAdminFeatures type
2022-04-26 13:26:41 +08:00
Chris Aprea
56ac948371
Added placeholder content.
2022-04-26 15:22:01 +10:00
Ilyas Foo
9eba4b93de
Add fallback image
2022-04-26 12:10:26 +08:00
Chi-Hsuan Huang
11f321a334
Add isWcPaySupported util function for payments
2022-04-26 11:14:05 +08:00
Chi-Hsuan Huang
3ee2fcaeac
Use getAdminLink to format WC_PAY_SETUP_URL
2022-04-26 10:55:44 +08:00
Ilyas Foo
2398fdf772
Change experiment name to dynamic
2022-04-26 10:47:01 +08:00
Chi-Hsuan Huang
d0e31f9949
Add is_visible to Extension type
2022-04-26 09:34:52 +08:00
Paul Sealock
e70b75cf81
Update `create-extension` to work in monorepo context ( #32514 )
...
* Update create-wc-extension to work in monorepo context
* update lock file
2022-04-26 08:51:35 +12:00
Lourens Schep
9872ec153b
Add test case for eventPrefix
2022-04-25 10:57:36 -03:00
Lourens Schep
1acbcd64c5
Fix eventPrefix for two column task list
2022-04-25 10:44:29 -03:00
Chi-Hsuan Huang
678e893f60
Fix react admin ./client types after updating @woocommerce/data types
2022-04-25 15:17:28 +08:00
Chi-Hsuan Huang
d94c1dc7bd
Remove unnecessary wpDataselect & WCDataSelector types from react client
2022-04-25 14:17:28 +08:00
Lourens Schep
d5401cee3c
Fix track format
2022-04-22 12:15:22 -03:00
Lourens Schep
6ab9a9ae2c
Add task list slot fill support in the sectioned task list
2022-04-22 12:04:51 -03:00
louwie17
f5ec1856c4
Merge pull request #32726 from woocommerce/add/32161
...
Add tracks to task list reminder bar
2022-04-22 11:00:45 -03:00
Fernando Marichal
3601109ac1
Fix test text
2022-04-22 10:53:46 -03:00
Fernando
ee5d38d49c
Merge pull request #32704 from woocommerce/fix/task-list-style-conflict
...
Fix setup task list style conflict
2022-04-22 10:34:50 -03:00
Fernando Marichal
6fb0881d7b
Add test
2022-04-22 10:09:32 -03:00
Fernando Marichal
015c48c6ab
Add preview store button
2022-04-22 10:08:35 -03:00
Chi-Hsuan Huang
2ff94f5388
Fix history type error
2022-04-22 16:47:31 +08:00
Chi-Hsuan Huang
4ade171fd1
Merge pull request #32712 from woocommerce/fix/admin-remaining-task-types
...
Fix remaining typescript type errors in react admin
2022-04-22 15:31:06 +08:00
Chi-Hsuan Huang
a6927c1621
Merge pull request #32698 from woocommerce/fix/admin-task-types
...
Fix typescript type errors in react admin `./client/tasks/task` & `./client/tasks/tests`
2022-04-22 14:48:51 +08:00
Chris Aprea
b6bc8d5c95
Add plumbing to render the "Subscription" admin menu item and page.
2022-04-22 16:11:24 +10:00
Joshua Flowers
835b1e73a1
Add tracks to task list reminder bar
2022-04-21 12:01:56 -07:00
Joel Thiessen
e488cb4095
Merge pull request #32723 from woocommerce/fix/32705
...
Fixing blank screen when Store Details task clicked on sectioned task list.
2022-04-21 11:32:10 -07:00
Joel T
1ad61780fe
Adding support for actionUrl to sectioned task list
2022-04-21 09:35:01 -07:00
RJChow
6151f4021c
Revert "Changed e2e payment settings page detection"
...
This reverts commit 1a7c40316e
.
2022-04-21 14:08:32 +08:00
Chi-Hsuan Huang
0308873d79
Turn on ForkTsCheckerWebpackPlugin in react admin
2022-04-21 13:18:24 +08:00
Chi-Hsuan Huang
66deb864ab
Fix reamining type errors
2022-04-21 13:10:56 +08:00
Chi-Hsuan Huang
71e9073c0b
Fix remaining task type errors
2022-04-21 12:44:19 +08:00
RJChow
bbb1af478b
changelogs
2022-04-21 11:29:58 +08:00
RJChow
73634d63d8
cleanup
2022-04-21 11:29:28 +08:00
RJChow
60885707f1
types and lint
2022-04-21 11:29:28 +08:00
RJChow
07a20ce378
added conditions for rendering
2022-04-21 11:29:28 +08:00
RJChow
aaf5c9ff5a
Refactored and added new payment icons
2022-04-21 11:29:28 +08:00
RJChow
9a95dc028f
implement slotfill
2022-04-21 11:29:28 +08:00
RJChow
feb1f42949
design banner
2022-04-21 11:29:28 +08:00
RJChow
9905a882b2
insert react
2022-04-21 11:29:28 +08:00
Chi-Hsuan Huang
8aca258df8
Fix header utils
2022-04-21 11:07:25 +08:00
Chi-Hsuan Huang
c5c1cf438a
Fix task types
2022-04-21 09:04:32 +08:00
Chi-Hsuan Huang
1a0c940bdd
Convert admin ./client/header/utils to TS
2022-04-21 09:04:32 +08:00
Chi-Hsuan Huang
22575242e9
Merge pull request #32695 from woocommerce/fix/admin-two-column-tasks-types
...
Fix typescript type errors in react admin `./client/two-column/tasks`
2022-04-21 08:57:08 +08:00
Moon
3f84e6e833
Merge pull request #32688 from woocommerce/fix/fix-client-shipping-typescript-errors
...
Fix typescript type errors in react admin ./client/shipping
2022-04-20 14:16:33 -07:00
Fernando Marichal
5dbc394784
Fix task list style conflict
2022-04-20 10:12:08 -03:00
Chi-Hsuan Huang
754455460c
Fix two columns tasks
2022-04-20 16:24:58 +08:00
Chi-Hsuan Huang
eb90be2050
Fix two-column-tasks type errors
2022-04-20 16:12:12 +08:00
Ilyas Foo
62de7bae9c
Merge pull request #32662 from woocommerce/update/refactor-and-improve-tests-payments-task
...
Refactor and improve tests payments task
2022-04-20 10:38:28 +08:00
Chi-Hsuan Huang
42c578ed22
Merge branch 'trunk' into fix/admin-payment-type
2022-04-20 10:07:53 +08:00
moon
08d3dc1a52
Fix type errors
2022-04-19 10:45:10 -07:00
Moon
e6503e60cb
Merge pull request #32678 from woocommerce/fix/wp-admin-scripts-type
...
Fix typescript type errors in react admin `./client/wp-admin-scripts`
2022-04-19 09:08:11 -07:00
Chi-Hsuan Huang
7514c2edce
Fix error type
2022-04-19 17:07:55 +08:00
Chi-Hsuan Huang
f861dc4602
Fix woo admin payments & payment-weclome types
2022-04-19 16:31:15 +08:00
moon
32db78a76f
Remove PluginsStoreActions
2022-04-18 21:59:04 -07:00
Chi-Hsuan Huang
85324ea2cf
Merge pull request #32615 from woocommerce/update/admin-tsconfig-config
...
Update TS config to have an isolated TS environment for woo admin
2022-04-19 11:31:49 +08:00
moon
05c04c8679
Fix type errors
2022-04-18 10:42:08 -07:00
Ilyas Foo
89b7415297
Refactor and add unit tests
2022-04-15 18:42:07 +08:00
Chi-Hsuan Huang
0c554fddad
Add @wp/plugins, data, compose types dev deps to woo admin
...
Add their type definitions and remove them from index.d.ts declare module
2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang
a5786a060b
Declare svg module for client typing
2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang
fb420020d3
Declare TS module for non-ts imports
2022-04-15 17:04:53 +08:00
Chi-Hsuan Huang
e66b78b892
Add @types/testing-library__jest-dom to fix client ts errors
2022-04-15 17:04:53 +08:00
Chi-Hsuan Huang
82f7d98cf5
Merge pull request #32621 from woocommerce/remove/admin-test-folder
...
Remove woocommerce-admin/tests
2022-04-15 16:46:56 +08:00
Chi-Hsuan Huang
ec16b29b4f
Disable ForkTsCheckerWebpackPlugin in admin webpack
2022-04-15 13:50:58 +08:00
Chi-Hsuan Huang
4cb893dda9
Update admin tsconfig to isolated from other projects
2022-04-15 13:50:18 +08:00
Chi-Hsuan Huang
60c8c05028
Move admin typings to ./client/typings
2022-04-15 13:50:17 +08:00
Chi-Hsuan Huang
f6282eefdc
Merge branch 'trunk' into update/webpack-config
2022-04-15 13:48:20 +08:00
Chi-Hsuan Huang
0557171445
Merge pull request #32578 from woocommerce/dev/32466-docs-webpack-config
...
Document Admin’s webpack config
2022-04-15 13:47:32 +08:00
Chi-Hsuan Huang
ac95d54669
Add more comments to admin webpacks config & simplify the logic
2022-04-15 12:08:59 +08:00
Chi-Hsuan Huang
3ead227cdc
Merge branch 'trunk' into update/admin-docs
2022-04-15 11:53:08 +08:00
Joel Thiessen
35440c9b56
Supressing tasks reminder bar on products screen and addressing translation issue #32526
2022-04-14 12:06:20 -07:00
Joshua T Flowers
3561b87f83
Track when task list sections are closed ( #32625 )
...
* Track when task list sections are closed
* Add tracks for when task list section is opened
2022-04-14 12:21:56 -04:00
louwie17
19e57a4377
Merge pull request #32624 from woocommerce/update/minor_tasklist_changes
...
Update minor tasklist changes
2022-04-14 11:21:17 -03:00
Joshua T Flowers
26a27650a3
Add check for tasklist layout experiment ( #32593 )
...
* Add check for tasklist layout experiment
* Remove task list setup feature flags
* Remove errant config file
* Add negative check for experiment 1 in experiment 2
2022-04-14 10:19:27 -04:00
Lourens Schep
3c69e4f2b0
Remove unused dependency
2022-04-14 10:47:53 -03:00
Lourens Schep
d59fa94d2f
Add sectioned task list loading placeholder component
2022-04-14 09:48:53 -03:00
Lourens Schep
93438c395d
Update progressive header to just show welcome to blog title once completed
2022-04-14 08:51:47 -03:00
Chi-Hsuan Huang
c546e9e6e7
Update payment method links to extension > payment section
2022-04-14 19:01:35 +08:00
Chi-Hsuan Huang
08466d8de1
Update payment method link to the internal Extensions Marketplace
2022-04-14 19:01:14 +08:00
Ilyas Foo
5bd497b384
Merge pull request #32605 from woocommerce/update/32132-payment-logic-in-task-and-settings
...
Update payment gateway logic in payment task
2022-04-14 18:36:44 +08:00
Chi-Hsuan Huang
5a74e9cba6
Add WC_ADMIN_PHASE=core to build:feature-config
2022-04-14 17:25:29 +08:00
Chi-Hsuan Huang
b936e3243f
Update feature-flags.md
2022-04-14 17:15:12 +08:00
Chi-Hsuan Huang
30a2fc18d6
Pass WC_ADMIN_PHASE=core to build commands
2022-04-14 17:13:23 +08:00
Ilyas Foo
3668ea36c5
Small refactor to consolidate logic
2022-04-14 17:09:10 +08:00
Chi-Hsuan Huang
c813c3bc5f
Remove "plugin" environment from admin feature plugin
2022-04-14 16:40:35 +08:00
Chi-Hsuan Huang
20736a5280
Remove docsify-cli and releated files
2022-04-14 13:50:29 +08:00
Chi-Hsuan Huang
dfa51ac747
Update docs
2022-04-14 13:50:27 +08:00
Chi-Hsuan Huang
96a5a7b75d
Remove building ./docs storybook
2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang
ed8885f0b7
Fix admin extensions webpack config
2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang
0ed8911875
Update admin docs README.md
2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang
a97df494e5
Update woocommerce-admin README.md
2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang
616d318203
Merge pull request #32602 from woocommerce/fix/client-dashboard-type
...
Fix typescript annotations in react admin `./client/dashboard`
2022-04-14 13:48:16 +08:00
Chi-Hsuan Huang
272394ae9b
Merge pull request #32599 from woocommerce/update/remove-admin-github-folder
...
Remove woocommerce-admin .github folder
2022-04-14 13:40:38 +08:00
Chi-Hsuan Huang
863316ade7
Merge pull request #32518 from woocommerce/update/32516-woocommerce-admin-links
...
Update woocommerce-admin links to point to woocommerce repo
2022-04-14 13:40:25 +08:00
RJChow
fdd9b1bbb8
Added type guard for locale and unit tests for isAddressFieldRequired
2022-04-14 12:53:45 +08:00
Chi-Hsuan Huang
b69a923695
Update admin's webpack config
...
- Remove unnessary settings
- Refactor config to make it easier to read
2022-04-14 12:10:10 +08:00
Chi-Hsuan Huang
adda46cc7b
Document Admin’s webpack config
2022-04-14 12:09:00 +08:00
Chi-Hsuan Huang
afc8217bcc
Remove woocommerce-admin/tests
2022-04-14 11:48:52 +08:00
Ilyas Foo
1a129a2354
Change recommended ribbon to Pill
2022-04-14 10:52:12 +08:00
Ilyas Foo
6f8cb2b536
Merge remote-tracking branch 'origin/trunk' into update/32132-payment-logic-in-task-and-settings
2022-04-14 09:48:39 +08:00
Ilyas Foo
54ea7c9cbe
Revert previous image attribute to preserve old images and new icons are replace with new attribute
2022-04-14 09:45:27 +08:00
Ilyas Foo
adbc101312
Update logic to only show additional gateways when other is installed and wcpay isnt eligible
2022-04-14 08:39:55 +08:00
Ilyas Foo
39c57c802f
Fix tests
2022-04-14 08:38:42 +08:00
Ilyas Foo
c81d749781
Fix cases when gateway is disabled but has been set up
2022-04-14 08:37:53 +08:00
Joel T
0ec373734f
Replacing condition depending on pageTitle due to translation issues
2022-04-13 16:24:55 -07:00
Joel T
bc9ce569b0
Adding Products screens to those that will not show tasks reminder bar
2022-04-13 13:08:13 -07:00
Lourens Schep
f15e38f55e
Fix minor css issues with complete task list item
2022-04-13 16:01:31 -03:00
louwie17
212198b3c4
Merge pull request #32302 from woocommerce/feature/32164_new_task_list_version_2
...
Add sectioned task list component
2022-04-13 13:56:27 -03:00
RJ
fe1c83de1e
Merge pull request #32559 from woocommerce/fix/wca-webpack-unminify
...
Changed unminify plugin to hook into step before optimization
2022-04-13 23:37:21 +08:00
Lourens Schep
60e288c849
Update illustrations and fix potential update delay
2022-04-13 12:15:05 -03:00
Lourens Schep
0c91a56f1f
Address minor PR feedback and UI issues
2022-04-13 11:20:26 -03:00
Ilyas Foo
f1d8cbe15c
Add support for external links for payment gateways
2022-04-13 21:39:44 +08:00
Lourens Schep
3bb9c18a2d
Update hover color
2022-04-13 09:58:09 -03:00
Lourens Schep
56cb47e059
Fix css lint errors
2022-04-13 09:58:09 -03:00
Lourens Schep
7547901e7d
Update number of task list badge and adjust styling
2022-04-13 09:58:09 -03:00
Lourens Schep
dfa342f400
Update unchecked checkbox border for task list
2022-04-13 09:58:09 -03:00
Lourens Schep
954be3997d
Realign header image
2022-04-13 09:58:09 -03:00
Lourens Schep
fd30323288
Fix section title and list alignment
2022-04-13 09:58:09 -03:00
Lourens Schep
7bdaea6195
Add progress header to sectioned task list and made some additional little changes
2022-04-13 09:58:09 -03:00
Lourens Schep
df0acb9286
Add changelog
2022-04-13 09:58:09 -03:00
Lourens Schep
68efbafcb5
Add sectioned task list component
2022-04-13 09:58:09 -03:00
Ilyas Foo
202f9df078
Fix tests
2022-04-13 19:12:25 +08:00
Chi-Hsuan Huang
c829aacfc7
Fix typescript annotations in react admin ./dashboard
2022-04-13 16:57:58 +08:00
Ilyas Foo
b7159dbfc9
Add test
2022-04-13 15:43:07 +08:00
Ilyas Foo
7bebe192e9
Update logic to show only additional category when applicable
2022-04-13 15:13:15 +08:00
Chi-Hsuan Huang
4760b10cc8
Remove admin .github folder
2022-04-13 14:40:27 +08:00
Ilyas Foo
31bcf06ac8
Merge pull request #32467 from woocommerce/dev/32131-ui-changes-additional-payment-section
...
UI changes for set up payments task
2022-04-13 12:52:46 +08:00
Chi-Hsuan Huang
e627fb344e
Merge pull request #32582 from woocommerce/fix/admin-clean-cmd
...
Fix `pnpm nx clean woocommerce-admin` command
2022-04-13 12:36:36 +08:00
Fernando
0a3359d1ac
Merge pull request #32527 from woocommerce/add/32141_pinterest_extension_to_obw
...
Add Pinterest extension to onboarding wizard and marketing task
2022-04-12 15:58:48 -03:00
louwie17
c10a9cfd63
Merge pull request #32507 from woocommerce/fix/32128_experiment_1_ui_issues
...
Fix experiment 1 UI issues
2022-04-12 11:27:30 -03:00
Moon
bb9bc378cf
Merge pull request #32447 from woocommerce/update/32130-ui-changes-to-the-recommended-payment-options
...
UI changes to the recommended payment options
2022-04-12 05:30:18 -07:00
Fernando Marichal
db7b1ba035
Add Pinterest to help panel
2022-04-12 09:26:54 -03:00
Chi-Hsuan Huang
13720a663e
Fix admin clean command
2022-04-12 15:47:03 +08:00
Ilyas Foo
0b2df9a956
Fix text domain, standardize component conditional, remove unnecessary comment
2022-04-12 10:52:11 +08:00
Ilyas Foo
7cca9642f4
Remove enabled section
2022-04-12 10:09:07 +08:00
Chi-Hsuan Huang
0dcea11bf0
Merge pull request #32531 from Saggre/fix/table-card-docs
...
Fix TableCard component docs
2022-04-12 08:59:43 +08:00
moon
becc53d645
Make sure paymentGatewaySuggestions is defined
2022-04-11 09:55:18 -07:00
moon
5b31f5acf4
Do not show payment recommendations if store owner is in a country where WC Payment is supported
2022-04-11 07:34:07 -07:00
RJChow
464bcb7783
Changed unminify plugin to hook into step before optimization
2022-04-11 21:54:48 +08:00
Lourens Schep
8eb03eba46
Remove commented out code
2022-04-11 10:19:30 -03:00
Lourens Schep
5251aa6e97
Fix lint issue
2022-04-11 10:18:17 -03:00
Lourens Schep
c3b1352f90
Make sure activity header does not show when displaying task list with progressive header
2022-04-11 10:18:14 -03:00
Lourens Schep
10e9c6c5f9
Fix experiment UI issues
2022-04-11 10:16:44 -03:00
Joshua T Flowers
700633957c
Update progress header bar styles in task list ( #32498 )
...
* Update progress header bar styles in task list
* Remove units on margin
* Add changelog entry
2022-04-11 08:08:28 -04:00
Ilyas Foo
1f77200e70
Add missing track prop
2022-04-11 15:57:26 +08:00
Ilyas Foo
c8b6bd91e0
Update payment gateway logos
2022-04-11 14:24:08 +08:00
Ilyas Foo
90c61e4bad
Revert WCPay suggestion UI changes
2022-04-11 11:55:05 +08:00
Ilyas Foo
829b4c4480
Merge remote-tracking branch 'origin/trunk' into dev/32131-ui-changes-additional-payment-section
2022-04-11 09:42:23 +08:00
louwie17
f7937593e9
Merge pull request #32473 from woocommerce/feature/32164_new_task_list_loading_placeholder
...
New task list loading placeholder for experiment 1
2022-04-08 09:55:45 -03:00
Fernando
61e0a51854
Merge pull request #32506 from woocommerce/fix/hidden_wcpay_task
...
WCPayments task is not visible after installing the plugin
2022-04-08 09:05:21 -03:00
Sakri Koskimies
b6310900de
Fix TableCard component docs
2022-04-08 11:21:53 +03:00
Chi-Hsuan Huang
f3e460f055
Remove i18 commands and their dependencies
...
i18 routines have been handled inside plugins/woocommerce.
2022-04-08 12:45:34 +08:00
Chi-Hsuan Huang
870d523455
Reorder woocommerce admin package.json scripts
2022-04-08 12:38:17 +08:00
Chi-Hsuan Huang
a649fe6ae2
Remove no needed commands and fields in package.json
2022-04-08 12:36:26 +08:00
Chi-Hsuan Huang
ba17630dca
Merge pull request #32515 from woocommerce/update/32296-wordpress-dependencies
...
Update @wordpress/* dependencies
2022-04-08 10:08:48 +08:00
Chi-Hsuan Huang
dc243bd34c
Merge pull request #32411 from woocommerce/fix/32399-husky
...
Fix husky git hooks
2022-04-08 10:08:27 +08:00
Christopher Allford
1e3a3d8af5
Merge pull request #32500 from woocommerce/fix/feature-config-file-location
...
Move feature flag config files to Woocommerce plugin
2022-04-07 12:49:03 -07:00
Chi-Hsuan Huang
3fc88f0a71
Update links of woocommerce-admin to https://github.com/woocommerce/woocommerce
2022-04-07 17:02:43 +08:00
Chi-Hsuan Huang
826d9ad59f
Merge pull request #32489 from woocommerce/update/simpliy-init-routine
...
Simplify the WooCommerce Admin init routine
2022-04-07 16:01:16 +08:00
Chi-Hsuan Huang
3443387045
Update @wordpress/icons from ^6.3.0 to ^8.1.0
2022-04-07 14:24:19 +08:00
Chi-Hsuan Huang
317dd7c9e9
Update @wordpress/base-styles from ^3.6.0 to ^4.3.0
2022-04-07 14:21:33 +08:00
Chi-Hsuan Huang
c60db1215e
Update @wordpress/hooks from ^2.12.3 to ^3.5.0
2022-04-07 14:18:13 +08:00
Chi-Hsuan Huang
70359c8d11
Update @wordpress/a11y from ^2.15.3 to ^3.5.0
2022-04-07 14:16:46 +08:00
Fernando Marichal
fcc7143207
Add alreadyActivatedExtensions to persisted business extensions
2022-04-06 14:01:36 -03:00
Ilyas Foo
f82b5d78f1
Fix css and test
2022-04-06 21:31:50 +08:00
Chi-Hsuan Huang
2b1f54b09d
Set up lint-staged configuration for each package
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang
01edee8d90
Remove lint-staged.config.js
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang
a4ece1b7b9
Remove husky lint-staged from plugins/*
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang
ae44908f33
Move .husky to root path
...
Add .husky
2022-04-06 17:31:32 +08:00
Ilyas Foo
ffdf1e6c02
More adjustments
2022-04-06 16:25:33 +08:00
Ilyas Foo
3050cacc39
Minor adjustments
2022-04-06 16:25:33 +08:00
Ilyas Foo
1980fac6fd
Revamp WCPay suggestion in payments task
2022-04-06 16:25:32 +08:00
Ilyas Foo
c596222069
Refactor tests
2022-04-06 16:25:32 +08:00
Ilyas Foo
5ff23bf103
Add tracks and small refactor to toggle
2022-04-06 16:25:32 +08:00
Ilyas Foo
0f554436da
Broke wcpay task to different sections, added toggle component, added other payment methods toggle
2022-04-06 16:25:32 +08:00
Ilyas Foo
a3bd1e5109
Add see more button
2022-04-06 16:25:32 +08:00
Ilyas Foo
fb89df5f2c
Rename set up button to get started
2022-04-06 16:25:32 +08:00
Ilyas Foo
fd4a4a5604
Add is_offline flag and split payment sections
2022-04-06 16:25:31 +08:00
Chi-Hsuan Huang
0c366289e0
Remove woocommerce-admin.php from tests
2022-04-06 10:27:53 +08:00
Chi-Hsuan Huang
bf91c3cca0
Change mainFile in Gruntfile.js
2022-04-06 10:27:53 +08:00
Chi-Hsuan Huang
9969f60fd3
Remove uninstall.php & woocommerce-admin.php
2022-04-06 10:27:53 +08:00
Paul Sealock
407b225133
Move feature flag config files to Woocommerce plugin to support unit test execution in the wp-env environment.
2022-04-06 14:12:24 +12:00
Chi-Hsuan Huang
277b1acdf5
Downgrade chalk to v4
2022-04-05 14:45:13 +08:00
Lourens Schep
e4803ef40f
Fix tests
2022-04-04 16:43:15 -03:00
Lourens Schep
217bec8942
Fix lint errors
2022-04-04 15:58:50 -03:00
Lourens Schep
4d6aab73df
Add placeholder for task list experiment one
2022-04-04 15:38:27 -03:00
Lourens Schep
885516f302
Slight improvements for loading of the task list
2022-04-04 11:54:34 -03:00
RJChow
6e8d620f00
Copied and modified package-update-textdomain.js script for modifying PHP i18n textdomain
2022-04-01 11:41:32 +08:00
RJChow
26ec889111
Manually change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client .md files
2022-04-01 11:41:32 +08:00
RJChow
1ba60ee69d
Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client
2022-04-01 11:41:32 +08:00
Lourens Schep
775e7117a1
Add build-watch to most js packages and remove packages watch from woocommerce-admin command
2022-03-30 11:46:12 -03:00
Chi-Hsuan Huang
54bfa1e77c
Merge pull request #32378 from woocommerce/remove/32360-unnecessary-wca-files
...
Remove unnecessary wooCommerce admin files
2022-03-30 14:26:10 +08:00
Chi-Hsuan Huang
0be52342b7
Merge pull request #32372 from woocommerce/add/test-lint-js-action
...
Add lint-test JS Github action
2022-03-30 10:23:50 +08:00
Moon
c13d126f11
Merge pull request #32390 from woocommerce/update/32177-deprecate-wc-admin-version-number
...
Deprecate WC_ADMIN_VERSION_NUMBER constant
2022-03-29 13:59:04 -07:00
Fernando
bd0397285b
Merge pull request #32331 from woocommerce/update/32157_disable_welcome_modals
...
Experiment: disable welcome modal
2022-03-29 11:46:24 -03:00
Chi-Hsuan Huang
4b21e1d913
Remove .vscode since it has been removed to root
2022-03-29 17:48:25 +08:00
Chi-Hsuan Huang
ed8c114bdd
Add back woocommerce-admin.php uninstall.php
2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang
4c976ebd17
Remove unnecessary wooCommerce admin files
...
Add back languages/README.md
2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang
386d173105
Update storybook webpack config to build stories
2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang
0cc5c6d515
Add expose-loader for storybook webpack config
2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang
b658920898
Fix storybook packages paths
2022-03-29 16:45:39 +08:00
Chi-Hsuan Huang
71350b4e8b
Change script lint:js:packages to lint:js-packages
2022-03-29 16:38:26 +08:00
Chi-Hsuan Huang
ecff6cd680
Remove lint-test-js.yml
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
f2a6f93684
Update wca test command and ignore api-core-test
...
Update test:packages cmd
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
4baad1a6e3
Add pr-lint-test-js.yml and remove package-js-api.yml, js_lint_test.sh
2022-03-29 16:38:06 +08:00
RJChow
e9eac24793
tsconfig modifications
...
- moved and updated .vscode/tasks.json up to root level, and add exclusion to .gitignore
- added --pretty to ts:check in wca package.json (because otherwise there's no syntax highlighting in the output, not sure why this is needed with nx and not without)
- added references to root tsconfig.base.json
- update development.md with instructions for ts checking
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang
99e6f61dc8
Update woocommerce-admin/.eslintrc.js
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang
df5b506b97
Add lint command to js packages
...
Update lint js commands
Update customer-effort-score/package.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang
8b2a97d405
Add lint cmd to project.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang
4592d49cfb
Fix tsconfig path
2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang
b9eeb4991e
Fix reminder-bar.scss lint error
2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang
3e8c3be69d
Ignore core js packages from woo admin's eslint
2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang
2c5c7549b5
Fix client lint errors
2022-03-29 16:06:33 +08:00
Chi-Hsuan Huang
4ca1ae0032
Fix paths in tsconfig
2022-03-29 16:06:32 +08:00
moon
f2b03feb24
Update version
2022-03-28 18:14:26 -07:00
moon
d915587f5d
Update version
2022-03-28 17:55:07 -07:00
Christopher Allford
14e852b4b2
Merge WooCommerce Admin Unit Tests ( #32287 )
...
This folds the unit tests from WooCommerce Admin into the core test suite, enabling them to run.
2022-03-28 12:53:33 -07:00
louwie17
2215c9ab3e
Merge pull request #32347 from woocommerce/add-dev-scripts
...
Add build-watch command for woocommerce-admin
2022-03-28 08:55:57 -03:00
Lourens Schep
8508a46f31
Update watch command so there are no conflicts between build commands
2022-03-25 10:04:02 -03:00
Chi-Hsuan Huang
b43d66f862
Merge pull request #32356 from woocommerce/remove/32352-admin-github-files
...
Remove unnecessary admin `.github` files
2022-03-25 18:24:55 +08:00
Chi-Hsuan Huang
554fc86441
Merge pull request #32322 from woocommerce/fix/lint_js-fix
...
Fix paths and argument forwarding for `script lint:js-fix`
2022-03-25 15:01:10 +08:00
Chi-Hsuan Huang
73cb00907b
Remove unnecessary admin .github files
2022-03-25 14:26:37 +08:00
Chi-Hsuan Huang
1295c5052d
Merge pull request #32343 from woocommerce/update/admin-node-version
...
Update woocommerce admin node version to v16
2022-03-25 13:31:38 +08:00
Lourens Schep
3ebf785665
Fix progress title logic
2022-03-24 15:25:07 -03:00
Lourens Schep
3ced44cc40
Fix task navigation that contains actionUrl
2022-03-24 15:25:07 -03:00
Lourens Schep
c934c62351
Address PR feedback and fix some minor issues
2022-03-24 15:25:06 -03:00
Lourens Schep
569e27bf02
Add changelog
2022-03-24 15:25:06 -03:00
Lourens Schep
c281ddb820
Add progress header bar to task list experiment
2022-03-24 15:25:06 -03:00
Lourens Schep
9a6c077b69
Add build-watch command for woocommerce-admin
2022-03-24 15:09:15 -03:00
Chi-Hsuan Huang
096759862f
Update woo admin node version to ^16
2022-03-24 16:33:53 +08:00
louwie17
eb081aa9fa
Merge pull request #32320 from woocommerce/add/32161_reminder_bar
...
Add reminder bar for task list experiment
2022-03-23 17:12:05 -03:00
Lourens Schep
44d9824d47
Fix error when tasks are not defined yet
2022-03-23 14:05:25 -03:00
Lourens Schep
371ce71173
Update completed tasks variable
2022-03-23 13:57:48 -03:00
Fernando Marichal
f276434ea4
Disable welcome modals
2022-03-23 09:11:34 -03:00
Chi-Hsuan Huang
e3d035a624
Merge pull request #32291 from woocommerce/add/32138-ability-for-code-based-notes-to-update
...
Add ability for code-based notes to update
2022-03-23 17:08:15 +08:00
RJ
04d94d0430
Merge pull request #32327 from woocommerce/dev/publish-wca-packages
...
Corrected path for publishing commands
2022-03-23 16:07:19 +08:00
rjchow
2d8214af2e
Corrected path for publishing commands
...
- typo in the path in previous commit
2022-03-23 13:30:11 +08:00
RJ
fc163b6dc9
Merge pull request #32313 from woocommerce/dev/publish-wca-packages
...
Bump WCA JS packages version numbers in package.json and changelogs
2022-03-23 11:18:04 +08:00
Tomek Wytrębowicz
a67188b52e
Fix argument forwarding for npm script lint:js-fix.
...
Redo 7d1a6661f9
.
2022-03-22 16:36:17 +01:00
Tomek Wytrębowicz
4714289838
Fix `packages/` path for npm script `lint:js`.
2022-03-22 16:35:12 +01:00
Lourens Schep
fdbc2190c0
Update changelog
2022-03-22 12:32:32 -03:00
Lourens Schep
25d6b6d528
Add reminder bar for task list experiment
2022-03-22 12:28:58 -03:00
Chi-Hsuan Huang
c9e9465802
Update indent
2022-03-22 16:13:22 +08:00
Chi-Hsuan Huang
b7cee3e867
Add tests for update_note_field_if_changed method
2022-03-22 16:09:01 +08:00
rjchow
3c0cc02104
Updated WCA package publishing commands
...
- Updated path for packages
2022-03-22 16:07:36 +08:00
Chi-Hsuan Huang
1fcdc5b6a2
Update wc admin test command
2022-03-22 11:24:59 +08:00
Chi-Hsuan Huang
3dc5f95254
Update test mocks
...
Fix lint
2022-03-22 11:24:58 +08:00
Chi-Hsuan Huang
8ce25e6b1b
Change @wordpress/data from devDependencies to peerDependencies
...
When @wordpress/data is included in devDependencies, all tests mocked @wordpress/data fails
2022-03-21 18:28:56 +08:00
Chi-Hsuan Huang
24595bd2cb
Fix jest config paths
2022-03-21 18:28:05 +08:00
Chi-Hsuan Huang
ffef8df540
Update possibly_update_note() to update other attributes
2022-03-21 12:03:29 +08: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
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
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
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
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
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
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
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
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
Joshua T Flowers
611903ef5d
Separate onboarding concerns into separate classes ( https://github.com/woocommerce/woocommerce-admin/pull/8280 )
...
* Separate onboarding concerns into separate classes
* Fix up onboarding product types
* Fix up references to profile data option
* Fix up call to allowed themes
* Move onboarding features to internal namespace
* Remove old onboarding redirect
* Fix failing tests
* Add changelog entry
* Move inernal classes to the new src-internal folder
* Fix lint error
* Add deprecated class for Onboarding
* Add empty construct method
* Remove some of the unnecessary static functions and make sure OnboardingTasks still gets initialized
* Fix missed changes during rebase
* Fix tests
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-03-17 17:10:43 -03:00
Tomek Wytrębowicz
ae89e6ae20
Suppress `lint:js` warnings in CI and GitHub PRs ( https://github.com/woocommerce/woocommerce-admin/pull/8020 )
...
- Add returned type annotations to `packages/admin-e2e-tests/src/elements/*.ts` and `packages/admin-e2e-tests/src/*.ts`.
- Remove unused vars from `packages/admin-e2e-tests/src/*.ts`.
- Simplify `unknown` type union.
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-03-17 12:13:37 +01:00
Chi-Hsuan Huang
6d139e063d
Fix industry tab not clickable after going back ( https://github.com/woocommerce/woocommerce-admin/pull/8469 )
...
* Fix industry tab not clickable after going back
* Add changelog
* Add e2e test for testing industry tab going back
* Add changelog
* Add navigate to fix the test
2022-03-17 17:39:50 +08:00
renovate[bot]
8e6d8c829e
Update dependency @automattic/explat-client-react-helpers to ^0.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/8471 )
...
* Update dependency @automattic/explat-client-react-helpers to ^0.0.4
* Reverted patch for building @automattic/explat-client-react-helpers
* Updated pnpm-lock.yaml
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rjchow <me@rjchow.com>
2022-03-17 11:15:12 +08:00
Moon
2ea4d92c30
Translate dates in NewSalesRecord note ( https://github.com/woocommerce/woocommerce-admin/pull/8426 )
...
* Translate dates
* Add changelog
* Add test
* Fix broken tests
2022-03-16 14:03:43 -07:00
louwie17
b2e83899b3
Add/8269 rest api docs ( https://github.com/woocommerce/woocommerce-admin/pull/8429 )
...
* Internalize all WooCommerce Admin main API controllers
* Internalize all report and report stat controllers
* Make function public and label as internal to fix PHP unit tests
* Add changelog
2022-03-16 14:46:48 -03:00
renovate[bot]
3f3f25f4b7
Update dependency mariadb to v10.8.2 ( https://github.com/woocommerce/woocommerce-admin/pull/8473 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 11:15:01 +08:00
Chi-Hsuan Huang
a9fe13e80b
Add capability for ExPlat integration to authenticate WPCOM users ( https://github.com/woocommerce/woocommerce-admin/pull/8428 )
...
* Add @wordpress/api-fetch to explat/package.json
* Export auth exPlat utils
* Support request assignment as wpcom user
* Add experiments proxy api for js
* Update error response
* Add changelog
* Update pnpm-lock.yaml
* Change error type
* Update explat/README.md
* Update includes/class-experimental-abtest.php
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Fix get explat /assignments
* Fix url & add comment to assignment.ts
* Fix cors issue
* Fix php test
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-03-16 11:03:10 +08:00
Renovate Bot
84a7c24599
Update dependency jest-environment-jsdom to ~27.5.0
2022-03-16 02:58:10 +00:00
Jacob Sewell
463394f3db
Create lookup_notes method to bypass woocommerce_note_where_clauses filter. ( https://github.com/woocommerce/woocommerce-admin/pull/8387 )
...
* Add args_to_where_clauses() and lookup_notes() methods to Admin\Notes\DataStore.
For use by internal code to bypass woocommerce_note_where_clauses filter.
* Changelog for 8385/8387.
* Add some linter whitelist notation to preexisting warnings in class-wc-test-notes-data-store.
* Add unit tests for the differences between lookup_notes() and get_notes().
* Minor text fix in changelog for 8385/8387.
* Better explanation in pagination tests in test_lookup_notes_versus_get_notes().
* All Notes created by WC_Tests_Notes_Data_Store should have source and name values.
* Add tearDown method to WC_Tests_Notes_Data_Store to delete test-created Notes.
2022-03-15 14:24:09 -05:00
louwie17
f37af20b5f
New task list version 1 ( https://github.com/woocommerce/woocommerce-admin/pull/8457 )
...
* Allow for easy task component switch
* Add past tense feature addition with cross out
* Add visible option for task lists and make use of new feature config
* Fix lint errors
* Fix lint errors
* Fix css lint
* Fix js unit tests
* Address PR feedback
* Add js tests for task list changes
* Add php tests for updated logic
* Add changelog
* Update copy
* Make snooze test a little more robust
2022-03-15 14:40:22 -03:00
Fernando
9a704ad1e2
Remove class `ExtendedPayments`. ( https://github.com/woocommerce/woocommerce-admin/pull/8461 )
...
* Removed class `ExtendedPayments`
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-15 09:10:40 -03:00
Chi-Hsuan Huang
eb2777f344
Update @types/wordpress__notices ( https://github.com/woocommerce/woocommerce-admin/pull/8464 )
2022-03-15 17:35:18 +08:00
Chi-Hsuan Huang
7514af2801
Update `@woocommerce/date` documentation ( https://github.com/woocommerce/woocommerce-admin/pull/8465 )
...
* Update packages/date README.md
* Update headings
2022-03-15 17:34:33 +08:00
Moon
b2d32e9e72
Add required dependencies for pnpm nx build {package} command ( https://github.com/woocommerce/woocommerce-admin/pull/8436 )
...
* Add required dependencies for pnpm nx install {package} command
* Update pnpm lock file
* Add missing deps for packages/*
* Change to use relative imports for packages/components
* Move ts from deps to devDeps
* Add rimraf to packages/* devDependencies for clean command
* Add webpack cli to packages dependencies
* Add jest-cli to packages devDependencies
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-03-14 20:04:46 -07:00
Moon
8232b226f7
Use constant to construct image URLs ( https://github.com/woocommerce/woocommerce-admin/pull/8451 )
...
* Add WC_ADMIN_IMAGES_FOLDER constant
* Use WC_ADMIN_IMAGES_FOLDER to construct image URL
* Rename WC_ADMIN_IMAGES_FOLDER to WC_ADMIN_IMAGES_FOLDER_URL
* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs
* Move wcpay-banner.png to client dir
* Move wcpay-banner.png to client dir
* Use WC_ADMIN_IMAGES_FOLDER_URL for wcAdminAssetUrl
* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs
* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs
* Revert to images
* Add / to the path
2022-03-14 15:01:03 -07:00
Matt Sherman
1ccb11c0f6
Experimental: Add filters to allow simple products to be included in Variations analytics report ( https://github.com/woocommerce/woocommerce-admin/pull/8462 )
2022-03-14 17:06:05 -04:00
louwie17
8d4471fce4
Fix paid themes ( https://github.com/woocommerce/woocommerce-admin/pull/8412 )
...
* Add support for paid themes
* Fix lint errors
* Add changelog
* Refactor get_products logic and add unit tests
* Add comment
2022-03-14 17:31:03 -03:00
Joel Thiessen
8465c10917
Display WCPay task when installed via subscriptions option on profiler ( https://github.com/woocommerce/woocommerce-admin/pull/8445 )
2022-03-14 12:44:55 -07:00
Chi-Hsuan Huang
4ec162bab0
Add ":preserveSemverRanges" to renovate.json ( https://github.com/woocommerce/woocommerce-admin/pull/8466 )
2022-03-14 17:18:04 +08:00
Chi-Hsuan Huang
d797b658c6
Add `moment-timezone` to `@woocommerce/components` package.json ( https://github.com/woocommerce/woocommerce-admin/pull/8458 )
...
* Add moment-timezone to package.json
* Add changelog
2022-03-14 17:07:21 +08:00
Fernando
b11bae047a
Removed not used `OnboardingEmailMarketing` ( https://github.com/woocommerce/woocommerce-admin/pull/8446 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-11 10:43:40 -03:00
Jacob Sewell
2a7df822b3
Avoid get_notes() in Notes::possibly_delete_survey_notes() ( https://github.com/woocommerce/woocommerce-admin/pull/8206 )
...
* Query for admin survey note_ids directly in Notes::possibly_delete_survey_notes().
* Add get_notes_with_type( $note_type ) method to Automattic\WooCommerce\Admin\Notes.
Name selected for consistency with preexisting get_notes_with_name( $name ) method.
* Use new get_notes_with_type() in Notes::possibly_delete_marketing_notes().
* Use new get_notes_with_type() in Notes::possibly_delete_survey_notes().
* Correct copy-pasta error querying for MARKETING notes instead of SURVEY notes in possibly_delete_survey_notes().
* Only delete actioned notes in possibly_delete_survey_notes(), which was the previous behavior.
* Changed get_notes_with_type() to get_note_ids_by_type() in Notes data store.
* Changelog for 7987/8206.
* Add missing method name in changelog for 7987/8206.
2022-03-10 18:57:29 -06:00
Chi-Hsuan Huang
7c8c0ee893
Fix failing `test_cancel_import` and `WC_Tests_API_Reports_Variations` php tests ( https://github.com/woocommerce/woocommerce-admin/pull/8456 )
...
* Assert the pending action explicitly to fix failing test_cancel_import with latest woo
* Use function lambda
* Fix WC_Tests_API_Reports_Variations by assigning parent_id to variations
2022-03-11 06:39:59 +08:00
Chi-Hsuan Huang
03c428969c
Fix possibly_update_note get_content() on null ( https://github.com/woocommerce/woocommerce-admin/pull/8455 )
2022-03-11 06:39:45 +08:00
berislav grgičak
a2a53ab6c2
Fix legend item width ( https://github.com/woocommerce/woocommerce-admin/pull/8442 )
...
* Fix legend item width
* Add testing instructions
* Add changelog entry
* Fix changelog
* Add changelog
2022-03-10 15:09:45 +01:00
louwie17
7bba8dcdee
Rename Settings.php to more specific name and create new Settings.php class to handle WooCommerce Admin settings ( https://github.com/woocommerce/woocommerce-admin/pull/8443 )
2022-03-10 09:42:55 -04:00
Joel Thiessen
db258aeb10
Fixing home item appearing in extensions menu on Woo Navigation ( https://github.com/woocommerce/woocommerce-admin/pull/8432 )
2022-03-09 08:07:29 -08:00
louwie17
c65d43a35e
Cleanup Loader.php and move it to Internal namespace ( https://github.com/woocommerce/woocommerce-admin/pull/8416 )
...
* Seperated Asset, page, and translation logic into seperate classes out of Loader.php
* Move user, and assets logic out of Loader.php
* Move Loader to Internal and move page helper functions to PageController
* Fix unit tests
* Add changelog
2022-03-09 10:04:34 -04:00
renovate[bot]
eeaafb911a
Update dependency @woocommerce/e2e-environment to ^0.2.3 || ^0.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8438 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:34:45 +08:00
renovate[bot]
17ef9c0533
Update actions/setup-node action to v2.5.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8437 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:02:52 +08:00
renovate[bot]
2d706ebbd0
Update saulmaldonado/skip-workflow action to v1.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8435 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:02:30 +08:00
Fernando
f5316d02af
Make individual note classes internal ( https://github.com/woocommerce/woocommerce-admin/pull/8398 )
...
* Moved `WooSubscriptionsNotes`
* Moved `WooSubscriptionsNotes` deprecated
* Moved `WooCommerceSubscriptions`
* Moved `WooCommercePayments`
* Fix `WooCommerceSubscriptions`
* Fix `WooSubscriptionsNotes
* Fix `WooCommercePayments`
* Moved `WelcomeToWooCommerceForStoreUsers
* Add use `Note`
* Moved `UpdateStoreDetails`
* Moved `UnsecuredReportFiles`
* Moved `TrackingOptIn`
* Moved `TestCheckout`
* Moved `SetUpAdditionalPaymentTypes`
* Moved `SellingOnlineCourses`
* Moved `RealTimeOrderAlerts`
* Moved `PersonalizeStore`
* Moved `PerformanceOnMobile`
* Moved `PaymentsRemindMeLater`
* Moved `OrderMilestones`
* Moved `OnlineClothingStore`
* Moved `OnboardingPayments
* Moved `NewSalesRecord`
* Moved `NavigationNudge`
* Moved `NavigationNudge`
* Moved `MobileApp`
* Moved `MigrateFromShopify`
* Moved `MarketingJetpack`
* Moved `ManageStoreActivityFromHomeScreen`
* Moved `ManageOrdersOnTheGo`
* Moved `MagentoMigration`
* Moved `LaunchChecklist`
* Moved `InstallJPAndWCSPlugins`
* Moved `InsightFirstSale`
* Moved `InsightFirstProductAndPayment`
* Moved `GivingFeedbackNotes`
* Moved `FirstProduct`
* Moved `FirstDownlaodableProduct`
* Moved `EUVATNumber`
* Moved `EditProductsOnTheMove`
* Moved `DeactivatePlugin`
* Moved `CustomizingProductCatalog`
* Moved `CustomizeStoreWithBlocks`
* Moved `CouponPageMoved`
* Moved `CompleteStoreDetails`
* Moved `ChoosingTheme`
* Moved `AddingAndManangingProducts`
* Moved `AddFirstProduct`
* Removed `OnboardingTraits` trait
* Moved `EmailNotification`
* Fixed notes
* Add changelog
* Fix lint error
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-08 10:55:27 -03:00
Chi-Hsuan Huang
1335fe4a1a
Fix long notes are not replaced with shorter notes ( https://github.com/woocommerce/woocommerce-admin/pull/8401 )
...
* Add possibly_update_note to replace long notes with shorter notes
* Add changelog
* Refactor possibly_update_note
2022-03-08 12:07:14 +08:00
Moon
86b94e64c3
Run woocommerce_admin_updated as a scheduled action ( https://github.com/woocommerce/woocommerce-admin/pull/8423 )
...
* run woocommerce_admin_updated as a scheduled action
* Rename the action
2022-03-07 18:26:09 -08:00
Chi-Hsuan Huang
9aba93d127
Update all js packages with minor/patch version changes ( https://github.com/woocommerce/woocommerce-admin/pull/8392 )
...
* Update all js packages with minor/patch version changes
* Add changelog
* Fix packages/data types errors
* Update data/CHANGELOG.md
* Fix puppeteer version
* Fix packages/data > countries error types
* Make data key optional in RestApiError
2022-03-08 10:11:12 +08:00
Moon
1860aeba28
Use update_option instead of delete_option + add_option ( https://github.com/woocommerce/woocommerce-admin/pull/8421 )
2022-03-07 17:58:51 -08:00
Joshua T Flowers
834307e155
Merge payment gateway suggestion classes into single source of truth ( https://github.com/woocommerce/woocommerce-admin/pull/8252 )
...
* Rename route to payment gateway suggestions
* Create separate payment gateway suggestions controller
* Move payment gateway logic into feature class
* Merge payment gateway information into single source of truth
* Filter out WCPay client-side
* Fix up frontend
* Redirect to payment settings page on install
* Add test around showing installed gateways
* Remove check for marketplace suggestions at the endpoint level
* Fix up payment gateway conflicts after rebase
* Handle PR feedback
* Optimistically dismiss the payment gateway suggestions
* Add changelog entry
* Add square_image support for new API param
* Fixed lint error
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-03-07 09:15:06 -04:00
Chi-Hsuan Huang
ac660167a0
Reintroduce emphasis on inbox note action button ( https://github.com/woocommerce/woocommerce-admin/pull/8411 )
...
* Reintroduce emphasis on inbox note action button
* Add changelog
* Remove actioned note gray color style
2022-03-07 17:14:49 +08:00
Chi-Hsuan Huang
be7e73d484
Use integers for add_menu_page priority ( https://github.com/woocommerce/woocommerce-admin/pull/8399 )
...
* Use integers for menu page priority
In wordpress >= 6.0, the seventh parameter passed to add_menu_page() should be an integer representing menu position.
* Add changelog
* Fix Analytics & WcPayWelcomePage menu positions
2022-03-07 17:12:24 +08:00
Chi-Hsuan Huang
6c474ed5cb
Fix "docs" command ( https://github.com/woocommerce/woocommerce-admin/pull/8410 )
2022-03-07 13:39:48 +08:00
Chi-Hsuan Huang
3dff2fe11e
Fix inbox letters truncator to support multi characters ( https://github.com/woocommerce/woocommerce-admin/pull/8404 )
...
* Install grapheme-splitter
* Support multi-characters Unicode letters for inbox html truncator
* Fix truncateRenderableHTML length compare
* Change note to immutable
* Add changelog
* Use hasChildNodes() to check if we should call truncateElement
* Add tests for truncate()
2022-03-07 12:09:26 +08:00
Chi-Hsuan Huang
86fc8b62e5
Switch to pnpm ( https://github.com/woocommerce/woocommerce-admin/pull/8349 )
...
* Add pnpm-workspace.yaml
* Add missing dependencies & replace file: with workspace:* in
package.json
* Replace "npm" with "pnpm"
* Replace "npx" with "pnpx"
* Remove package-lock.json
* Add pnpm setup action to github workflows
* Update webpack babel exclude path
* Upgrade woo e2e and fix e2e test command
Update e2e.yml
Use pnpm run e2e:docker-up in e2e.yml
* Remove unused docker-compose.yaml
* Replace lerna with pnpm commands
Update publish commands
* Exclude _locutus_shared_bc.js in babel.config.js
* Add .npmrc to set enable-pre-post-scripts=true by default
* Fix storybook babel config
Update babel.config.js
* Add changelog
* Update pnpm-lock.yaml
* Replace pnpx with pnpm exec
* Update pnpm-lock.yaml
* Remove js-tests/package-lock.json
* Fix @woocommerce/tracks -> workspace:*
* Update pnpm-lock.yaml
* Add @woocommerce/experimental to onboarding/package.json
* Add "@woocommerce/component" to onboarding/package.json
* Update pnpm-lock.yaml
* Use || instead of && for "test:watch"
Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
* Fix packages/number "clean" command
* Add root: true to .eslintrc.js to enforce it to use the root config file
* Exclude packages/**/node_modules from babel transpiling
* Fix js-tests build config
Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2022-03-04 12:01:16 +08:00
Fernando
336645332b
Updating all versions ( https://github.com/woocommerce/woocommerce-admin/pull/8395 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-03 09:41:01 -03:00
Fernando
162a70494f
Fix `pre-release` script ( https://github.com/woocommerce/woocommerce-admin/pull/8396 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-03 09:40:41 -03:00
Francesco
1ace2bbf1e
add: `@woocommerce/block-data` in Webpack deps extraction ( https://github.com/woocommerce/woocommerce-admin/pull/7911 )
2022-03-02 10:31:30 -06:00
Moon
5d55b9b625
Redirect customers back to the payment task after enabling an offline gateway ( https://github.com/woocommerce/woocommerce-admin/pull/8389 )
...
* Redirect customers back to the payment task page after enabling an offline payment
* Add changelog
* Make hasPlugins property boolean
* Remove unnecessary type checking
* Fix the comparison logic
2022-03-01 17:45:44 -08:00
RJ
d2205a6faf
Stop showing actioned inbox items ( https://github.com/woocommerce/woocommerce-admin/pull/8394 )
...
* Stop showing actioned inbox items
- revert of https://github.com/woocommerce/woocommerce-admin/pull/7983/
* Trigger rerun of CI
2022-03-01 21:08:29 +08:00
louwie17
b871cbf09b
Fix/8251 woocommerce payments task list logic ( https://github.com/woocommerce/woocommerce-admin/pull/8332 )
...
* Allow the support of multiple task lists with overlapping tasks
* Add filter by task ids
* Revert getTaskListById call
* Fix notices
* Move prefix event to task and task list classes instead
* Fix track events and extended task list
* Fix php unit tests
* Remove the seperate task list classes as this was unnecessary.
* Fix tests
* Remove unneeded allowed-tasks
* Change onboarding task list redux store structure
* Add extra id for handling hidden param for experimental task lists
* Fix lint errors
* Fix forgotten change
* Add changelog
2022-03-01 08:34:18 -04:00
louwie17
212d1c6e96
Remove the use of preloaded countries ( https://github.com/woocommerce/woocommerce-admin/pull/8380 )
...
* Remove the use of preloaded countries and make use of country data store instead
* Fix shipping task
* Add changelog
* Fix lint errors
2022-03-01 08:33:41 -04:00
Adrian Duffell
f43e4caf4b
Fix view logic for Setup additional payment providers task ( https://github.com/woocommerce/woocommerce-admin/pull/8391 )
2022-03-01 17:06:20 +08:00
RJ
f306cc2ba5
Enable Typescript checking on ./client folder ( https://github.com/woocommerce/woocommerce-admin/pull/8372 )
...
* Copied .tsconfig into ./client to enable ts checking
- Made sub-repos composite typescript packages where necessary
* Prevent tsc from transpiling ./client
- we use webpack for transpiling so no need for this
* Added tsc resolution path for @automattic/explat-client
- Seems like there's a type export issue (?) with @automattic/explat-client and @automattic/explat-client-react-helpers
- adding the node_modules/@automattic/explat-client path in tsconfig seems to help TS resolve this using the source .ts files
- found answer here: https://github.com/microsoft/TypeScript/issues/42873
- should figure out what's actually wrong with the type exports and fix that there instead
* Removed mandatory checking from webpack
- removed this for now as it will block all development until all type inconsistencies are fixed
- for now, run the optional ts:check task either in console or vscode for highlighting type errors
* Added vscode tasks for typescript checking
* Patch @automattic/explat-client-react-helpers
- this changes the installed code in node_modules (post-installation) for @automattic/explat-client-react-helpers so that it exports the necessary type interfaces required by us
- attempted unsuccessfully to override type exports using declare module
- not too sure how to fix this internally by other means
- have to investigate what fixes to propose to @automattic/explat-client-react-helpers team
* changed tests in ./client to use ts-jest instead of babel-jest
- rewrote jest config to use ts-jest instead of babel-jest
- set ts errors to warnings instead so that tests don't fail on type errors
- created new tsconfig for ./packages/js-tests so that build and ts-check are separate, as js-tests need to be built for commonjs
2022-03-01 12:19:07 +08:00
louwie17
1c6b18c05a
Remove unused data endpoints param ( https://github.com/woocommerce/woocommerce-admin/pull/8379 )
...
* Remove unused data endpoints param
* Add changelog
2022-02-28 18:51:14 -04:00
Moon
3e672d7664
Redirect to the WC Pay onboarding when WC Pay is installed ( https://github.com/woocommerce/woocommerce-admin/pull/8367 )
...
* Redirect to the connect page when WC Pay is installed
* Add comment
2022-02-28 11:40:45 -08:00
Moon
a2dfbffe89
Remove inbox_action_click event -- this is called from backend by triggerNoteAction ( https://github.com/woocommerce/woocommerce-admin/pull/8376 )
2022-02-28 11:40:35 -08:00
Moon
01e5cbdd7f
Only run the version check for an admin request ( https://github.com/woocommerce/woocommerce-admin/pull/8384 )
2022-02-27 19:42:48 -08:00
Fernando
77fb10c53e
OBW: fix copy on Business Details when "WooCommerce Shipping" is not listed ( https://github.com/woocommerce/woocommerce-admin/pull/8324 )
...
* Fix wc-shipping copy
* Fix method `createInstallExtensionOptions`
* Fix tests
* Add changelog
* Add WCTax logic
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-02-25 18:26:44 -03:00
louwie17
84e6a1e317
Add missing dependency to onboarding package ( https://github.com/woocommerce/woocommerce-admin/pull/8378 )
...
* Add missing dependency
* Add changelog
2022-02-25 08:44:07 -04:00
louwie17
02d7973b55
Update WooCommerce Payment note action callback logic ( https://github.com/woocommerce/woocommerce-admin/pull/8366 )
...
* Update WooCommerce Payment note action callback logic
* Fix lint errors
2022-02-25 08:43:59 -04:00
Jaclyn Chen
cb9e6b34df
Fix hidden notes in `admin/notes` when the user is not in tasklist experiment ( https://github.com/woocommerce/woocommerce-admin/pull/8328 )
...
* Fix hidden notes from tasklist experiment.
* Add changelog.
* Use PR number instead of issue number in the changelog.
2022-02-25 08:09:49 +08:00
Moon
5338ebf04a
Make $customer_id public again ( https://github.com/woocommerce/woocommerce-admin/pull/8371 )
...
* Make $customer_id public -- see issue 8369. We have a backward compatibility issue
2022-02-23 16:31:41 -08:00
louwie17
e652b0b93f
Fixes some minor process issues ( https://github.com/woocommerce/woocommerce-admin/pull/8355 )
...
* Additional general updates and improvements
* Fix php lint errors
2022-02-23 13:04:59 -04:00
louwie17
ed2a1eaae2
Updated changelog with cherry picks ( https://github.com/woocommerce/woocommerce-admin/pull/8347 )
2022-02-23 08:59:49 -04:00
Daniele Scasciafratte
76c3ef7466
Fix Notice in RuleEvaluator ( https://github.com/woocommerce/woocommerce-admin/pull/8184 )
...
* Fix Notice in RuleEvaluator
Ref: https://github.com/woocommerce/woocommerce-admin/issues/7825
* fix indentation
* fix lint
2022-02-22 20:48:15 -08:00
Chi-Hsuan Huang
e8ce945d0e
Implement MailChimp API request threshold for MailchimpScheduler ( https://github.com/woocommerce/woocommerce-admin/pull/8342 )
...
* Implement MailChimp API request threshold for MailchimpScheduler
Fix class-wc-tests-mailchimp-scheduler.php
Fix class-wc-tests-mailchimp-scheduler.php
* Add changelog
* Fix class-wc-tests-mailchimp-scheduler.php
* Fix class-wc-tests-mailchimp-scheduler.php
2022-02-23 09:37:00 +08:00
Chi-Hsuan Huang
f052c3fed1
Replace deprecated wp.compose.withState with wp.element.useState ( https://github.com/woocommerce/woocommerce-admin/pull/8338 )
...
* Update search-list-control
* Update tag
* Update stories
* Add packages/components changelog
2022-02-23 09:35:50 +08:00
Moon
1c2bc9843c
Use WC_VERSION as cache buster for assets ( https://github.com/woocommerce/woocommerce-admin/pull/8308 )
...
* Use WC_VERSION as cache buster
* Add changelog
2022-02-22 10:51:53 -08:00
berislav grgičak
e2dfe225b8
Increase chart selection to 10 and allow color overriding ( https://github.com/woocommerce/woocommerce-admin/pull/8258 )
...
* Increase selection limit to 10
* Add filter for overriding chart colors
* Add filter documentation
* Update chart story
* Add testing instructions
* Changelogs
* Remove broken changelog entires
* Update changelogs
* Fix changelogs
* Add filter example
* Improve filter example
2022-02-22 09:01:14 -04:00
Chi-Hsuan Huang
56f7850d07
Make src/Features/* internal except for Features.php, Onboarding.php and TransientNotices.php ( https://github.com/woocommerce/woocommerce-admin/pull/8318 )
...
* Move src/Features/* to src-internal/Admin/ except for Features.php, Features/Onboarding.php and TransientNotices.php
2022-02-21 17:47:28 +08:00
Chi-Hsuan Huang
9c49667dde
Fix Google Listings plugin is always shown in free features despite already activated ( https://github.com/woocommerce/woocommerce-admin/pull/8330 )
...
* Add is_visible rule for google-listings-and-ads to not display it if it's already activated
* Add changelog
2022-02-21 17:46:25 +08:00
Chi-Hsuan Huang
dd4736cc5c
Add build-types to .eslintignore ( https://github.com/woocommerce/woocommerce-admin/pull/8334 )
2022-02-21 12:12:05 +08:00
Chi-Hsuan Huang
bda55d99f3
Bump package versions ( https://github.com/woocommerce/woocommerce-admin/pull/8333 )
2022-02-21 11:27:45 +08:00
Chi-Hsuan Huang
c05ed7777a
Update dependencies to support react 17 ( https://github.com/woocommerce/woocommerce-admin/pull/8305 )
...
* Upgrade dependencies to support react17
Update pkg
Update @wordpress/api-fetch and gridicons
* Update test snapshots
* Update SnackbarList with latest react-spring
* Mock data.dispatch for task-list-item.test.tsx
* Remove '@wordpress/components/src/visually-hidden/style' import
wp-components has included it
* Update interpolateComponents import path
* Fix display-options test
* Add changelogs
Update changelogs
* Add @automattic/explat-client-react-helpers back
* Update webpack.config for explat-client-react-helpers
Update webpack config comment
Fix grammar
2022-02-21 10:34:25 +08:00
louwie17
42625174d9
Have free subscriptions adhere to cbd industry ( https://github.com/woocommerce/woocommerce-admin/pull/8323 )
...
* Make sure the free subscriptions does not show when cbd industry is selected
* Add changelog and fix productTypes not being defined
* Fix lint issue
* Fix lint error
2022-02-18 10:23:37 -04:00
louwie17
7c6a1f3b5b
Fix payment task conflicts ( https://github.com/woocommerce/woocommerce-admin/pull/8321 )
...
* Fix payment logic of payment tasks between current task list and experimental one.
* Revert testing changes
* Fix linting
* Add changelog
2022-02-18 09:59:39 -04:00
Moon
718bac6981
Prompt a modal to save any unsaved changes in OBW ( https://github.com/woocommerce/woocommerce-admin/pull/8278 )
...
* Add a modal to show when unsaved changes are detected
* Add functions to track value changes from the steps
* Warn unsaved changes for the store details
* Add styles for the unsaved modal
* Warn unsaved changes for the Industry
* Warn unsaved changes for the Product Types
* Warn unsaved changes for the Business Details
* Add changelog
* Add testing instructions.
* Sort array values before comparison
* Use only the array values to compare the diff
* Catch rejected promise on continue
* Set initial value to an empty object
* Fix failing tests
2022-02-17 11:15:11 -08:00
Moon
c16a17a17b
Enable navigation in core env ( https://github.com/woocommerce/woocommerce-admin/pull/8310 )
2022-02-17 11:14:45 -08:00
Moon
3a81e6b78d
Make classes in src internal ( https://github.com/woocommerce/woocommerce-admin/pull/8317 )
...
* Add psr-4 for the internal classes -- this is a temp. changes. We should remove it once we completely merge to the core
* Register class aliases
* Move WcPayPromotion classes to the internal
* Ignore namespace PHP CS issue
* Make features/WcPayPromotion internal
* Added src-internal directory for Automattic\WooCommerce\Internal\Admin namespace
* Moved src/Features/WcPayPromotion to src-internal/Admin/WcPayPromotion
* Add phpcs rules for src-internal
* Remove phpcs:ignoreFile
* Update letter case to make it PSR4 compatible
* Fix letter cases
* Move the alias array into the function
* Rename WcPayPromotion to WCPayPromotion (letter case update)
* Include src-internal
* Update letter case
* Make classes internal
* Update references
* Fix WC_ADMIN_ABSPATH path
2022-02-17 11:14:23 -08:00
Moon
aa554fb1e3
Move src/Schedulers/* to src-internal/Admin/Schedulers ( https://github.com/woocommerce/woocommerce-admin/pull/8316 )
...
* Add psr-4 for the internal classes -- this is a temp. changes. We should remove it once we completely merge to the core
* Register class aliases
* Move WcPayPromotion classes to the internal
* Ignore namespace PHP CS issue
* Make features/WcPayPromotion internal
* Added src-internal directory for Automattic\WooCommerce\Internal\Admin namespace
* Moved src/Features/WcPayPromotion to src-internal/Admin/WcPayPromotion
* Add phpcs rules for src-internal
* Remove phpcs:ignoreFile
* Update letter case to make it PSR4 compatible
* Fix letter cases
* Move the alias array into the function
* Rename WcPayPromotion to WCPayPromotion (letter case update)
* Include src-internal
* Update letter case
* Make src/Schedulers/* internal, except the SchedulerTraits
* Add @internal comment tag
* Clean up incorrect import
* Remove unused import
2022-02-17 10:48:31 -08:00
Fernando
ce0f73aa9b
Refactor `MerchantEmailNotifications` ( https://github.com/woocommerce/woocommerce-admin/pull/8304 )
...
* Refactor `MerchantEmailNotifications`
* Rename `NotificationEmail`
* Add changelog
* Add folder `Notes` to `Internal`
* Moved folder and the namespace was renamed
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-02-17 14:33:19 -03:00
Ilyas Foo
5840898524
Add card fees to specify what the discount applies to ( https://github.com/woocommerce/woocommerce-admin/pull/8319 )
2022-02-17 11:30:59 +08:00
rjchow
99a382c649
Fixed typing errors in Stepper component after typescript conversion
2022-02-17 10:35:39 +08:00
rjchow
0a314f1a97
Renamed stepper components to .tsx
2022-02-17 10:35:39 +08:00
Moon
8023579670
Move src/Features/WcPayPromotion to /src-internal/Admin/WcPayPromotion ( https://github.com/woocommerce/woocommerce-admin/pull/8307 )
...
* Add psr-4 for the internal classes -- this is a temp. changes. We should remove it once we completely merge to the core
* Register class aliases
* Move WcPayPromotion classes to the internal
* Ignore namespace PHP CS issue
* Make features/WcPayPromotion internal
* Added src-internal directory for Automattic\WooCommerce\Internal\Admin namespace
* Moved src/Features/WcPayPromotion to src-internal/Admin/WcPayPromotion
* Add phpcs rules for src-internal
* Remove phpcs:ignoreFile
* Update letter case to make it PSR4 compatible
* Fix letter cases
* Move the alias array into the function
* Rename WcPayPromotion to WCPayPromotion (letter case update)
* Include src-internal
* Update letter case
* Move src/Features/RemoteFreeExtensions to src-internal/Admin/RemoteFreeExtensions (https://github.com/woocommerce/woocommerce-admin/pull/8311 )
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-02-16 04:50:33 -08:00
Ilyas Foo
d590b1116f
Fix WCPay in core texts and promo slug ( https://github.com/woocommerce/woocommerce-admin/pull/8296 )
...
* Fix texts and change promo slug
* Changelog
2022-02-16 11:10:59 +08:00
RJ
ab1cbfb6f2
Added tracks test for PaymentGatewaySuggestions ( https://github.com/woocommerce/woocommerce-admin/pull/8306 )
2022-02-15 10:30:46 +08:00
Travis
ae582fdc66
Jetpack Backup note - change time range and add an image ( https://github.com/woocommerce/woocommerce-admin/pull/8293 )
...
* start note after 3 days and add an image
* add changelog entry
* add PR number to changelog
2022-02-14 12:42:50 -06:00
Paul Sealock
e41441f83e
Add hook reference generator README and documentation ( https://github.com/woocommerce/woocommerce-admin/pull/8004 )
...
* Add hook reference README
* update hook reference
* better
* changelog
* add pr number
* remove example
* add desc
* add stats
* jsdoc REPORTS_FILTER
* Category configs
* configs
* data
* dashboard
* dashboard charts
* save
* save
* save
* done with filters
* Add scope to slotFill docs
* data
* add all slotfills
* data
* Fix error when scope is not present, and make use of typedef imports
* Move chart and filter jsdoc definitions to the reports index file
* Update hook reference data.json
* Make use of import for filter typedef and address some typos
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-02-11 10:38:38 -04:00
louwie17
0deb1c33bc
Add wc_version to store profiler view and complete tracks ( https://github.com/woocommerce/woocommerce-admin/pull/8290 )
...
* Add wc_version to store profiler view and complete tracks
* Add changelog
* Update changelog
2022-02-11 10:03:37 -04:00
louwie17
7e999148f1
Sync changelog and testing instructions from 3.2 ( https://github.com/woocommerce/woocommerce-admin/pull/8289 )
...
* Add additional testing instructions
* Update changelog entries for 3.2
2022-02-11 08:40:33 -04:00
RJ
087ce5aa61
Enable type definitions output for @woocommerce/components ( https://github.com/woocommerce/woocommerce-admin/pull/8282 )
...
* Output typedefs for @woocommerce/packages
2022-02-11 19:39:34 +08:00
Chi-Hsuan Huang
4f5e537a54
Fix a lot of pending "run_remote_notifications" scheduled actions ( https://github.com/woocommerce/woocommerce-admin/pull/8285 )
...
* Change to only create remote action when there_are_now_products is false
* Add changelog
* Update src/RemoteInboxNotifications/StoredStateSetupForProducts.php
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Update function name
* Add comment
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-02-11 15:08:11 +08:00
Chi-Hsuan Huang
e1ac06afa7
Fix payments extensions displayed below the offline payments options ( https://github.com/woocommerce/woocommerce-admin/pull/8232 )
...
* Fix payments extensions displayed below the offline payments options
Add spaces back
* Add changelog
* Remove the snapshot test and update payment gateway render test
* Make sorting compare function as a helper function
2022-02-09 14:12:20 +08:00
Chi-Hsuan Huang
6dc5189fc2
Replace "any" type with an explicit type ( https://github.com/woocommerce/woocommerce-admin/pull/8262 )
...
* Replace "any" type with an explicit type
* Add types in utils and import FormInputProps to store address
2022-02-09 12:40:44 +08:00
louwie17
83e1addd82
Fix minor process issues ( https://github.com/woocommerce/woocommerce-admin/pull/8279 )
2022-02-08 18:22:26 -04:00
louwie17
7d2aa04b2a
Add business-details step complete track ( https://github.com/woocommerce/woocommerce-admin/pull/8265 )
...
* Add business-details step complete track
* Add changelog
* Update tab name and treat each tab as an individual step when trickering tracks
* Add comment
* Fix linting
* Remove unnecessary css selector
* Update goToNextStep param to make it less confusing
* Update jsdoc param
2022-02-08 14:29:17 -04:00
RJ
b9806c5087
Made email in OBW optional again ( https://github.com/woocommerce/woocommerce-admin/pull/8263 )
2022-02-08 08:56:45 +08:00
louwie17
23505c1e58
Make sure hidden fields are cleared when definition changes ( https://github.com/woocommerce/woocommerce-admin/pull/8250 )
...
* Make sure hidden fields are cleared when definition changes
* Make use of shortened condition available in TS
2022-02-07 19:31:08 -04:00
louwie17
c2537136bb
Fix shipping task step when store location isn't filled out ( https://github.com/woocommerce/woocommerce-admin/pull/8260 )
...
* Remove completeStep call in StoreLocation callback to avoid duplicate call.
* Add changelog
2022-02-07 14:55:35 -04:00
Moon
080dc48a9b
Fix/8191 deleting products adds blank space to analytics data ( https://github.com/woocommerce/woocommerce-admin/pull/8255 )
...
* Retrieve variation name from woocommerce_order_items for deleted products
* Remove test code
* Refactor to use wc_order_product_lookup table
* Identation fix
* Remove link if the variation/product has been deleted
* Add changelog
* Remove (deleted) suffix
* Add (Deleted) suffix in frontend
2022-02-07 10:13:27 -08:00
Ilyas Foo
dfdafc1568
Update headercard to use filter to add ExPlat parameter ( https://github.com/woocommerce/woocommerce-admin/pull/8233 )
...
* Add changelog
* Update headercard experiment hook to utilize `woocommerce_explat_request_args` filter
* Add test
* Fix experiment name check
* Update parameter name
* Add changelog
* Removed old changelog
* Added prop comments to Layout component
* Add preload option for homescreen
* Fix class attribute typo
* Hide extended tasklist when task detail is shown
* Add local Suspense to stop lazy component bubbling up to Controller's Suspense
* Remove unused props
* Add missed Suspense, add loading logic to ActivityHeader
Co-authored-by: Moon <moon.kyong@automattic.com>
2022-02-07 08:50:20 +08:00
Joshua T Flowers
517d248ed7
Remove unused task styling classes ( https://github.com/woocommerce/woocommerce-admin/pull/8234 )
...
* Remove unused task styling classes
* Rename typo in dismiss modals
* Remove extra styling selector class
* Add changelog entry
2022-02-04 10:26:56 -05:00
Joshua T Flowers
e8c1c94b01
Only add product data on REST requests and task list ( https://github.com/woocommerce/woocommerce-admin/pull/8235 )
...
* Only add product data on REST requests and task list
* Add changelog entry
* Return new product data variable
2022-02-04 10:03:47 -05:00
louwie17
ec3852160d
Add support for filtering by changelog type for testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/8256 )
...
* Add support for filtering by changelog type for testing instructions, and remove some warnings
* Update readme
* Remove error log
* Add changelog
2022-02-04 09:32:21 -04:00
Jacob Sewell
9c18a427fa
Avoid `get_notes` call in `CouponPageMoved` ( https://github.com/woocommerce/woocommerce-admin/pull/8202 )
...
* First draft of CouponPageMoved::has_(unactioned|dismissed)_note() method changes to avoid get_notes().
* Add static function get_note_by_name( $note_name ) to Automattic\WooCommerce\Admin\Notes\Notes class.
* Use Notes::get_note_by_name() in Notes::get_note_status().
* Use new Notes::get_note_by_name() in CouponPageMoved::has_unactioned_note().
* Use new Notes::get_note_by_name() in CouponPageMoved::has_dismissed_note().
* Add changelog for 7986/8202.
2022-02-03 15:27:55 -06:00
louwie17
8d3eefb508
Add additional testing instructions for 3.2 release ( https://github.com/woocommerce/woocommerce-admin/pull/8247 )
...
* Add additional testing instructions for 3.2 release
* Add specificity to the scheduled actions that need running
2022-02-02 11:48:07 -04:00
louwie17
d492793276
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/8243 )
2022-02-02 10:46:24 -04:00
louwie17
d41906267a
Dev/e2e reset ( https://github.com/woocommerce/woocommerce-admin/pull/8219 )
...
* Add payment_setup track for WooCommerce Payments
* Add WooCommerce Reset Plugin to E2E environment
* Add resetWoComerceState util
* Add state reset before obw test
* Refactor resetWooCommerceState
resetWooCommerceState now makes the HTTP request locally instead of from inside the browser context.
* Update reset functionality
* Add custom settings reset function for onboarding
* Update reset functionality
* Add action-scheduler run helper function
* Fix add section test
* Add plugin removal helper functions
* Fix lint errors
* Fix broken e2e tests
* Add changelog
* Remove unused imports
* Add comment for extra timeout
* Add helper function to wait until button stops moving, incase of animations
* Fix lint error
* Add variable for string used in multiple places
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2022-02-02 08:55:10 -04:00
Moon
69034713a1
Reintroduce CES ( https://github.com/woocommerce/woocommerce-admin/pull/8238 )
...
* Reintroduce CES for the following actions
* Add a product
* Update product
* Edit order
* Add changelog
* Add PR # to the changelog
2022-02-01 15:34:17 -08:00
Moon
52fbcffe92
Make ExPlat request URL args filterable ( https://github.com/woocommerce/woocommerce-admin/pull/8231 )
...
* Support woocommerce_explat_request_args filter to modify ExPlat request args
* Add ExPlat test
* Add ExPlat test for PHP
* Add changelog
* Add doc for the filter
* Fix syntax
2022-02-01 14:17:03 -04:00
Chi-Hsuan Huang
e6f19d0d91
Fix country/region selection not preserved in store details task ( https://github.com/woocommerce/woocommerce-admin/pull/8228 )
...
* Fix country/region selection not preserved in store details task
* Update store-adress test cases
* Add changelog
* Check alphabets regx for isStateAbbreviation
* Update comments
* Use unknown type for locale
* Add Disable reason
2022-02-01 14:13:54 -04:00
Joshua T Flowers
ea6b50f241
Show single success message for theme install and activation ( https://github.com/woocommerce/woocommerce-admin/pull/8236 )
...
* Show single success message for theme install and activation
* Add changelog entry
2022-02-01 12:02:33 -05:00
Jacob Sewell
5002a1498a
Fix distorted Country/Region label at some zoom levels ( https://github.com/woocommerce/woocommerce-admin/pull/8186 )
...
* Override overflow rule for label in select controls in OBW store address inputs.
* Changelog for 7893/8186.
* Rather than specifically override the overflow for store addresss country/region, remove the specific rule that was causing the issue.
* Increase line-height on SelectControl label.
* Restore overflow: hidden rule for profile wizard control label.
* Update changelog for 7893/8186.
* Add package changelog entry for 7893/8186.
2022-01-31 15:56:15 -06:00
Joshua T Flowers
8abea5a435
Add asynchronous plugin install and activation endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/8079 )
...
* Move plugin installation method to plugin helper
* Add hook to for note addition on install error to JP/WCS note
* Add install scheduler
* Add async request parameter
* Fix up scheduled action errors
* Add route to get installation status
* Add activation endpoints and helper async methods
* Fix errors in plugin activation
* Make job ID null by default
* Add async plugin tests
* Fix install activation error errant method
* Return error codes from API
* Us AS to retrieve jobs instead of transients
* Get plugin status data from AS actions
* Use job ID instead of action ID for scheduling activation
* Add generic activation and installation status endpoints
* Add changelog entry
2022-01-31 09:17:14 -05:00
Fernando
525b8d5ec1
Replace mysql image with mariadb ( https://github.com/woocommerce/woocommerce-admin/pull/8220 )
...
* Replace mysql image with mariadb
This fixes the missing architecture error raised by docker compose
* Update readme.txt
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-27 11:28:56 -03:00
RJ
ed27652e35
fix: onboarding wizard checkmarks go missing sometimes ( https://github.com/woocommerce/woocommerce-admin/pull/8222 )
...
- checkmarks in the stepper component go missing if the first checkmark is hidden
- happens because of html id collision between the checkmarks
- added some randomness to the mask ids
2022-01-27 19:08:31 +08:00
Joshua T Flowers
ace300b4cd
Fix setup wizard title and flash of content ( https://github.com/woocommerce/woocommerce-admin/pull/8201 )
...
* Fix setup wizard title and flash of content
* Redirect to profiler server-side if landing on the homepage
* Add changelog entry
2022-01-26 15:28:52 -05:00
Chi-Hsuan Huang
8281eac885
Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php ( https://github.com/woocommerce/woocommerce-admin/pull/8213 )
...
* Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php
* Add changelog
2022-01-26 22:42:03 +08:00
Chi-Hsuan Huang
bfa445f600
Add Spain to Square suggestion country list ( https://github.com/woocommerce/woocommerce-admin/pull/8210 )
...
* Add Spain to square_credit_card suggestion country list
* Fix payment-gateway-suggestions.md data source polling url
* Add changelog
2022-01-26 17:37:05 +08:00
dependabot[bot]
cad71e98a0
Bump node-fetch from 2.6.1 to 2.6.7 in /.github/actions/pr-labeler ( https://github.com/woocommerce/woocommerce-admin/pull/8218 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 16:21:51 +08:00
Matt Sherman
56a78ab4f9
Bump version to 3.3.0-dev and sync changelog from 3.2.0-beta.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8217 )
...
* Bump version to 3.3.0-dev
* Bump WP tested up to
* Update changelog
* Update testing instructions version
2022-01-25 17:55:50 -05:00
louwie17
2e3b9f1e01
Add tasklist_payment_setup track for WooCommerce Payments ( https://github.com/woocommerce/woocommerce-admin/pull/8146 )
...
* Add changelog
* Move payment setup even to Action button
2022-01-25 17:47:36 -04:00
Jacob Sewell
917545577f
Task List: Personalize your store / Import products - error message is not formatted correctly ( https://github.com/woocommerce/woocommerce-admin/pull/8173 )
...
* Use __() to display a generic error message on sample item import rather than passing through the server message because it probably has tags.
* Add changelog for 4314/8173.
* Add support for __unstableHTML option to Snackbar.
* Use __unstableHTML option to display server-side error messages as they come in.
* Update changelog description for 4314/8173.
2022-01-25 13:06:38 -06:00
Ilyas Foo
af2f0f7a78
Bump versions for multiple WooCommerce packages ( https://github.com/woocommerce/woocommerce-admin/pull/8214 )
...
* Bump versions for multiple packages
* Bump all package versions
* Fix spacing
2022-01-25 19:22:58 +08:00
Ilyas Foo
ad5b1bd36c
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/8212 )
2022-01-25 17:26:42 +08:00
louwie17
3742be465e
Add performance tracks to onboarding flow ( https://github.com/woocommerce/woocommerce-admin/pull/8042 )
...
* Add payment_setup track for WooCommerce Payments
* Add timing props to tracks in onboarding when installing extensions
* Update extension key logic
* Add changelog
* Add tests for extension installation data for tracks
* Add util function for plugin slug parsing
* Only install and activate plugins that are not already active
2022-01-24 12:23:12 -04:00
Ilyas Foo
0d730a5bed
Update readme ( https://github.com/woocommerce/woocommerce-admin/pull/8203 )
2022-01-24 12:46:36 +08:00
Jacob Sewell
2b1dd08040
Fix/7174 dismiss button alignment ( https://github.com/woocommerce/woocommerce-admin/pull/8168 )
...
* Combine all the .woocommerce-task-dashboard__container .woocommerce-task-card rules in one block.
* Move the .woocommerce-task-card__section-controls text-align center rule up in specificity so it overrides the rule in experimental-list.
Do we need the experimental-list package still?
* Changelog for 7174/8168.
* Expand button to container width and center text rather than centering the entire button in the ellipsis menu.
* Move ellipsis menu button style to _global so it applies, um, globally.
* Update changelog description for 7174/8186.
* Move ellipsis-menu popover button style to package from _global.
* Add components package changelog for Dismiss button in Unreleased section.
2022-01-22 11:48:01 -06:00
Jacob Sewell
1e8cdb3543
Reduce padding around plugin list titles for marketing tools page. ( https://github.com/woocommerce/woocommerce-admin/pull/8171 )
...
* Reduce padding around plugin list titles for marketing tools page.
* Changelog for 8164/8171.
* Update plugin list title padding
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-01-20 20:50:21 -06:00
dependabot[bot]
f217131dd0
Bump trim-off-newlines from 1.0.1 to 1.0.3 ( https://github.com/woocommerce/woocommerce-admin/pull/8195 )
...
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines ) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/stevemao/trim-off-newlines/releases )
- [Commits](https://github.com/stevemao/trim-off-newlines/compare/v1.0.1...v1.0.3 )
---
updated-dependencies:
- dependency-name: trim-off-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-20 16:41:17 +08:00
RJ
49bf6a5c81
Updated frontend email validation to use @wordpress/url ( https://github.com/woocommerce/woocommerce-admin/pull/8197 )
...
* Updated frontend email validation to use @wordpress/url
- added testing for StoreDetails
- changed basic email validation to use @wordpress/url isEmail
2022-01-20 16:40:20 +08:00
renovate[bot]
8af4fe6311
Update dependency follow-redirects to 1.14.7 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8194 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 16:33:34 +08:00
Chi-Hsuan Huang
ff1e31cfd4
Enhance report chart i18n support ( https://github.com/woocommerce/woocommerce-admin/pull/8129 )
...
* Support i18n texts for report chart
* Add changelogs
* Add d3-time-format to date pkg devDependencies
* Fix date php format and add tests
* Add date changelog
* Fix date test
* Escape week of string for php formatter
2022-01-20 08:20:18 +08:00
Chi-Hsuan Huang
19e7345f01
Fix undefined derived_currency value for the track 'wcadmin_storeprofiler_store_details_continue' ( https://github.com/woocommerce/woocommerce-admin/pull/8193 )
...
* Fix undefined store_country value for the track wcadmin_storeprofiler_store_details_continue
* Add changelog
2022-01-20 08:19:20 +08:00
Fernando
b74600593e
Change the reviews empty state panels logic ( https://github.com/woocommerce/woocommerce-admin/pull/8147 )
...
* Add unapproved reviews check
* Add tests
* Add changelog
* Create a review e2e test
* Fix lint
* Rename some constants (https://github.com/woocommerce/woocommerce-admin/pull/8178 )
* Renamed `countUnapprovedReviews`
* Renamed `lowStockProductsCount`
* Renamed `unreadOrdersCount`
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-19 13:45:17 -03:00
Joshua T Flowers
ecd8c34c42
Hide store address fields in regions that specify hidden ( https://github.com/woocommerce/woocommerce-admin/pull/8172 )
...
* Hide store address fields in regions that specify hidden
* Add changelog entry
2022-01-19 09:07:43 -05:00
Chi-Hsuan Huang
9cfd69d778
Fix incorrect date options when the "Default Date Range" is set from Analytics settings ( https://github.com/woocommerce/woocommerce-admin/pull/8189 )
...
* Add defaultDateRange argument to getAllowedIntervalsForQuery function for default period value
* Fix incorrect date options when the "Default Date Range" is set
* Add changelog
2022-01-19 10:15:33 +08:00
Joshua T Flowers
067c9f763e
Fix task ID class check and add tests around tracking ( https://github.com/woocommerce/woocommerce-admin/pull/8185 )
...
* Fix task ID class check and add tests around tracking
* Add changelog entry
* Add doc comment for return value of recorded tracks event
2022-01-18 15:29:14 -05:00
Joel Thiessen
96c7eb4e26
Adding tooltip to describe the lack of refund deductions from revenue summaries ( https://github.com/woocommerce/woocommerce-admin/pull/8187 )
2022-01-18 12:07:32 -08:00
Fernando
3c424992a4
Refactor selling options - OBW - Business Details ( https://github.com/woocommerce/woocommerce-admin/pull/8081 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-18 10:46:10 -03:00
Chi-Hsuan Huang
2ce17ed7c0
Fix incorrect total count of downloads on the analytics download report ( https://github.com/woocommerce/woocommerce-admin/pull/8182 )
...
* Fix incorrect total count of downloads on download analytics report
* Add changelog
2022-01-18 19:04:20 +08:00
Chi-Hsuan Huang
18a4a467f8
Fix get_automated_tax_supported_countries doesn't include UK ( https://github.com/woocommerce/woocommerce-admin/pull/8180 )
...
* Add GB to automated tax supported countries list
* Add changelog
2022-01-18 18:31:46 +08:00
Chi-Hsuan Huang
3b8c6662e8
Fix incorrectly displayed note created date ( https://github.com/woocommerce/woocommerce-admin/pull/8179 )
...
* Fix incorrectly displayed note created date
* Add changelog
* Add package changelog
2022-01-18 18:24:15 +08:00
Chi-Hsuan Huang
08acc3e2f7
Fix incorrect reader text generated for data points on charts table ( https://github.com/woocommerce/woocommerce-admin/pull/8181 )
...
* Fix incorrect screen reader text generated for data points on charts table
* Add changelog
2022-01-18 18:10:23 +08:00
Chi-Hsuan Huang
ae0ea6df2c
Fix php unit test "test_deleted_coupons" for wc >= 6.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8162 )
...
* Fix bin/install-wp-tests.sh for wc >= 6.0.0
* Fix php unit test "test_deleted_coupons" for wc >= 6.1.0
* Update WC_Tests_Reports_Coupons test_populate_and_query test
Fix test
2022-01-18 13:31:21 +08:00
Chi-Hsuan Huang
161a9d6feb
Fix shipping rate error message overlaps with the 'Proceed' button ( https://github.com/woocommerce/woocommerce-admin/pull/8165 )
...
* Fix shipping rate error message overlaps with the 'Proceed' button
* Add changelog
2022-01-17 14:39:02 +08:00
Chi-Hsuan Huang
409f077a83
Fix setup wizard free features checkbox re-check itself ( https://github.com/woocommerce/woocommerce-admin/pull/8169 )
...
* Fix setup wizard free features checkbox re-check itself
* Add changelog
2022-01-17 10:03:32 +08:00
Joshua T Flowers
666f740659
Add localized validation to store address ( https://github.com/woocommerce/woocommerce-admin/pull/8123 )
...
* Use locale labels for store info
* Get address validation errors based on locale
* Fix validation rules based on locale
* Fix up store address in location task step
* Add changelog entry
2022-01-14 08:39:25 -05:00
Ilyas Foo
352c533ed8
Update changelog and testing instructions with 3.1.0-rc.1 release ( https://github.com/woocommerce/woocommerce-admin/pull/8166 )
...
* Update changelogs
* Update testing instructions
* Fix testing instructions
* Fix instructions
2022-01-14 09:53:21 +08:00
Joshua T Flowers
3c20d0f007
Add countries data store ( https://github.com/woocommerce/woocommerce-admin/pull/8119 )
...
* Add countries data store
* Add countries state type to reducer
* Add changelog entry
2022-01-13 14:43:56 -05:00
Chi-Hsuan Huang
f00e904d13
Fix category report query returns invalid net sales ( https://github.com/woocommerce/woocommerce-admin/pull/8153 )
...
* Fix category report query returns invalid net sales
fixes woocommerce/woocommerce-admin#7710
2022-01-13 11:12:16 +08:00
Chi-Hsuan Huang
cedb47d2b0
Make activity panel badges margin consistent ( https://github.com/woocommerce/woocommerce-admin/pull/8152 )
...
* Make activity panel badges margin consistent
* Add changelog
2022-01-13 09:50:59 +08:00
Joel Thiessen
512a4fac7a
Fix marketing task not displaying on Atomic sites. ( https://github.com/woocommerce/woocommerce-admin/pull/8150 )
...
* Should accept a boolean value for is_visible property with an extension, and only evaluate a set of rules
* Adding changelog
* Moving fix to RuleEvaluator so it applies to other rulesets
2022-01-13 09:39:22 +08:00
Moon
fec3ab8c5e
Fix incorrectly selected column type in two-cols experiment ( https://github.com/woocommerce/woocommerce-admin/pull/8137 )
...
* Remove updating to two_cols
* Put woocommerce_task_list_prompt_shown update logic back
2022-01-13 09:38:38 +08:00
Jacob Sewell
bba520b886
OBW: Move newsletter signup checkbox inside the same Card as the rest of the Store Details form inputs. ( https://github.com/woocommerce/woocommerce-admin/pull/8148 )
...
* OBW: Move newsletter signup checkbox inside the same Card as the rest of the Store Details form inputs.
* Add changelog entry for 8033/8148.
* Fix changelog format for 8033/8148.
2022-01-12 16:56:19 -06:00
Joshua T Flowers
583590ecf9
Add Magento migration note ( https://github.com/woocommerce/woocommerce-admin/pull/8145 )
...
* Add Magento migration note
* Add changelog entry
2022-01-12 15:41:12 -05:00
Joshua T Flowers
287b00d11b
Add REST endpoint to retrieve address locales ( https://github.com/woocommerce/woocommerce-admin/pull/8116 )
...
* Add REST endpoint to retrieve address locales
* Add changelog entry
2022-01-12 15:40:52 -05:00
Moon
29d4e96114
Make sure WP_ENVIRONMENT_TYPE is defined before checking the value ( https://github.com/woocommerce/woocommerce-admin/pull/8133 )
2022-01-12 14:48:20 +08:00
Ilyas Foo
a0ffceec06
Move WC Pay welcome page from wc-calypso-bridge ( https://github.com/woocommerce/woocommerce-admin/pull/8151 )
...
* Move WC Pay welcome page from wc-calypso-bridge (https://github.com/woocommerce/woocommerce-admin/pull/8083 )
* Add wc-pay-welcome-screen flags
* Add wc pay welcome page from wc calpyso bridge
* Add changelog
* Rename var to pageViewTimestamp to prevent confusion
* Remove unused code
* Make sure hasViewedWelcomePage is a boolean value
* Simplify storeViewWelcome
* Add payments remind me later note (https://github.com/woocommerce/woocommerce-admin/pull/8085 )
* Add payments remind me later note
Fix wcpay path
* Add changelogs
* Update src/Notes/PaymentsRemindMeLater.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Fix possibly_add_note syntax error
Update Events.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Replace flag icon with component and svg background to png (https://github.com/woocommerce/woocommerce-admin/pull/8101 )
* Activate promo note after WC Pay is activated (https://github.com/woocommerce/woocommerce-admin/pull/8104 )
* Activate promo after wcpay is a\ctivated
* Add changelogs
* Add experimental to promo API path and limit the promo names
* Use ExPlat to render the WC Pay menu conditionally (https://github.com/woocommerce/woocommerce-admin/pull/8115 )
* Check ExPlat to render the menu conditionally
* Update the experiment name
* Fix letter case to follow feature class naming convention
* Enable wc-pay-welcome-page feature in core config (https://github.com/woocommerce/woocommerce-admin/pull/8124 )
* Use wc_calypso_bridge_payments_dismissed option name to respect the previously saved setting from wp.com
* Missed wc_calypso_bridge_payments_dismissed rename
* Use the existing code to prevent duplication
* Fix warning (https://github.com/woocommerce/woocommerce-admin/pull/8141 )
* Change experiment to come after checks (https://github.com/woocommerce/woocommerce-admin/pull/8142 )
* Change track path to (https://github.com/woocommerce/woocommerce-admin/pull/8143 )
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Replace deprecated wc-admin-settings package
Co-authored-by: Moon <moon.kyong@automattic.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2022-01-12 14:46:33 +08:00
Joel Thiessen
8ab602de9d
Adding allowed plugins to composer configuration ( https://github.com/woocommerce/woocommerce-admin/pull/8139 )
2022-01-11 12:14:28 -08:00
Moon
7348c302ec
Fix duplicated back button with two-cols experiment ( https://github.com/woocommerce/woocommerce-admin/pull/8138 )
...
* Do not render individual task in the extended component when it is rendered with two column task component
* Change var name to shouldRenderTask
2022-01-11 08:21:50 -08:00
Jeff Stieler
030cea98c8
Improve Customers Sync Performance ( https://github.com/woocommerce/woocommerce-admin/pull/8021 )
...
* Avoid unnecessary customer ID retrieval.
* Ignore order count when validating customers.
WC_Customer::get_order_count causes a full table scan without cache.
* Don't get customer names from their last order.
WC_Customer::get_last_order has to scan all _customer_user meta rows.
* Add changelog entry.
* Fix changelog.
* Cache customer ID in Order override classes.
* Check all user roles.
2022-01-10 19:22:09 -05:00
Joshua T Flowers
2dde3f5fa4
Add custom error for store details email and allow continue ( https://github.com/woocommerce/woocommerce-admin/pull/8110 )
...
* Add custom error for store details email and allow continue
* Add changelog entry
2022-01-10 14:18:19 -05:00
louwie17
48c2742099
Update changelog with 3.0.3 changes ( https://github.com/woocommerce/woocommerce-admin/pull/8130 )
2022-01-10 08:22:19 -04:00
Chi-Hsuan Huang
016c8887c9
Fix storybook cannot resolve @woocommerce/settings error ( https://github.com/woocommerce/woocommerce-admin/pull/8128 )
2022-01-07 13:05:22 +08:00
Chi-Hsuan Huang
b9d788c457
Fix variations table product filter ( https://github.com/woocommerce/woocommerce-admin/pull/8120 )
...
* Fix variations table product filter query
* Add changelogs
2022-01-07 12:25:44 +08:00
Chi-Hsuan Huang
f47a5c7898
Fix misaligned status column on orders report ( https://github.com/woocommerce/woocommerce-admin/pull/8121 )
...
* Fix misaligned status column on order report
Add labelPositionToLeft prop to order-status component
Set labelPositionToLeft=true for <OrderStatus> on orders report table
Remove style import
* Add changelogs
Add changelogs
2022-01-07 11:37:47 +08:00
louwie17
0e3286772e
Check if WC Pay is supported before adding gateway ( https://github.com/woocommerce/woocommerce-admin/pull/8122 )
...
* Check if WC Pay is supported before adding gateway
* Add changelog
2022-01-06 18:15:08 -04:00
Joel Thiessen
9f107352ad
Adding changelogs from 3.0.2 release ( https://github.com/woocommerce/woocommerce-admin/pull/8118 )
2022-01-06 09:34:11 -08:00
louwie17
26a9089f58
Make use of the woocommerce_allow_marketplace_suggestions filter ( https://github.com/woocommerce/woocommerce-admin/pull/8117 )
...
* Make use of the woocommerce_allow_marketplace_suggestions filter in WooCommerce Payment promotion
* Add changelog
2022-01-06 09:00:38 -04:00
louwie17
3998f88597
Remove unpublished wc-admin-settings package and update getSetting usage ( https://github.com/woocommerce/woocommerce-admin/pull/8057 )
...
* Remove use of wc-admin-settings from packages
* Move getSetting to getAdminSetting and remove wc-admin-settings package
* Add changelog
* Update package.json and remove last use of wc-admin-settings
2022-01-06 08:53:30 -04:00
Chi-Hsuan Huang
0c028b4a87
Add resolution check to ensure setup-wizard redirection on homescreen is stable ( https://github.com/woocommerce/woocommerce-admin/pull/8114 )
...
* Add resolution check to ensure setup-wizard redirection is stable
* Add changelogs
2022-01-06 09:47:09 +08:00
Chi-Hsuan Huang
91fc05dcfe
Fix misaligned rows per page dropdown ( https://github.com/woocommerce/woocommerce-admin/pull/8113 )
...
* Fix misaligned rows per page dropdown
* Add changelogs
Add changelogs
2022-01-05 18:01:42 +08:00
Chi-Hsuan Huang
af99137dff
Truncate the site title with an ellipses on the second line ( https://github.com/woocommerce/woocommerce-admin/pull/8112 )
...
* Truncate the site title with ellipses on the second line
Fix style
* Add changelogs
* Add title property to nav site title
Update
2022-01-05 13:39:33 +08:00
renovate[bot]
1f0385561a
Update dependency nth-check to 2.0.1 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8050 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 11:02:20 +08:00
renovate[bot]
84ae45c2ef
Update dependency json-schema to 0.4.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8049 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 11:00:30 +08:00
Moon
8983852686
Render the activity panel when the tasklist is hidden ( https://github.com/woocommerce/woocommerce-admin/pull/8111 )
2022-01-04 18:23:34 -08:00
renovate[bot]
233a8a1da1
Update dependency prismjs to 1.25.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8051 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 20:00:18 +08:00
renovate[bot]
718aceac64
Update dependency ansi-regex to 5.0.1 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8048 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 19:57:55 +08:00
Ján Mikláš
fb9f50a2e5
Add MailPoet to Installed marketing extensions ( https://github.com/woocommerce/woocommerce-admin/pull/8091 )
...
* Add MailPoet to Installed marketing extensions
Fixes woocommerce/woocommerce-admin#8088
* Add changelogs
2022-01-04 18:00:22 +08:00
Chi-Hsuan Huang
f838727546
Replace all docs.woocommerce.com links with woocommerce.com's ( https://github.com/woocommerce/woocommerce-admin/pull/8105 )
...
* Replace all docs.woocommerce.com links with woocommerce.com/documentation
* Add changelogs
Update changelogs
* Update woocommerce-amazon-ebay-integration doc url
2022-01-04 17:03:58 +08:00
Chi-Hsuan Huang
4aaa938c3e
Fix ci php unit tests with woocommerce >= 6.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8108 )
2022-01-04 17:03:30 +08:00
Chi-Hsuan Huang
950455827b
OBW: Fix free extensions list isn't updated after store location or industry is changed ( https://github.com/woocommerce/woocommerce-admin/pull/8099 )
...
* Rename variables and remove unnecessary select calls in selective-extensions-bundle
* Invalidate getFreeExtensions resolution whenever country or industry
changed
* Fix grammar
* Add changelogs
2022-01-04 11:31:58 +08:00