Joshua T Flowers
126707eeab
Replace old task list option calls with data store selectors ( https://github.com/woocommerce/woocommerce-admin/pull/7820 )
...
* Add endpoint to unhide task list
* Rename show method to unhide
* Replace requests for hidden task list options
* Replace unhide task list requests
* Replace task list complete checks
* Replace dismiss option requests
* Remove complete task option check
* Fix up panel buttons
* Update finished setup to wait for task list resolution
* Create selector for getting a single task list
* Add selector for single task
* Fix task list panel visibility
* Add changelog entry
* Fix empty product types in profiler data
* Revert to checking for hidden task list
2021-11-15 15:57:13 -05:00
Fernando
6e26f66564
Fix marketing extensions tracks ( https://github.com/woocommerce/woocommerce-admin/pull/7908 )
...
* Fix `Business Details` step tracks
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-09 12:36:26 -03:00
Joshua T Flowers
d5bdb285d8
Add marketing extensions back to obw ( https://github.com/woocommerce/woocommerce-admin/pull/7831 )
...
* Add back in extension list title
* Separate task list and obw plugin lists
* Remove mailpoet from basics list
* Bump extensions REST API to v3
* Add changelog entry
2021-10-29 08:47:05 -04:00
louwie17
f16039684f
Tests for task list components ( https://github.com/woocommerce/woocommerce-admin/pull/7757 )
...
* Added first set of task-list tests
* Fix event prefix and add two extra task list tests
* Add test for task list item
* Update package to allow tests with slotfill to work
* Add tests for Task component
* Add tasks tests
* Revert package.json changes
* Update prefixEvent function and revert package.json changes
* Remove class additions to body tag
* Add missing styles to tasks container as well
2021-10-15 16:56:17 -03:00
Fernando
7085834b19
Add check before changing the state ( https://github.com/woocommerce/woocommerce-admin/pull/7794 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-13 13:16:32 -03:00
Fernando
f20113fa01
Add country validation to subscription inclusion ( https://github.com/woocommerce/woocommerce-admin/pull/7777 )
...
* Add country validation
* Add OnboardingProductTypes
* Add OnboardingProductTypes
* Add country validation to product task
* Add `productTypes` data handling
* Add country validation and new productTypes handling
* Fix to get `productTypes` from a SSOT
* Add `invalidateResolution` for `getTaskLists`
* Fixed testing instructions
* Fix `isTaskListHidden` issue
* Fixed product type
* Added constant `EMPTY_ARRAY` to `selectors.ts`
* Fixed constant `EMPTY_ARRAY`
* Moved `invalidateResolutionForStoreSelector` into OBW
* Updated testing instructions
* Updated testing instructions
* Fixed testing instructions
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-13 13:15:47 -03:00
Fernando
f35fae4482
OBW - Fix WooCommerce Payments installation footnote visibility ( https://github.com/woocommerce/woocommerce-admin/pull/7756 )
...
* Fixed `wc-pay` footnote visibility
* Added validation before `setState`
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-06 13:09:20 -03:00
Fernando
5d7661eeb9
Store Profiler and Product task - include Subscriptions ( https://github.com/woocommerce/woocommerce-admin/pull/7734 )
...
* Add flag
* Add free subscription to Product Types step
* Show copy and install WC-Pay when `Subscriptions` is checked
* Fixed `Start with a template` description
* Added flag to product-types and small refactor
* Add test for subscriptions
* Fixed wc-pay installation in product-types step
* Refactor product-template-modal
# Conflicts:
# client/task-list/tasks/products/product-template-modal.js
# client/tasks/fills/products/product-template-modal.js
* Add more tests
* Refactor product types list
* Add wc-pay activation in store profiler
* Add `wc-pay filter in business details step
* Add redirection after selecting subscriptions template option
* Fix prop renamed
* Fix product-types list
* Add changelog
* Fix typo
* Add check to `Free features`
* Refactor `SelectiveExtensionsBundle`
* Add `is_activated` to `EvaluateExtension`
* Add validation to `ProductTemplateModal` component
* Removed useless import
* Add missing flags
* Fix list
* Add promise.all to `product-types`
* Removed useless validation
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-05 09:27:30 -03:00
Joshua T Flowers
4c0939288e
Get email prefill to avoid infinite loading state ( https://github.com/woocommerce/woocommerce-admin/pull/7612 )
2021-09-13 11:36:44 -04:00
Adrian Duffell
4c13bca528
Add Powered by Mailchimp text to newsletter sign-up label ( https://github.com/woocommerce/woocommerce-admin/pull/7619 )
...
* Add Powered by Mailchimp label text
* Vertically center confirmation checkbox
2021-09-03 19:13:31 +08:00
Adrian Duffell
6d23ab7ea1
Add newsletter signup to profiler ( https://github.com/woocommerce/woocommerce-admin/pull/7601 )
...
* Add email address field to store details step in OBW (https://github.com/woocommerce/woocommerce-admin/pull/7552 )
* Subscribe store_email to MailChimp (https://github.com/woocommerce/woocommerce-admin/pull/7579 )
* Add prefill for email field in OBW (https://github.com/woocommerce/woocommerce-admin/pull/7570 )
* Add error handling for email validation errors from backend (https://github.com/woocommerce/woocommerce-admin/pull/7590 )
* Remove OnboardingEmailMarketing note class (https://github.com/woocommerce/woocommerce-admin/pull/7595 )
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Moon <moon.kyong@automattic.com>
2021-08-31 12:39:04 +08:00
louwie17
aeaf96c715
Fix business step auto installing ( https://github.com/woocommerce/woocommerce-admin/pull/7585 )
...
* Only select installable extensions
* Add two tests to cover this use case
* Add changelog
* Fix lint error
2021-08-30 11:46:37 -03:00
louwie17
022f7a173a
Remove depreciated shared settings hook ( https://github.com/woocommerce/woocommerce-admin/pull/7480 )
...
* Initial set up for the WCAdminSettingsRegistry
* Make use of filter for admin settings
* Add wc/settings package and remove depreciated dropzone wrapper
* Make use of the getSetting function instead of accessing window directly
* Add comments
* Add changelog
* Remove un needed changes
* Update dropzone provider logic and fix styling
* Remove old css
2021-08-24 08:39:48 -03:00
Joel Thiessen
3591ee41a0
Making business details sticky in OBW ( https://github.com/woocommerce/woocommerce-admin/pull/7426 )
2021-08-16 15:34:33 -07:00
Joshua T Flowers
0ab7c7a3ec
Remove the preloaded onboarding options ( https://github.com/woocommerce/woocommerce-admin/pull/7338 )
...
* Remove unused options
* Remove preloade tracking option
* Remove preloaded wc_connect_options
* Remove preloaded modal options
* Refactor requesting options into task list component
* Remove preloaded dismissed and completed tasks
* Add changelog entry
* Wait for modal before attempting to dismiss
* Attempt to make closing welcome modal more robust
* Update the payment E2E tests to support new app flow
* Update isResolving selectors to hasFinishedResolution
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-08-10 14:58:01 -04:00
Joshua T Flowers
365fb30674
Update business details to use extensions data store ( https://github.com/woocommerce/woocommerce-admin/pull/7452 )
...
* Add default free extensions to REST API response
* Use data store to retrieve free extensions
* Add back in product link click tracks
* Handle visibility and evaluation server-side
* Update sprintf to use entire link tag
* Fix up remote free extensions rule evaluation
* Add visibility rules to mailpoet
* Fix fallback to default payment gateways if polling fails
* Add changelog entry
* Fix empty array check
Co-authored-by: Matt Sherman <matt@jam123.com>
2021-08-04 11:57:09 -04:00
Sam Seay
27e7c5831c
Update outgoing woocommerce.com links to include `utm_medium=product` ( https://github.com/woocommerce/woocommerce-admin/pull/7408 )
2021-08-04 08:56:43 +12:00
Joel Thiessen
05ede81c5f
Removing grow section from local free extensions in OBW ( https://github.com/woocommerce/woocommerce-admin/pull/7386 )
2021-07-27 09:05:14 -07:00
Fernando
4c236fe13c
Fixed OBW - Business details style ( https://github.com/woocommerce/woocommerce-admin/pull/7353 )
...
* Fixed OBW business details style
* Added changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-07-15 14:04:19 -03:00
Jeff Stieler
8e61f55017
Allow packages to be built in isolation. ( https://github.com/woocommerce/woocommerce-admin/pull/7286 )
...
* Use yarn instead of npm.
In prep for workspaces, since we're locked to npm < 7. See: https://github.com/woocommerce/woocommerce-admin/pull/7126#issue-661287749
* Initial workspace creation.
* Add initial tsc build to @woocommerce/number.
* Attempt to build experimental package.
* Try currency package.
* Define all packages as workspaces.
* Use tsconfig common to packages.
* Fix currency package build.
* Build csv-export with tsc.
* Try to build customer-effort-score with tsc.
* Fix JSX pragma.
* Build data package with tsc.
* Build date package with tsc.
* Build experimental package with tsc.
* Try to build explat package with tsc.
* Build navigation package with tsc.
* Build notices package with tsc.
* Build onboarding package with tsc.
* Build components package with tsc.
* Swap in package JS build into main script.
* Fix experimental package build.
* Try per-package css build with components.
* Try to run components package tests in isolation.
Broken on JSX in test files not being transformed.
* Move @woocommerce/wc-admin-settings into a package.
* Try to fix components package tests.
Fails because we aren't setting up the jest/jest-dom globals.
* Move JS test code to reusable (private) package.
* Enable incremental TS builds.
* Use workspaces to run JS tests.
* Use new jest configs for update snapshot scripts.
* Fix style builds.
* Fix package version in components.
* Fix client test debug and watch scripts.
* Update yarn lock.
* Update test-staged behavior.
* Try to fix storybook.
* Fix storybook.
* Update more npm commands to yarn.
* Add changelog.
* Fix lint errors.
* Update packages readme script references.
* Clean up unused gitignore match.
* Fix another npm command.
* Fix JS builds on watch.
* Fix start script.
* Fix start scripts for packages.
* Use tsc to build packages before tests
* yarn -> npm.
# Conflicts:
# package-lock.json
# package.json
* Fix linter error.
* Remove workspace definitions.
* Fix missing Fragment import.
* Fix package lock.
* Fix missing reference.
* Only build commonjs module for js-tests helper.
* Remove errant dependency from components.
* Remove noop scripts.
* Fix package JS build before testing.
* Revert noisy formatting changes.
* Fix precommit and test scripts.
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Revert babel config changes.
* chore(release): publish
- @woocommerce/components@7.2.0
- @woocommerce/csv-export@1.4.0
- @woocommerce/currency@3.2.0
- @woocommerce/customer-effort-score@1.1.0
- @woocommerce/data@1.4.0
- @woocommerce/date@3.1.0
- @woocommerce/dependency-extraction-webpack-plugin@1.7.0
- @woocommerce/eslint-plugin@1.3.0
- @woocommerce/experimental@1.5.0
- @woocommerce/explat@1.1.0
- @woocommerce/js-tests@1.1.0
- @woocommerce/navigation@6.1.0
- @woocommerce/notices@3.1.0
- @woocommerce/number@2.2.0
- @woocommerce/onboarding@1.1.0
- @woocommerce/tracks@1.1.0
- @woocommerce/wc-admin-settings@1.1.0
* Add script for running 'start' in a package.
* Remove yarn from gitignore.
* Update package changelogs, prep versions for release.
* Try to fix E2E tests after main merge.
* Some cleanup.
* Add changelog.
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-14 16:38:57 -04:00
Ilyas Foo
49dc897f61
Remove facebook extension from onboarding extensions fallback list ( https://github.com/woocommerce/woocommerce-admin/pull/7287 )
...
* Remove facebook marketing extension from fallback config
* Update changelog and testing instructions
* Update changelog to use the shiny new Jetpack changelogger
2021-07-13 11:15:51 +08:00
Mik
5893ddceb7
Change event name to reflect plugin name ( https://github.com/woocommerce/woocommerce-admin/pull/7276 )
...
* Change event name to reflect plugin name
* Update changelog
2021-07-08 15:56:49 +01:00
Moon
c632013700
Add missing translation strings in the business features section ( https://github.com/woocommerce/woocommerce-admin/pull/7268 )
...
* Add missing translations
2021-07-06 12:46:48 -07:00
Joshua T Flowers
41f3d8e99a
Remove old payment gateway task components ( https://github.com/woocommerce/woocommerce-admin/pull/7224 )
...
* Remove old payment gateway task components
* Move PaymentGatewaySuggestions up one directory
* Add feature check to tasks array
* Turn on payment gateway suggestions in all environments
* Handle PR feedback
* Use gateway suggestions from REST API in help panel
* Fix component path
* Remove BACS test due to SlotFill testing bug
* Await button selector
* Handle PR feedback round 2
2021-06-28 14:18:42 -04:00
Ilyas Foo
3b7c05a845
WordPress 5.8 compatibility UI fixes ( https://github.com/woocommerce/woocommerce-admin/pull/7255 )
...
* Add appropriate text props to supplement variant revamp
* Add font styles to navigation title since its removed in wp.components
* Add more missing styles
* Accidental change
* Add changelog
* Fix lint
* Update jest snapshots
2021-06-28 09:14:59 +08:00
Moon
8afd2eae10
Use saved form values when switching tabs ( https://github.com/woocommerce/woocommerce-admin/pull/7226 )
...
* Use saved values if available when switching tabs
* Add changelog
2021-06-23 22:04:23 -07:00
Ilyas Foo
8fbda8f572
RemoteFreeExtension hide bundle when all of its plugins are not visible ( https://github.com/woocommerce/woocommerce-admin/pull/7182 )
...
* Filter bundle for cases when all of its plugins are not visible
* Update changelog
2021-06-15 11:43:09 +08:00
louwie17
14fe529ebc
Wraps the dropdown icon in a button to allow keyboard usability ( https://github.com/woocommerce/woocommerce-admin/pull/7149 )
...
* Wraps the dropdown icon in a button to allow keyboard usuability
* Add changelog
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-06-10 17:11:45 +08:00
Ilyas Foo
2c8d9362ed
Fix error handling when remote free extension API returns empty array ( https://github.com/woocommerce/woocommerce-admin/pull/7147 )
...
* Assume empty arrays or null results from API response as error and render fallback list
* Changelog
2021-06-10 08:42:41 +08:00
Paul Sealock
478a399a52
Prepare Remote Free Extensions for release ( https://github.com/woocommerce/woocommerce-admin/pull/7144 )
...
* Prepare Remote Free Extensions for release
* make plugin list unique
* testing instructions
* changelog note
2021-06-09 22:43:09 +12:00
Ilyas Foo
4dfaf44539
Business features uncheck creative mail by default ( https://github.com/woocommerce/woocommerce-admin/pull/7139 )
...
* Add default selected value for free extensions, uncheck creative mail by default
* Add test
* Add changelog and testing instructions
2021-06-09 11:29:45 +08:00
Ilyas Foo
d936b649fc
Remove business step original flow ( https://github.com/woocommerce/woocommerce-admin/pull/7103 )
...
* Remove logic flags for business step A/B test
* Delete unused files
* Remove benefits step from profile wizard
* Update related e2e tests
* Update readme
* Rename SelectiveFeaturesBusinessStep to BusinessFeaturesList
2021-06-03 16:33:54 +08:00
Paul Sealock
abf0ddebda
apply better rules ( https://github.com/woocommerce/woocommerce-admin/pull/7008 )
2021-05-25 07:02:52 +12:00
Ján Mikláš
ee2e89a75f
Tweak: change MailPoet's title and description in Store Profiler ( https://github.com/woocommerce/woocommerce-admin/pull/6989 ) ( https://github.com/woocommerce/woocommerce-admin/pull/6990 )
...
* Tweak: change MailPoet's title and description in Store Profiler (https://github.com/woocommerce/woocommerce-admin/pull/6989 )
* Add a changelog entry
Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
2021-05-19 11:43:07 -07:00
Hsing-yu Flowers
9cce902c84
Update Form's documentation ( https://github.com/woocommerce/woocommerce-admin/pull/6708 )
...
* Rename onChangeCallback to onChange
* Add onChange documentation
* Update prop `touched` documentation
* Removd unused onChnage in the example
* Add changelog
* Handle feedback
* Deprecate onSubmitCallback
* Handle feedback 2
* Update new onSubmitcallbacks
* Handle feedback 3
Co-authored-by: Bec Scott <me@becdetat.com>
2021-05-18 14:24:24 +10:00
Paul Sealock
9c94852932
Consume Remote Free Extensions from UI ( https://github.com/woocommerce/woocommerce-admin/pull/6952 )
...
* transform data
* working
* better
* check for marketplace suggestions
* changelog
* copy initialInstallableExtensions before transform
* parse locales server side
* deep equality
* Match remote data to local data
* reflect changes on UI
* fix keys
2021-05-18 14:28:13 +12:00
Mik
820bf30e29
Replace marketing extension - Google Listings and Ads ( https://github.com/woocommerce/woocommerce-admin/pull/6939 )
...
* Replace google icon
* Remove note for Google Ads extension
* Replace extension in API OnboardingProfile
* Record event for new extension
* Replace extension in onboarding flow
* Replace extension benefits
* Change background colour of Google icon
* Fix svg warnings
* Add changelog entry
* Fix prettier error
* Add old note to obsolete list for removal
2021-05-10 10:56:47 +01:00
Sam Seay
82f94c0171
Fix the case of any mention of MailPoet. ( https://github.com/woocommerce/woocommerce-admin/pull/6924 )
2021-05-06 09:17:45 +12:00
Moon
011089246c
Exclude woocommerce shipping for stores that are only offering downlo… ( https://github.com/woocommerce/woocommerce-admin/pull/6917 )
...
* Exclude woocommerce shipping for stores that are only offering downloadable products
2021-05-04 17:32:24 -07:00
Ján Mikláš
684e469c64
Tweak: change MailPoet's title and description in Store Profiler ( https://github.com/woocommerce/woocommerce-admin/pull/6886 )
...
* Tweak: change MailPoet's title and description in Store Profiler (https://github.com/woocommerce/woocommerce-admin/pull/6882 )
* Add a changelog entry
2021-04-28 14:18:37 -04:00
Hsing-yu Flowers
529456c143
Get currency from `CurrencyContext` ( https://github.com/woocommerce/woocommerce-admin/pull/6723 )
...
* Get currency from `CurrencyContext`
* Add changelog
* Remove errant
Co-authored-by: Bec Scott <me@becdetat.com>
2021-04-28 12:54:49 +10:00
Moon
9fe84fbc3c
Disable the continue btn when plugins are being installed/activated ( https://github.com/woocommerce/woocommerce-admin/pull/6838 )
...
* Disable btn when plugins are being installed
2021-04-21 19:20:38 -07:00
Paul Sealock
7ab756b76c
Try ExPlat: Add A/A test ( https://github.com/woocommerce/woocommerce-admin/pull/6669 )
...
* Add basic ExPlat initialization
* add tsx support
2021-04-15 13:32:46 +12:00
Joshua T Flowers
eb6186a29c
Refactor payments to allow management of methods ( https://github.com/woocommerce/woocommerce-admin/pull/6786 )
...
* Add manage button for enabled and configured payments
* Enable methods only instead of toggling
* Update payment methods location
* Move ribbon to separate component
* Move setup container to separate component
* Move payment action to separate component
* Refactor payments to functional component
* Fix missing action props
* Fix broken onsetup callback
* Update payment method keys to match management pages
* Add changelog and testing instructions
* Revert key changes in favor of manageUrl
* Update e2e tests for payments
2021-04-14 15:26:50 -04:00
Duc Nguyen
e2043f9875
woocommerce/woocommerce-admin#6600 Add marginBottom setup wizard container ( https://github.com/woocommerce/woocommerce-admin/pull/6620 )
...
* woocommerce/woocommerce-admin#6600 Add marginBottom setup wizard container
* woocommerce/woocommerce-admin#6600 Add issue to changelog
* woocommerce/woocommerce-admin#6600 Correct changlog
Co-authored-by: Bec Scott <me@becdetat.com>
2021-03-30 14:49:31 +10:00
louwie17
babb964ca7
Add IE and NZ to the selective bundle install list ( https://github.com/woocommerce/woocommerce-admin/pull/6649 )
...
* Add IE and NZ to the selective bundle install list
* Add changelog and testing instructions
* Remove testing instructions
2021-03-24 09:30:20 -03:00
Moon
5c99f54828
Fix "Themes" step visibility bug in IE 11 ( https://github.com/woocommerce/woocommerce-admin/pull/6578 )
...
* Fix themes are not visible in IE 11
* Add CSS class for the first 40 card items
2021-03-22 10:01:53 -07:00
Sam Seay
e0fcee518a
Add tracking for the business step ( https://github.com/woocommerce/woocommerce-admin/pull/6575 )
2021-03-18 16:36:40 +13:00
Moon
fda300ff4f
Improve WC Shipping & Tax logic ( https://github.com/woocommerce/woocommerce-admin/pull/6547 )
...
* Improve WC Shipping & Tax logic
* Add changelog
* Simplify return statement
* Add test for filtering selected extensions
* Fix broken test
2021-03-17 01:22:33 -07:00
Joshua T Flowers
4ad0d142e4
Refactor profile wizard benefits step and add tests ( https://github.com/woocommerce/woocommerce-admin/pull/6583 )
...
* Refactor benefits component to functional component
* Update to useSelect and useDispatch
* Use state to store installing state
* Separate benefits components
* Add missing translator comments
* Don't show benefits screen when already completed
* Add benefits step tests
* Add changelog entry and testing instructions
2021-03-16 13:27:15 -04:00