RJ
6a95d3ee93
dev: move guided tours into consolidated folder ( #34279 )
...
* dev: moved shipping tour into guided tours folder
* dev: moved store address tour to guided-tour folder
* dev: updated imports for store address tour code move
* dev: move add-product-tour to guided-tours
* dev: update imports for add-product-tour code move
2022-08-12 09:49:18 +08:00
louwie17
a498cc8280
Add product form buttons and specific product edit page ( #34211 )
...
* Add initial product form action buttons to form
* Add new edit page and allow for updating and creating products
* Move crud functions to helper hook to keep things seperated better
* Add changelog
* ADd package changelogs
* Add isPending selector to products store
* Fix trash screen showing up when deleting product and add loading indicators
* Add extra types to Product type
* Update track names and add product data to tracks
* Update track logic when product is published
* Remove the Image section for now, to prevent confusion as it is not ready yet
* Add tests for the product form actions
* Update copy for publish & duplicate
* Remove unused code
* Set window.location correctly with href
* Reset changes in pnpm lock
* Moved pending action variables to product helper and updated buttons to reflect new suggestions
* Fix backwards compabitibility issue with Form changes
* Add switch to draft button
2022-08-11 11:04:14 -03:00
Chi-Hsuan Huang
831c9fcab3
Keep the user in the marketing task after installing an extension ( #34241 )
...
* Keep the user in the marketing task after installing an extension
* Add changelog
2022-08-11 08:56:58 +08:00
Moon
dd794e8e26
Update/34063 store location skip btn ( #34176 )
...
* Make ProfileItems properties optional
* Remove skip button codes and replace them with SkipButton component
* Add SkipButton component
* Add changelog
* Add back continue button callback
* Apply popover styles globally
* Add skip button on the industry step
* Add skip button on the product types step
* Add skip button on the Business Details step
* Support onSkipped callback
* Record skip event
* Add skip event track for industry, product types, and business details
* Add SkipButton to the theme step
* Update snapshot
* Change track name to separate business details and free features
* Add changelog
* Remove unused code
* Update product types test snapshot
* Add back UsageModal on Continue click
* Update e2e tests to use Skip
* Use button selector for skip btn
* Fix duplicate event dispatch
* Do not call onClose and onContinue during the rendering -- it causes cannot update a component while rendering a different warning. Instead, call them when the button is clicked
* Skip the profiler without rendering usage modal when woocommerce_allow_tracking is set
* Skip the profiler without rendering usage modal when woocommerce_allow_tracking is set
* Go to the next step when allowTracking is yes
2022-08-08 21:08:03 -07:00
Chi-Hsuan Huang
af97aaf410
Migrate @woocommerce/data settings store to TS ( #34184 )
...
* Migrate wc.data.settings to TS
* Correct data.settings type
* Fix wc admin client type errors
* Add changelog
* Add changelog
* Update types
* Update RawSetting type
2022-08-08 13:25:46 +08:00
Fernando
88c7cfb628
Fix Customer Effort Score Tracks ( #34209 )
...
* Rename sent prop (CustomerEffortScore)
* Add changelog
* Fix changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-08-05 15:40:01 -03:00
louwie17
470fc899e1
Add/33 two column product page layout ( #34113 )
...
* Add product page layout components
* Add a quick sample page to test the product form layout
* Add changelog
* Add option 2
* Refactor the product field layout structure
* Update page component structure of product form
* Add simple SlotFill support
* Update product page chunk name
* Add order to slot fill and move product field layout wrapper into product category layout
* Remove unused import
* Consolidate the slot fill ordering logic
* Rename category component to section component to prevent confusion
* Remove edit product page and use the new add product page instead
* Add tests
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-08-04 10:15:30 -03:00
RJ
75f6ec3a43
dev: refactor Homescreen component to use useQuery hook ( #34183 )
...
- added useQuery hook for usage in functional components
- refactored Homescreen component to useQuery instead of prop drilling
2022-08-04 16:57:53 +08:00
Chi-Hsuan Huang
cb87be1552
Update store location profiler ( #34153 )
...
* Update store details unit tests
* Update store details subheading and field order
* Update obw store details e2e tests
* Add changelog
* Add changelog
* Update Store owner can go through setup Task List test
2022-08-04 09:02:50 +08:00
Fernando
835f3d548e
Add/42 new product page ( #34115 )
...
* Add feature falg
* Modify href to menu item
* Modify page title href button
* Add product files on Client
* Change button's URL for new Nav
* Add changelog
* Moved changelog
* Fix URL for new nav
* Change URL for add product task
* Add Tracks event
* Change const name
* Renamed tracks event name
* Undo Add New Product redirect
* Undo use Products addition
* Undo lint fix to woocommerce_admin.js
* Rename component and file (AddProductPage)
* Set flag in core.json to false
* Fix typo
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-08-03 14:42:22 -03:00
RJ
cb09649a4c
add: store location settings tour ( #34137 )
2022-08-02 11:10:34 +08:00
RJ
be89ba6e06
fix: wrong condition for shipping recommendations tour step ( #34120 )
2022-07-29 15:34:00 +08:00
Moon
15015b9eda
Clean up setup_experiment_1 and setup_experiment_2 experiments ( #34084 )
...
* Remove setup_experiment_1 and setup_experiment_2 tests and css
* Remove setup_experiment_1 and 2 from the client code
* Copy over setup_experiment_1 options to the setup tasklist and remove setup_experiment_1 and 2
* Add changelog
* Determine the default component to use by task id
* Update plugins/woocommerce-admin/client/tasks/hooks/useActiveSetupList.ts
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-07-28 09:16:10 -07:00
Moon
dfa8d017f3
Use the default payment suggestions when woocommerce_show_marketplace_suggestions is set to no ( #34083 )
...
* Support force_default_suggestions argument
* Use force_default_suggestions
* Support force_default_suggestions argument -- returns the default payment suggestions when both woocommerce_show_marketplace_suggestions and woocommerce_setting_payments_recommendations_hidden options are set to no
* Add changelog
2022-07-27 21:02:24 -07:00
Ilyas Foo
aaa20f556b
Fix missing product task add product track via product templates ( #34070 )
...
* Add missing track on adding products via product templates
* Changelog
2022-07-27 12:47:18 +08:00
Chi-Hsuan Huang
d09d59186d
Fix free features is still rendered when no recommendation ( #33923 )
...
* Fix free features is still rendered when there is no recommendation
* Add changelog
* Update BusinessDetails tab to go to next step if no installable extensions
* Update spinner
2022-07-21 12:57:46 +08:00
aezazs-multidots
0cbaab737d
Added the border bottom of the modal's header ( #33807 )
...
* Added the border bottom of the modal's header
* Created changelog entry
* Changelog entry update
2022-07-15 14:35:34 +08:00
Chi-Hsuan Huang
92df587769
Fix task list overlaps with the Ellipsis menu ( #33882 )
...
* Fix task list overlaps with the Ellipsis menu
* Add changelog
2022-07-15 10:26:22 +08:00
Adrian Duffell
4ab95678ab
Randomize the sections in the recommended marketing extensions ( #33851 )
2022-07-14 13:41:18 +08:00
Chi-Hsuan Huang
9d6bf48964
Setup Wizard: Fix "Save changes" does not work on "Free features" ( #33844 )
...
* Fix "Save changes" does not work on "Free features" step
* Add changelog
2022-07-14 13:38:33 +08:00
RJ
6af3ea5867
fix: typos in shipping settings ( #33836 )
2022-07-13 23:41:22 +08:00
RJ
5bb03d0188
add: partial spotlight for shipping smart defaults tour ( #33801 )
...
- added a dynamic floating div to allow tour kit to track just part of the shipping settings table
2022-07-11 17:17:02 +08:00
Chi-Hsuan Huang
8952dac7c0
Set up i18n-text-domain rule and fix missing text domain ( #33780 )
...
* Set allowedTextDomain to only allow woocommmerce text domain
* Set allowedTextDomain to only allow woocommerce text domain
* Fix wrong or missing i18n text domain
* Add changelog
* Add changelog
2022-07-08 18:37:30 +08:00
Chi-Hsuan Huang
6e21f2c9b4
Fix wrong copy in the payment task ( #33749 )
...
* Add headingDescription prop to PaymentGatewaySuggestions list
* Fix payment suggestions heading text
* Add changelog
2022-07-07 10:13:27 +08:00
Ilyas Foo
8d281241a9
Add tracks for shipping smart defaults ( #33748 )
...
* Change review shipping task id to 'review-shipping'
* Add click track for shipping-recommendation task from the settings page
* Changelog
* Add test
* Add more specific test param
2022-07-06 20:00:08 +08:00
Chi-Hsuan Huang
b274831334
Update wcpay suggestion UI in payment task ( #33717 )
...
* Add WCPayBanner & WCPayBenefits
* Update payment setting & welcome screen to use components from woo onboarding
* Update wcpay suggestion UI in payment task
* Add changelog
* Add WCPayBannerImageCut image and update wcpay banner style
* Update packages/js/onboarding/src/components/WCPayBanner/WCPayBanner.scss
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Set .woocommerce-recommended-payments-banner__image_container display: flex
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-07-06 14:20:11 +08:00
Moon
9b175c64d9
Make store location and rates steps clickable ( #33661 )
...
* Make store location and rates clickable
* Add changelog
* Make store_location_completed camelCase
* Fix onCompleteStep logic
* Update plugins/woocommerce-admin/client/tasks/fills/shipping/index.js
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-07-05 19:13:57 -07:00
Joel Thiessen
57869a2ab7
Fixing activity panel does not appear after navigating to OBW and back ( #33722 )
2022-07-05 10:02:46 -07:00
Chi-Hsuan Huang
97f3e2d609
Fix untranslated texts on payment setting page ( #33718 )
...
Fix untranslated string in payment setting page
2022-07-05 13:28:31 +08:00
RJ
b7ffa1c3d2
Add: Intro tooltips for shipping smart defaults ( #33688 )
...
add: intro tooltips for shipping smart defaults
- removed php code for setting 'reviewed' option as it was being set on page load and thus always evaluated to true before the user sees it
- added intro tooltips
2022-07-05 13:02:52 +08:00
Chi-Hsuan Huang
20b266743e
Fix wrong link in setup payments screen ( #33715 )
...
* Fix wrong link in Set up payments screen
* Add changelog
2022-07-05 09:00:12 +08:00
Chi-Hsuan Huang
4707dcbec0
Fix wrong copy in the payments settings for a country that WCPay is not supported ( #33665 )
...
* Fix wrong copy in payment recommendations
* Add changelog
2022-07-04 16:58:10 +08:00
Moon
6a8f124022
Fix Uncaught DOMException on WooCommerce -> Extensions page. ( #33711 )
...
* Add .commerce to wrap selector
* Add changelog
* More specific selector
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-07-04 12:41:32 +08:00
Ilyas Foo
dea22904e0
Fix marketing task completion logic ( #33676 )
...
* Add marketing action task on clicking Manage
* Revert marketing completion after installing any marketing plugin
* Changelog
2022-07-01 14:28:45 -07:00
Moon
f8e8b6ff04
Style fix for the print shipping banner close modal ( #33587 )
...
* Style fix for the close modal
* Add changelog
2022-06-30 14:05:00 -07:00
Ilyas Foo
d6ccaa67de
Shipping recommendation task set location step manual navigation ( #33667 )
...
* Adds capability for store location step to be manually navigated
* Add test
* Changelog
2022-06-30 14:45:52 +08:00
Chi-Hsuan Huang
2dc3d87e1c
Payment task: fix wrong copy in the accordion link ( #33662 )
...
* Fix wrong copy in the accordion link for payment task
* Add changelog
2022-06-30 12:20:23 +08:00
Moon
feb3ab0581
Update shipping logic when OBW is skipped ( #33630 )
...
* Update shipping task fields when shipping smart default feature is enabled.
* Always display the shipping task regardless of having a physical product
* Updated text copy for the fields
* Do not display the step description if it is not the current step
* Added a banner for the shipping printing step
Remove description if the it is not the current step
* Add changelog
* Fix namespace conflict after the rebase
* Re-use wcs banner from the experimental shipping recommendation
* Delete ShippingLabelPrinting -- replaced by wcs banner from experimental-shipping-recommendation
* Add TOS link
* Remove ShippingPrintLabel styles -- no longer needed
* Minor refactor
* Move description set logic to getSteps()
* Use map to override step fields
* Remove unnecessary feature check
* Remove description in the map func
* Render ShipStation banner if plugins includes woocommerce-shipstation-integration
2022-06-29 00:40:42 -07:00
Ilyas Foo
1daa1c07fe
Add tests for shipping recommendation task ( #33633 )
...
* Move redirect function to utils to easily mock
* Add test
* Changelog
2022-06-29 11:24:25 +08:00
Ilyas Foo
b178e8a1f6
Add new flow shipping recommendation task ( #33620 )
...
* Plugins component skip button is now optional
* Add link from payment settings page
* Add new experimental shipping task flow
* Changelog
* Update plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/ExperimentalShippingRecommendation.php
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Rename all tracks to shipping_recommendation
* Add back skip installer bind
* Pass plugins list to pluginSlugs to be more predictable
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-06-28 13:53:03 +08:00
RJ
d2967e0ee8
Fixed missing wcpay setup task ( #33590 )
...
- task fill page was missing for the woocommerce-payments task
2022-06-24 17:06:43 +08:00
RJ
c9e0cccc19
fix payments banner experiment test ( #33589 )
...
test needed to be updated as the component did not call useExperiment directly anymore
2022-06-24 13:06:11 +08:00
Chi-Hsuan Huang
dcbae453f8
Update shipping recommendations display logic ( #33529 )
...
* Update shipping recommendations display logic
* Add todo comment
* Add changelog
* Render null for shipping recommendations if store only sells digital products
* Fix onboarding product type
* Update plugins/woocommerce-admin/client/shipping/test/experimental-shipping-recommendations.tsx
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-06-23 09:54:38 +08:00
Ilyas Foo
9c4c3834a7
Fix payments settings banner experiment logic ( #33549 )
...
* Delegate payment experiment logic into its own hook and rearrange the checking logic to be before the experiment is called
* Changelog
2022-06-22 16:45:31 +08:00
Chi-Hsuan Huang
e412d5912b
Migrate `@woocommerce/data` item store to TS ( #33482 )
...
Migrate item store to TS
2022-06-21 16:46:30 +08:00
Chi-Hsuan Huang
7068c78101
Fix JS lint errors ( #33484 )
...
* Fix @woocommerce/data lint errors
* Fix internal-e2e-builds lint error
* Fix lint errors
2022-06-21 16:37:34 +08:00
Moon
dc70bdfae4
Remove two-col task list experiments ( #33426 )
...
* Remove two-col task list experiments
* Add changelog
2022-06-16 13:51:46 -07:00
RJ
a78670bfec
Updated @automattic/tour-kit to 1.1.1 which has live resize functionality ( #33452 )
2022-06-16 15:49:03 +08:00
Chi-Hsuan Huang
ea194237a3
Fix product tour TypeError when reading innerHTML ( #33448 )
...
* Fix product tour TypeError when reading innerHTML
* Add changelog
2022-06-16 14:02:28 +08:00
Ilyas Foo
ced9207a5d
Remove obselete experiment calls ( #33449 )
...
* Remove woocommerce_test_experiment
* Remove woocommerce_tasklist_progression
2022-06-16 13:06:08 +08:00
Ilyas Foo
090822eabf
Update product task experiment names ( #33428 )
...
* Update product task experiment names
* Changelog
* Fix lint
2022-06-15 16:34:24 +08:00
Joel Thiessen
183ac65c82
Adding context property to tasklist tracks event, introducing LayoutContext ( #33287 )
2022-06-14 11:31:50 -07:00
Ilyas Foo
27041efdc5
Add event tracking product page spotlight tour ( #33400 )
...
* Update WooStep to have name in meta
* Add useProductStepChange hook and use it to detect form value changes in product tourkit, added tracking for tour view, tour dismiss, tour complete, and step complete
* Add tour view, tour dismiss, tour completion track to old product walkthrough
* Changelog
* Fix test
* Add listener to publish button for product spotlight tour
* Add track for old walkthrough publish button
2022-06-14 16:19:32 +08:00
Chi-Hsuan Huang
94367ca559
Migrate `@woocommerce/data` onboarding store to TS ( #33401 )
...
* Migrate onboarding data store to TS
* Update deprecated-tasks.tsx type annotations
* Fix onboarding resolvers
2022-06-14 10:23:40 +08:00
Chi-Hsuan Huang
8fb9664b7a
Fix product tour spotlight location ( #33395 )
2022-06-14 10:22:43 +08:00
Adrian Duffell
1e03b68598
Update onboarding email marketing checkbox default to false ( #33292 )
2022-06-13 09:55:57 +08:00
Joshua T Flowers
935f915cb5
Update scrollbar hover styles in new navigation ( #33313 )
...
* Update scrollbar hover styles in new navigation
* Update contrast ratio
* Add Firefox scrollbar properties
* Fix scrollbar-color and scrollbar-width values
Co-authored-by: Matt Sherman <matt@jam123.com>
2022-06-10 12:24:02 -04:00
Chi-Hsuan Huang
558e5e322e
Fix continue button is enabled when email is null in setup wizard ( #33362 )
...
* Fix continue button is enabled even when email is null in setup wizard
* Add changelog
2022-06-10 10:35:11 +08:00
Chi-Hsuan Huang
a3d42be6b0
Fix setup wizard click button loading state ( #33358 )
...
* Fix setup wizard usage button loading state
* Add e2e tests for usage button loading state
2022-06-09 17:30:06 +08:00
Chi-Hsuan Huang
04a763d389
Add product page spotlight tour ( #33268 )
...
* Add product-tour admin script
* Update class-wc-admin-pointers.php to show experimental product tour
* Remove unnecessary window.onload
* Replace add new button with Enable guided mode button for product editing
* Show tour when tutorial query = true
* Add logic to show new tour only when a user select the physical product template
* Update product tour last step button text
* Add auto-scroll effect
* Fix i18n text
* Use bottom-start placement and align the arrow to the left
* Update pnpm-lock.yaml
* Update product tour effects
* Add changelog
* Add doc comments & check for tour-kit
* Add focus elements to product tour and wait initial element for tour showup
* Use spotlight query param to toggle new product tour feature
* Update wait seconds
* Update border style for product description & short description when editor is focused
* Add experimental-product-tour feature flag
* Refactor product-tour and support html editor focus style
Co-authored-by: moon <moon.kyong@automattic.com>
2022-06-09 13:02:40 +08:00
Chi-Hsuan Huang
62313708aa
Add `tasklist_cancel_load_sample_products_click` event track for product task ( #33327 )
...
* Add tasklist_cancel_load_sample_products_click event track for product task
* Add changelog
2022-06-08 09:39:14 +08:00
Chi-Hsuan Huang
a2813267eb
Fix script version parameter for async chunks ( #33332 )
...
* Fix webpack script version parameter for JS chunks
* Fix webpack script version parameter for CSS chunks
2022-06-07 21:35:04 +08:00
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
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
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
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
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
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
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
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
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
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
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
fc74c42fe0
Merge branch 'trunk' into add/wc-payment-gateways-banner
2022-04-29 09:11:20 +08: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
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
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
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
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
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
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
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
Ilyas Foo
3668ea36c5
Small refactor to consolidate logic
2022-04-14 17:09:10 +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
RJChow
fdd9b1bbb8
Added type guard for locale and unit tests for isAddressFieldRequired
2022-04-14 12:53:45 +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
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
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
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
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
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
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
Sakri Koskimies
b6310900de
Fix TableCard component docs
2022-04-08 11:21:53 +03: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
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
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
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
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
b9eeb4991e
Fix reminder-bar.scss lint error
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
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
c281ddb820
Add progress header bar to task list experiment
2022-03-24 15:25:06 -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
Lourens Schep
25d6b6d528
Add reminder bar for task list experiment
2022-03-22 12:28:58 -03:00
Chi-Hsuan Huang
3dc5f95254
Update test mocks
...
Fix lint
2022-03-22 11:24:58 +08:00
Chi-Hsuan Huang
24595bd2cb
Fix jest config paths
2022-03-21 18:28:05 +08: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
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
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
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
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
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
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
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
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
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
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