Christopher Allford
112b9ac67a
Prefixed Private JS Packages ( #33218 )
...
In order to ease the identification of private packages within the monorepo, this adds an `internal-` prefix to all of the current private packages. This makes it immediately clear when reviewing `packages/js` what is and isn't a private package.
2022-05-31 15:42:00 -07:00
louwie17
61d9d0043f
Add initial tracking for categories, tags, and attribute product pages ( #33118 )
...
* Add initial tracking for categories, tracks, and attribute product pages
* Update list action tracks that add new items without page refresh
* Add changelog
* Add extra category tracks
* Rename constant for add a new tag button
* Remove unneeded props from track
2022-05-30 13:14:25 -03:00
louwie17
574e00b6d5
Add/32676 category and tag tracks within products screen ( #33121 )
...
* Add logs for the attributes and tags on the product page
* Only trigger attributes_add on product screen when user hits save
* Add extra props to attribute add track
* Add tags delete track and fix count of tags add track
* Update use of wp_localize_script
2022-05-30 10:06:34 -03:00
RJ
b051ed88db
Update react-router-dom to v6 for woocommerce-admin ( #33156 )
2022-05-30 14:51:33 +08:00
Ilyas Foo
b85dca4308
Fix unresponsive clicks on product task card elements ( #33235 )
...
* Fix clicking on borders for product task card elements
* Changelog
2022-05-27 13:04:17 -05:00
Fernando
cb2c09fad7
Fix completed card button ( #33238 )
...
* Fix completed card button
* Update sectioned task list to use onboarding data store
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2022-05-27 12:41:16 -04:00
Chi-Hsuan Huang
4a6c6e739c
Update woocommerce-admin `test:watch` command ( #33202 )
...
* Update woocommerce-admin test:watch command
Only watch admin ./client folder
* Add changelog
2022-05-27 10:08:34 +08:00
Joshua T Flowers
e4824b9660
Add tracks to new product and edit product screens ( #33120 )
...
* Move product list tracks to seperate file
* Change product list tracks to TS
* Check init of tracks on client-side
* Add new product tracks
* Add product screen tracks
* Add product edit tracks
* Localize product screen variable
* Add changelog entry
* Handle PR feedback
* Track date changes on edit
2022-05-26 16:56:22 -04:00
louwie17
ddb3239a1c
Merge pull request #33163 from woocommerce/fix/leaderboard-menu-styling
...
Fix the styling of the frame in the Leaderboard section of Analytics.
2022-05-25 10:14:32 -03:00
Chi-Hsuan Huang
0240a29eb6
Merge pull request #33168 from woocommerce/dev/migrate-woo-data-options-to-ts
...
Migrate `@woocommerce/data` options store to TS
2022-05-25 13:20:07 +08:00
Chi-Hsuan Huang
55dfa78ebb
Fix type errors in ./client after migrating options store to TS
2022-05-24 21:41:36 +08:00
Chi-Hsuan Huang
773ab10c61
Add translator domain to texts
2022-05-24 17:24:54 +08:00
Chi-Hsuan Huang
1b8e90b529
Remove unnecessary completion time track
2022-05-24 17:09:53 +08:00
Chi-Hsuan Huang
8ff2c334d7
Fix missing translation domain
2022-05-24 16:56:16 +08:00
Chi-Hsuan Huang
e2cc91dd60
Add confirmation dialog before loading the sample products
2022-05-24 15:43:27 +08:00
Chi-Hsuan Huang
86553fbe1f
Add load sample product confirm modal
2022-05-24 15:00:17 +08:00
AnnaMag
af7f738704
Fix the styling of the frame in the Leaderboard section of Analytics.
2022-05-23 17:30:47 +02:00
Chi-Hsuan Huang
485d858fc3
Remove onboarding task @ts-expect-error and fix related type errors
2022-05-23 13:27:11 +08:00
Moon
0b35ad678d
Merge pull request #33027 from woocommerce/update/update-history-package
...
Update history package to the latest 5.3.0 version
2022-05-19 18:27:12 -07:00
moon
29fcbfaf68
Fix the failing test
2022-05-19 15:02:04 -07:00
Vedanshu Jain
5ab229d217
Merge pull request #32957 from woocommerce/add/experiment-subscriptions-admin-menu-1
2022-05-19 08:32:15 +05:30
Ilyas Foo
045b9e6cf3
Fix nested link in products import task ( #33088 )
...
* Fix nested links by using onClick event instead
* Changelog
2022-05-18 17:57:25 +08:00
RJ
f637dd2bb7
Add: temporary workaround to add experiment metadata for task_view ( #33052 )
...
rigged a workaround to let products task report its experimental assignment
2022-05-18 15:24:48 +08:00
Chi-Hsuan Huang
9a15f68f3f
Merge pull request #33068 from woocommerce/update/33062-subscriptions-product-type-only-in-the-us
...
Update add product task to only show "subscriptions" product type for stores in the US
2022-05-18 11:12:52 +08:00
Chi-Hsuan Huang
1a87301894
Fix payment settings banner tos link
2022-05-18 10:21:29 +08:00
Chi-Hsuan Huang
c551477248
Hide subscription product type when store country is unknown
2022-05-18 10:18:57 +08:00
Chi-Hsuan Huang
017d8c2a80
Update product task to only show subscription product type for merchants in the US
2022-05-18 10:15:44 +08:00
Chi-Hsuan Huang
657e40ed98
Convert getProductTypes method to use object param
2022-05-18 10:15:17 +08:00
Chi-Hsuan Huang
dc9b545a30
Merge pull request #33058 from woocommerce/add/view-more-product-type-track
...
Add view more product type click event track for the add product task
2022-05-18 09:51:49 +08:00
James Allan
91669281ec
Rename component class names with BEM standard names
2022-05-18 10:56:06 +10:00
louwie17
e822a4a7f4
Merge pull request #32538 from woocommerce/feature/32158_complete_task_list_card_with_feedback
...
Feature/32158 complete task list card with feedback
2022-05-17 17:39:14 -03:00
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