Commit Graph

6067 Commits

Author SHA1 Message Date
Joshua T Flowers 12625ae615
Add purchase task to experimental task lists (#33178)
* Add purchase task to experimental task lists

* Add changelog entry

* Add purchase header

* Update logic around purchase products list strings

* Add purchase illustration

* Fix up task title tests

* Handle PR feedback

* Fix theme title in purchase task
2022-06-06 07:58:34 -04:00
Deiva Magalhaes c4e068be3b
Product review page in WooCommerce Core (#32763)
Introduce a dedicated admin screen for better management of product reviews.

Co-authored-by: Fulvio Notarstefano <unfulvio@godaddy.com>
Co-authored-by: Adriano Castro <72993300+acastro1-godaddy@users.noreply.github.com>
Co-authored-by: Adriano Castro <adrianostanley@gmail.com>
Co-authored-by: Adriano Castro <acastro1@godaddy.com>
Co-authored-by: Ashley Gibson <agibson@godaddy.com>
Co-authored-by: Ashley Gibson <99189195+agibson-godaddy@users.noreply.github.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-06-05 10:45:28 -07:00
Christopher Allford bb320a935a
Removed `@woocommerce/notices` Internal Prefix (#33283)
Since we're exposing the package in some form,
we cannot rename it since that would break backwards
compatibility.  This commit changes it back.
2022-06-03 16:05:26 -07:00
Moon 29ddd17e68
Deprecate wcAdminAssetUrl and WC_ADMIN_IMAGES_FOLDER_URL (#33290)
* Fix incorrect URL for the wcAdminAssetUrl and deprecate both wcAdminAssetUrl and WC_ADMIN_IMAGES_FOLDER_URL

* Remove unused wcAdminAssetUrl var

* Remove use of wcAdminAssetUrl

* Add changelog

* Ignore hook PHPCS error -- they are pre-existing
2022-06-02 15:01:37 -07:00
louwie17 e02bdd98a0
Remove order/product count from wcSettings (#33064)
* Remove orderCount and publishedProductCount setting and make use of data stores

* Add test

* Add changelog

* Make use of orders data store instead of items data store

* Add users param to reports customers API params to allow filtering by user_id

* Fix invalidateResolution call that was misspelled
2022-06-01 14:15:09 -03:00
Joel Thiessen ddafa8e380
Tasks chaining side panel (#33124) 2022-06-01 10:10:20 -07:00
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