Joel Thiessen
3ee60dc833
Fixing an unwanted page refresh when using Woo Navigation ( https://github.com/woocommerce/woocommerce-admin/pull/7615 )
...
* Adding changelog
* Fixing page refresh on woo navigation
* Narrowing scope of navigation slot fills
2021-09-15 09:42:54 -07:00
Jacob Sewell
3b3472595e
Fix/7548 set up marketing tools title ( https://github.com/woocommerce/woocommerce-admin/pull/7640 )
...
* Fix Marketing tools header: add missing page title for marketing task.
* Add changelog.
* Add PR number to changelog entry for issue woocommerce/woocommerce-admin#7548 .
Co-authored-by: Jacob Sewell <jacob.sewell@automattic.com>
2021-09-14 09:40:45 -05: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
Fernando
2f1b03cc29
Add toggle to experimental task item ( https://github.com/woocommerce/woocommerce-admin/pull/7632 )
...
* Add toggle to experimental task item
This commit adds a toggle to experimental task item
* Fixed onClick for expandable tasks
* Add changelog
* Fixed changelog
# Conflicts:
# packages/experimental/CHANGELOG.md
* Add callback
* Fixed class name
* Add useEffect to experimental-list
* Fixed tests
* Fixed experimental-list useEffect
* Add callback to Home screen task list
* Fixed missing border error
* Fixed wrapper classes
* Fixed lint
* Added missing semicolon
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-09-09 15:30:56 -03:00
louwie17
7f38f6fd0a
Feature/7319 add woocommerce com data ( https://github.com/woocommerce/woocommerce-admin/pull/7553 )
...
* Add woocommerce.com data source poller
* Change data source back to .com
* Fix namespace
* Make use of the sub_title prop to display payment cards
* Fix some styling issue and add TS types
* Rename admin script to keep it more generic
* Add br tag as allowed, and update expected data format
* Update styling
* Address PR feedback
2021-09-09 09:25:13 -03:00
louwie17
4c4161ac3c
Render psuedo wc pay payment gateway in payment method table ( https://github.com/woocommerce/woocommerce-admin/pull/7550 )
...
* Render psuedo wc pay payment gateway in payment method table
* Fix lint errors
* Fix lint error
* Add setup event and make use of script_assets file
* Left align payment icons
* Fix feature import and update pageview track
* Fix broken test and add an extra one
* Fix payment method ordering persistance
* Remove the use of psuedo and addressed several PR related feedback
* Fix PHP lint errors
* Make sure track props use underscore
* Fix test
* Update comment
* Add await
2021-09-08 13:41:00 -03:00
louwie17
016a355623
Only display expanded content when expanded is true ( https://github.com/woocommerce/woocommerce-admin/pull/7611 )
...
* Only display expanded content when expanded is true
* Add changelogs
* Fix test
2021-09-03 08:20:22 -03: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
Joshua T Flowers
6300e8aacd
Add task list components to consume task list REST API ( https://github.com/woocommerce/woocommerce-admin/pull/7556 )
...
* Add initial task list render
* Add task list item render
* Separate task list menu component
* Fix click handling for tasks
* Add task started count data
* Scroll to top after selecting task
* Handle PR feedback
* Handle PR feedback round 2
2021-09-01 17:28:24 -04:00
louwie17
d86864275b
Adjust marketing completion logic ( https://github.com/woocommerce/woocommerce-admin/pull/7586 )
...
* Add woocommerce_task_list_visited_tasks option for marketing task completion
* Add changelog
* Use trackedCompletedActions to track completed actions
* Change completed action name
* Check # of installed extension for the completion logic
* Do not update completed action if marketing already exists
Co-authored-by: Moon <moon.kyong@automattic.com>
2021-09-01 14:02:44 -07:00
louwie17
b8fc676b48
Adjust task item class name to prevent conflicts with older versions ( https://github.com/woocommerce/woocommerce-admin/pull/7593 )
...
* Adjust task item class name to prevent conflicts with older versions
* Fix styling lint errors
* Add changelog
* Fix more lint errors
2021-08-31 08:16:19 -07: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
Moon
e6833b19eb
CSS override for the plugin header ( https://github.com/woocommerce/woocommerce-admin/pull/7598 )
2021-08-30 20:09:57 -07:00
Moon
0a1a07cc54
Use !important to force padding:0 ( https://github.com/woocommerce/woocommerce-admin/pull/7594 )
...
* Use !important to force padding:0
* Remove card body component
2021-08-30 12:59:05 -07:00
Fernando
5f664bdade
Fix marketing task visibility ( https://github.com/woocommerce/woocommerce-admin/pull/7580 )
...
* Fixed marketing task visibility
This commit fixes the marketing task visibility
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-08-30 14:21:04 -03: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
Rua Haszard
0225ffdb8d
show Pinterest for WooCommerce in `Marketing > Installed` ( https://github.com/woocommerce/woocommerce-admin/pull/7417 )
...
* show Pinterest for WooCommerce in `Marketing > Installed`
* tweak Pinterest bounding rect so padding is consistent with other icons
* add changelog entry
* add testing instructions
* tweak wording for clarity
* link to correct Pinterest admin settings URL
* detect if Pinterest is set up & link to onboarding if appropriate
* add utm_medium campaign link tracker tag to docs link
* change all the logs 🪵
* Remove redundant changelog entry from readme
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* remove todo for Pinterest onboarded/setup status (now implemented)
Co-authored-by: Rua Haszard <rua@automattic.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2021-08-26 15:47:17 +12:00
louwie17
dda9d120b6
Add HK and SG countries to back up wc pay supported lists ( https://github.com/woocommerce/woocommerce-admin/pull/7558 )
...
* Add HK and SG countries to back up wc pay supported lists
* Add changelog
2021-08-25 16:28:04 -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
louwie17
c6abb21840
Fix country region select with autocomplete ( https://github.com/woocommerce/woocommerce-admin/pull/7497 )
...
* initial refactor
* Fix auto fill and write tests
* Removed autofill from country/region and added support for abbreviation regions
* Add changelog
* Add changelog for the component package
* Fix clear form for autofill
2021-08-23 14:36:00 -03:00
Joshua T Flowers
7cb06f00fd
Add tasks feature flag ( https://github.com/woocommerce/woocommerce-admin/pull/7522 )
...
* Add feature flags for tasks feature
* Add tasks initial render and placeholder to layout
* Fix lint errors
2021-08-23 10:29:20 -04:00
Jeff Stieler
d3e940208e
Refactor package style builds ( https://github.com/woocommerce/woocommerce-admin/pull/7531 )
...
* Build experimental package CSS with webpack.
* Move style-only webpack config to reusable private package.
* Update other packages to use webpack for style builds.
* Add tsbuildinfo to clean scripts.
* Fix main start script.
* Remove defunct package build scripts.
* Move client/ dependencies for style builds.
* DRY.
* Remove defunct IE stylesheet definitions.
* Add missing RTL setup for onboarding styles.
* No need to export a function.
* Add changelog.
* Fix README.
* Revert concurrently script path change.
2021-08-19 10:15:59 -04: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
Moon
affea0b25d
Set default value for orders var ( https://github.com/woocommerce/woocommerce-admin/pull/7506 )
...
* Set default value for orders var
* Add changelog
* Add PR # to the changelog
* Return default orders in the early return statement
* Adding the default value for the order var
* Revert the early return changes
2021-08-13 12:27:54 -07:00
David Levin
a53c618138
Update analytics card header text styles ( https://github.com/woocommerce/woocommerce-admin/pull/6506 )
...
* Update analytics card header text styles
* Add changelog entry
* Replace snapshot tests
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2021-08-13 15:06:32 -04:00
David Levin
c728cced1f
Sentence case all the things analytics ( https://github.com/woocommerce/woocommerce-admin/pull/6501 )
...
* Sentence case all the things
* Update a few more things that were missed on the first round
* update documentation titles to use title case
* Add changelog
* Handle PR feedback
* Revert readme changelog changes
* Revert changes to ALT text in dev documentation
* Revert a change to ALT text in dev documentation
* Fix failing tests
Co-authored-by: David Levin <davidlevin@Davids-MacBook-Pro-2.local>
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2021-08-13 14:54:24 -04:00
Francesco
c1730d16f1
feat: add shipping marketplace recommendations ( https://github.com/woocommerce/woocommerce-admin/pull/7446 )
2021-08-11 17:09:32 -05: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
Moon
8f7101711d
Set padding: 0 to override Gutenberg style ( https://github.com/woocommerce/woocommerce-admin/pull/7488 )
...
* Set padding: 0 to override Gutenberg style
* Add changelog
* Fix typo
2021-08-09 14:36:32 -07:00
louwie17
87d386ea85
Make sure defaultSections is a unique object, so we do not remove icon ( https://github.com/woocommerce/woocommerce-admin/pull/7475 )
...
* Make sure defaultSections is a unique object, so we do not remove icon by accident
* Add changelog
* Remove un needed change
* Update changelog
2021-08-09 17:32:51 -03:00
Ilyas Foo
f696474e97
Fix blank screen on analytics categories when searching ( https://github.com/woocommerce/woocommerce-admin/pull/7482 )
...
* Fix unupdated API for analytics search items
* Update changelog
* Update changelogs/fix-7473-blank-screen-search-categories
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2021-08-09 17:28:49 +08:00
Ilyas Foo
178e1ba209
Fix all links with hash to behind query parameters ( https://github.com/woocommerce/woocommerce-admin/pull/7483 )
...
* Fix all links with hash to properly behind query parameters
* Update changelog
2021-08-09 17:27:54 +08:00
Dat Hoang
d001ca23f0
Update component Table to align texts and numeric a bit smarter ( https://github.com/woocommerce/woocommerce-admin/pull/7431 )
...
* Update Table components to align texts and numeric a bit smarter
Text fields are left-aligned and numeric values should be right-aligned.
* Update a snapshot test
npm run test:client -- --updateSnapshot client/analytics/components/leaderboard/test/index.js
* Add tests for property isLeftAligned
2021-08-09 08:04:06 +07:00
Joshua T Flowers
7de9de823d
Don't show the marketing task if no marketing tasks exist ( https://github.com/woocommerce/woocommerce-admin/pull/7460 )
2021-08-05 13:10:48 -04:00
Joshua T Flowers
aaf64e7423
Add tracks to marketing manage button click ( https://github.com/woocommerce/woocommerce-admin/pull/7467 )
2021-08-05 12:26:57 -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
Joshua T Flowers
f474fd5fe8
Add marketing task completion check and tests ( https://github.com/woocommerce/woocommerce-admin/pull/7451 )
...
* Extract extension list transformation logic
* Check for installed marketing extensions in the task list
* Add tests for marketing extension utils
* Remove use of useMemo in non-component
2021-08-04 10:55:15 -04:00
Joshua T Flowers
d678d622f4
Delete free extensions transient on WCA update ( https://github.com/woocommerce/woocommerce-admin/pull/7454 )
...
* Delete free extensions transient on WCA update
* Rename extensions feature name
2021-08-04 09:23:47 -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
Francesco
6e62c736ca
refactor: payment recommendations eligibility ( https://github.com/woocommerce/woocommerce-admin/pull/7447 )
2021-08-02 16:38:14 -05:00
Joshua T Flowers
16e7c8cd55
Add free extensions data store ( https://github.com/woocommerce/woocommerce-admin/pull/7420 )
...
* Add free extensions to onboarding data store
* Hook up extensions list to onboarding data store
2021-08-02 17:12:29 -04:00
Joshua T Flowers
6e2782c391
Separate installed plugins from plugin lists ( https://github.com/woocommerce/woocommerce-admin/pull/7419 )
...
* Separate installed plugins from plugin lists
* Only show plugin lists when plugins exist
* Use installedExtensions for tracks
* Fix boolean check on list plugin length
* Fix text style changes with Gutenberg Text component
* Update to match new designs for plugin list
* Skip non-allowed lists for installed plugins
* Add changelog entry
* Handle styling feedback
2021-08-02 16:42:59 -04:00
Ilyas Foo
0980fc4d39
Add additional countries to WCPay for business features and payment task fallback ( https://github.com/woocommerce/woocommerce-admin/pull/7436 )
...
* Add AT, BE, NL, PL, PT, and CH to business features and payment task for WCPay plugin
* Add changelog
2021-08-02 14:21:44 +08:00
Joshua T Flowers
7167242dfb
Add marketing extensions task to task list ( https://github.com/woocommerce/woocommerce-admin/pull/7383 )
...
* Add initial plugin list components and marketing task
* Add marketing task styles
* Fix action button alignment
* Only allow specific plugin lists
* Add button to activate already installed plugins
* Record event when marketing plugin is installed
* Update plugin list when plugins are installed or activated
* Disable and set buttons as busy when installing/activating
* Update data source to use v2 controller
* Add changelog entry
2021-07-29 12:10:53 -04:00
Paul Sealock
f5de7ef892
Jest: Update to version 27 ( https://github.com/woocommerce/woocommerce-admin/pull/7430 )
...
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-07-29 13:30:22 +12:00
Sam Seay
17730079a8
Display green indicator for a drop in refunds in report summary ( https://github.com/woocommerce/woocommerce-admin/pull/7357 )
...
By adding a `isReverseTrend` prop we can pass to `SummaryNumber` we can indicate that a negative trend in refunds is a good thing and therefore display a green indicator.
2021-07-28 12:50:01 +12:00
Moon
8045c92b96
Increase per_page value for search results on the Analytics pages. ( https://github.com/woocommerce/woocommerce-admin/pull/7385 )
...
* Accept additional query options
* Set search result per_page to 100
* Add changelog
* Remove unnecessary spread
2021-07-27 13:11:32 -07:00
Moon
8468ca9512
Match stock status value in CSV download to the table ( https://github.com/woocommerce/woocommerce-admin/pull/7284 )
...
* Match stock status in CSV download to the table
* Add changelog
* Set status value from stockStatuses
* Update stock status for server-side export
* Replace status value in the controller
* Remove unnecessary call to constructor
* Remove changelog from readme
* Add changelog
2021-07-27 13:11:16 -07: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
Joel Thiessen
31804aeba3
Refactoring report table withSelect to fix issues with the table data populating correctly ( https://github.com/woocommerce/woocommerce-admin/pull/7355 )
2021-07-26 12:11:44 -07:00
Ilyas Foo
069537100e
Fix recommended card Gutenberg CSS conflict ( https://github.com/woocommerce/woocommerce-admin/pull/7409 )
...
* Add style fix
* Add fix for card footer as well
* Changelog
* Replace fix with removing CardBody
* Cleanups
* Remove CardBody import reference
* Remove CardHeader size and change size in Card, CSS cleanup
2021-07-26 15:34:08 -03:00
louwie17
7ca3a0ad63
Update help tooltip styling ( https://github.com/woocommerce/woocommerce-admin/pull/7414 )
...
* Update help tooltip styling
* Add changelog
2021-07-26 10:26:58 -03:00
Joshua T Flowers
babefd0d47
Fix Gutenberg CardBody styles for task card ( https://github.com/woocommerce/woocommerce-admin/pull/7411 )
...
* Fix Gutenberg CardBody styles for task card
* Add changelog entry
2021-07-23 09:53:39 -04:00
louwie17
5140106c39
Fix orders panel loading ( https://github.com/woocommerce/woocommerce-admin/pull/7395 )
...
* Using order items endpoint instead of reports and added customer and products support
* Add total_formatted key
* Converted component to functional component and memoized getItems function
* Using orders meta table instead of reports product_lookup table
* Add changelog entry
2021-07-23 09:47:23 -03:00
Joshua T Flowers
8a040b99d9
Add scope to BACS slotfill ( https://github.com/woocommerce/woocommerce-admin/pull/7405 )
...
* Update e2e matcher for tasklist header
* Add scope to BACS slotfill
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-07-22 17:48:06 -04:00
Joel Thiessen
66ab35bbc7
Adding links to help panel for marketing task ( https://github.com/woocommerce/woocommerce-admin/pull/7384 )
2021-07-21 13:48:54 -07:00
Moon
6f163b4cee
Fix/7358 stock api performance improvement ( https://github.com/woocommerce/woocommerce-admin/pull/7377 )
...
* Add a new endpoint to get low in stock products.
* Set images and attributes property
* WIP -- set last order date
* Do not join postmeta if store does not have any custom stock threshold
* Combine get_query() and get_query_for_sitewide_threshold() into one method and a few code clean ups
* Support status field
* Use new products/low-in-stock endpoint to count low in stock products.
* Use new products/low-in-stock to get low in stock products data.
* Remove low_in_stock support
* Deprecate low_in_stock
* Use the new ProductsLowInStock when low_in_stock is set
* Set cache-control header for the new endpoint
* Use wc_rest_prepare_date_response to format the response date
* Extract low in stock test to a separate file
* Make is_using_sitewide_stock_threshold_only protected
* Revert Products.php changes
* Add back low in stock test to products test
* Remove unnecessary if
* Make the controller final
* Deprecate low_in_stock
* Bug fix -- last_order_date was not setting correctly for variation post type. This commit fixes it
* Add changelog
2021-07-20 16:47:22 -07:00
Joel Thiessen
6b31d81f3d
Fixing a few issues with tracks events in gateway suggestions ( https://github.com/woocommerce/woocommerce-admin/pull/7304 )
...
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2021-07-19 15:23:06 -07:00
Ilyas Foo
69b0273206
Add lazy loading by checking panel open status and lint fix ( https://github.com/woocommerce/woocommerce-admin/pull/7379 )
...
* Add lazy loading by adding panel open condition and lint fix
* Add changelog
2021-07-19 14:56:41 +08: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
Joshua T Flowers
681cbf43fc
Redirect to homescreen after payment gateway setup ( https://github.com/woocommerce/woocommerce-admin/pull/7332 )
...
* Redirect to homescreen after payment gateway setup
* Remove unused payment gateway redirects
2021-07-14 19:00:01 -04:00
Joshua T Flowers
d14d489a05
Invalidate task status when enabling a payment gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7330 )
2021-07-14 18:59:43 -04: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
Moon
166f590571
Fix undefined method error when setting up WC Tax ( https://github.com/woocommerce/woocommerce-admin/pull/7344 )
...
* Make this refers to the same class by binding this
* Add changelog
2021-07-14 12:50:30 -07:00
Moon
303e6ff84c
Set default value for performanceIndicators var ( https://github.com/woocommerce/woocommerce-admin/pull/7343 )
...
* Set default value for performanceIndicators var
2021-07-13 20:09:02 -07:00
Sam Seay
48ade7786b
Remove deprecated components in prep for release 8.0.0 of @woocommerce/components ( https://github.com/woocommerce/woocommerce-admin/pull/7293 )
2021-07-14 10:40:55 +12:00
Paul Sealock
3b2a153580
AdvancedFilters: Create workable defaults for Reports that don't have them ( https://github.com/woocommerce/woocommerce-admin/pull/7186 )
...
* on Filter update, keep all queries
* update _x translator instructions
* fix revenue filters
* better default advFilter
* fix stock filters
* revert readme changelog
2021-07-14 10:17:51 +12:00
Moon
db2b227d78
Render a spinner while woocommerce_setup_jetpack_opted_in is being loaded ( https://github.com/woocommerce/woocommerce-admin/pull/7269 )
...
* Preload woocommerce_setup_jetpack_opted_in option to prevent TOS text flickering
* Add changelog
2021-07-13 12:47:36 -07: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
Paul Sealock
6ea9914ac0
Hook reference: Add SlotFill support ( https://github.com/woocommerce/woocommerce-admin/pull/6833 )
...
* add @slotFill to process
* add types
* committing data
* use filter instead of hook
* changelog
* add action type
* update paths to ignore builds and node_modules
* changelog
* Add action data type
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-09 11:01:43 +12:00
louwie17
4cdca48c6e
Fix transient overlapping adjacent content ( https://github.com/woocommerce/woocommerce-admin/pull/7302 )
...
* Overwrite width to auto given transients are displayed fixed
* Add changelog
2021-07-08 12:21:56 -03: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
Hsing-yu Flowers
bcf063a997
Make WooCommerce-admin full-screen minimum height 100vh important ( https://github.com/woocommerce/woocommerce-admin/pull/7230 )
...
* Add 100vh important on full screen
* Add changelog
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-08 10:33:15 -04:00
Joshua T Flowers
335cfe6554
Use payment gateway suggestion title instead of local plugin names ( https://github.com/woocommerce/woocommerce-admin/pull/7266 )
...
* Use payment gateway suggestion title instead of local plugin names
* Update Stripe gateway title
2021-07-07 17:41:50 -04: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
Joel Thiessen
af97dd68b5
Fixing logic around recommended gateways in payment suggestions feature ( https://github.com/woocommerce/woocommerce-admin/pull/7231 )
2021-07-05 16:33:03 -07:00
Paul Sealock
d7bf615301
Remove unused WC Pay feature flags ( https://github.com/woocommerce/woocommerce-admin/pull/7273 )
...
* remove WC Pay feature flags
* remove WC Pay wcpay/support-international-countries flag
* wcpay countries PHP
* changelog
2021-07-06 10:15:18 +12:00
Paul Sealock
1701b6ce15
Analytics Flag: Remove performance indicators when disabled ( https://github.com/woocommerce/woocommerce-admin/pull/7234 )
...
* remove performance indicators if analytics off
* changelog
* Hide the display option if there is only content for a single column
2021-07-01 11:16:11 +12:00
Paul Sealock
8c1db8a2cf
Feature Flags: Removed unused flags ( https://github.com/woocommerce/woocommerce-admin/pull/7233 )
...
* remove analytics-dashboard/customizable
* remove analytics-dashboard
* changelog
2021-06-30 11:47:38 +12:00
louwie17
ee791957ce
Make use of memoization to prevent DynamicForm re-initialization ( https://github.com/woocommerce/woocommerce-admin/pull/7256 )
...
* Make use of memoization to prevent DynamicForm re-initialization
* Use rendered element for defaultForm to keep component reference
* Fix formatting
2021-06-29 17:06:31 -03:00
Joshua T Flowers
7e20ebf866
Fix successful gateway configuration message ( https://github.com/woocommerce/woocommerce-admin/pull/7251 )
...
* Fix successful gateway configuration message
* Update language from connect to configure
* Fix connect component tests
2021-06-29 12:02:21 -04:00
Joel Thiessen
b176eeca04
Adding tests for Payment Gateway List component ( https://github.com/woocommerce/woocommerce-admin/pull/7201 )
2021-06-28 13:57:25 -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
louwie17
8b7b8b2011
Add E2E tests for analytics overview screen section removal ( https://github.com/woocommerce/woocommerce-admin/pull/7238 )
...
* Add E2E tests for analytics overview screen section removal
* Fix build errors
* Add tests for moving sections up and down
2021-06-24 17:08:16 -03:00
louwie17
3d71cc8171
Vertical CSS transition component helper ( https://github.com/woocommerce/woocommerce-admin/pull/7203 )
...
* Add new VerticalCSSTransition component for vertical transitions
* Made use of VerticalCSSTransition in taskItem
* Updated vertical css transition to add support for appear
* Add changelog
* Fix task list tests
* Fix test lint error
* Use delete key instead of setting it to undefined
2021-06-24 11:18:59 -03:00
louwie17
06f99af525
Use gridicons as ReactElement versus SVG to fix blank screen ( https://github.com/woocommerce/woocommerce-admin/pull/7237 )
...
* Use gridicons as ReactElement versus SVG
* Add changelog
2021-06-24 11:18:29 -03: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
Joshua T Flowers
86ee870873
Add text for manage button when no help text exists ( https://github.com/woocommerce/woocommerce-admin/pull/7191 )
...
* Add text for manage button when no help text exists
* Update manage button text to set up
* Handle PR feedback
2021-06-22 20:07:03 -04:00
Joel Thiessen
a5af92947b
Fixing button state logic for payment gateways ( https://github.com/woocommerce/woocommerce-admin/pull/7200 )
2021-06-21 11:27:41 -07:00
Taha Paksu
399ef81b11
Fix currency display errors in homescreen order activity card ( https://github.com/woocommerce/woocommerce-admin/pull/7181 )
2021-06-15 21:02:14 +03:00
Joshua T Flowers
16a02e52b0
Add Payment Gateway Suggestion Setup related component tests ( https://github.com/woocommerce/woocommerce-admin/pull/7163 )
...
* Remove separate isComplete step logic
* Add Setup related component tests
2021-06-15 09:13:12 -04:00
Joshua T Flowers
bacd58dc03
Add tests for Payment Gateway Connect component ( https://github.com/woocommerce/woocommerce-admin/pull/7166 )
2021-06-15 09:12:35 -04: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
Fernando
602056952f
Add `slotFill` to Abbreviated Notification panel ( https://github.com/woocommerce/woocommerce-admin/pull/7091 )
...
* Add `slotfill` to Abbreviated Notification panel
This commit adds `slotfill` approach to Abbreviated Notification panel
# Conflicts:
# client/header/activity-panel/index.js
# client/header/activity-panel/panels/inbox/inbox-panel.js
* Renamed `AbbreviatedNotification` slot
# Conflicts:
# client/header/activity-panel/panels/inbox/inbox-panel.js
* Renamed `hasExtraFills`
# Conflicts:
# client/header/activity-panel/index.js
# client/header/activity-panel/panels/inbox/inbox-panel.js
* Added changelog
* Fixed hasExtendedNotifications check
* Fixed changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-06-11 10:37:21 -03:00
Joel Thiessen
01588f2168
Fixing local WCPay payment task and refactoring for dumber components ( https://github.com/woocommerce/woocommerce-admin/pull/7151 )
2021-06-10 10:10:42 -07: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
Sam Seay
77906db0ff
Use sass-migrator to migrate division to math.div ( https://github.com/woocommerce/woocommerce-admin/pull/7136 )
2021-06-10 17:09:27 +08:00
Francesco
6175ad87c2
chore: change WCS onboarding copy ( https://github.com/woocommerce/woocommerce-admin/pull/7148 )
...
* chore: change WCS onboarding copy
* update readme changelog
2021-06-10 13:35:21 +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