Jacob Sewell
6aa8afa85a
Minor design update to marketing task ( https://github.com/woocommerce/woocommerce-admin/pull/7732 )
...
* Remove background color from marketing tool list header, increasee padding in plugin list, rearrange list borders.
* Changelog entry for 7642.
* Section heading tweaks: bottom padding, force uppercase.
* Move Marketing task plugin list changes into more specific stylesheet.
2021-10-06 12:26:27 -05:00
Fernando
aef7742b69
Add testing instructions to 7445 ( https://github.com/woocommerce/woocommerce-admin/pull/7759 )
...
* Add testing instructions
* Fix typo
* Fix release version
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-06 14:04:59 -03:00
Ron Rennick
5a8a019465
restore closed overview sections before testing ( https://github.com/woocommerce/woocommerce-admin/pull/7652 )
...
* restore closed overview sections before testing
* add changelog entry
2021-10-06 13:24:10 -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
Ron Rennick
c0759cdbe3
update waitFor calls to waitForFunction, waitForTimeout ( https://github.com/woocommerce/woocommerce-admin/pull/7646 )
...
* update waitFor calls to waitForFunction, waitForTimeout
* fix linting
* move waitForTimeout to general utility function
2021-10-06 11:07:09 -03:00
Matt Sherman
f3b0441f80
Update WC requires/tested versions ( https://github.com/woocommerce/woocommerce-admin/pull/7755 )
2021-10-06 09:39:39 -04:00
Ron Rennick
09a285cb52
add Customers page E2E test ( https://github.com/woocommerce/woocommerce-admin/pull/7645 )
2021-10-06 09:59:44 -03:00
Paul Sealock
5fb4fb51a9
wp-env: Use WooCommerce Core latest ( https://github.com/woocommerce/woocommerce-admin/pull/7752 )
2021-10-06 20:42:45 +13:00
Moon
9d75d82eb1
Use target: es2019 for backward compatibility ( https://github.com/woocommerce/woocommerce-admin/pull/7658 )
2021-10-06 14:52:42 +08:00
louwie17
3bda07aec3
Add status param support for dismissing all notes ( https://github.com/woocommerce/woocommerce-admin/pull/7743 )
...
* Add status param support for dismissing all notes
* Add changelog
* Add unit test for new arg in /delete/all endpoint
2021-10-05 15:37:52 -03:00
Joshua T Flowers
0b8596f53c
Remove tasks feature flag and old components ( https://github.com/woocommerce/woocommerce-admin/pull/7736 )
...
* Remove feature flag
* Remove unused task status items
* Remove old task list components
* Remove more unused task status items
* Move completion checking to TaskList class
* Move completion checking to Task class
* Add changelog entry
* Fix up old task-list component references
* Remove flag around slotfill area
* Add back missing task stylesheet
* Move task specific styles to respective fills
* Add PR number to changelog entry
2021-10-05 14:20:28 -04:00
Joshua T Flowers
93b42ad9ef
Add an endpoint and method for actioning tasks ( https://github.com/woocommerce/woocommerce-admin/pull/7746 )
...
* Add checks for actioned task status
* Update completion logic for task
* Add rest route for actioning tasks
* Add action in data store for actioning tasks
* Add test for actioning task
* Only prune isActioned from task data
2021-10-05 13:07:50 -04: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
ad0afb4aba
Sync 2.7.1 changelog ( https://github.com/woocommerce/woocommerce-admin/pull/7745 )
2021-10-04 15:52:36 -04:00
Joshua T Flowers
5b553ff2ea
Allow already installed marketing extensions to be activated ( https://github.com/woocommerce/woocommerce-admin/pull/7740 )
...
* Allow already installed marketing extensions to be activated
* Add installAndActivate to old task list
* Add changelog entry
2021-10-04 13:11:00 -04:00
Joel Thiessen
1d00a09ec3
Add show/hide behavior for task list API ( https://github.com/woocommerce/woocommerce-admin/pull/7733 )
...
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2021-10-04 10:02:01 -07:00
Joshua T Flowers
d3d2acdd25
Add optimistic task completion and cache invalidation ( https://github.com/woocommerce/woocommerce-admin/pull/7722 )
...
* Add action to optimistically complete task
* Optimistically mark shipping task complete
* Invalidate cache on task completion
* Add complete tax task handler
* Add completion handlers to remaining tasks
2021-10-01 15:53:22 -04:00
louwie17
5c9bf5d925
Add extended task list support to the new REST api task lists ( https://github.com/woocommerce/woocommerce-admin/pull/7730 )
...
* Add extended task list support to the new REST api task lists
* Some small refactors
* Small refactors from PR review
* Create extended tasks on the fly if added on the client
* Remove unneeded change
* Add level and additionalInfo support, also adding it to the WooCommerce Payments task
* Fix a mis-type in a comment
2021-10-01 15:46:23 -03:00
Joel Thiessen
9c5c39732b
Only return viewable tasks from tasks endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/7718 )
2021-09-29 16:47:01 -07:00
Joshua T Flowers
43f68534ef
Fix task list placeholder not showing ( https://github.com/woocommerce/woocommerce-admin/pull/7724 )
2021-09-29 14:30:34 -04:00
Joshua T Flowers
a423bd0f52
Fix task snooze and dismiss functions ( https://github.com/woocommerce/woocommerce-admin/pull/7728 )
...
* Fix tax snoozeability
* Fix tax dismissal endpoint
* Clean up undo endpoints
* Fix up task visibility
* Handle PR feedback
2021-09-29 13:55:44 -04:00
Matt Sherman
45122db842
Bump version to 2.9.0-dev ( https://github.com/woocommerce/woocommerce-admin/pull/7731 )
...
* Bumps version to 2.9.0-dev
* Delete changelog files from 2.7.x and 2.8.0
* Update changelog for 2.7.1 and 2.8.0
* Update testing instructions for 2.7.1
2021-09-29 06:32:38 -04:00
Fernando
fbd6d42574
Add experimental list documentation ( https://github.com/woocommerce/woocommerce-admin/pull/7687 )
...
* Moved task-item
* Moved task-item css
* Added readme.md
* Added storybook
* Renamed `remindMeLater
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-09-28 21:21:52 -03:00
louwie17
33ca13abc9
Fix category lookup class ( https://github.com/woocommerce/woocommerce-admin/pull/7709 )
...
* Initial test
* Add category look up tests
* Add more tests
* Add changelog
* Update PR number in changelog
2021-09-28 13:59:10 -03:00
Joshua T Flowers
a2f78f156b
Migrate tasks to task API ( https://github.com/woocommerce/woocommerce-admin/pull/7699 )
...
* Move purchase task
* Move products task
* Move WC Pay task
* Fix property casing
* Move payments task
* Move tax task
* Migrate shipping task
* Move marketing task
* Migrate appearance task
* Remove deprecated task filters
* Move logic to respective model
* Fix task list methods
* Update visibility to can_view property
* Add default tasks on demand
* Handle PR feedback
2021-09-27 16:55:55 -04:00
Joel Thiessen
14c38190ac
Fixing error thrown when dimissing/snoozing tasks via API ( https://github.com/woocommerce/woocommerce-admin/pull/7697 )
2021-09-27 13:06:40 -07:00
louwie17
da395281e7
Add changelog and enable promotion in core and plugin configs ( https://github.com/woocommerce/woocommerce-admin/pull/7666 )
...
* Add changelog and enable promotion in core and plugin configs
* Add PR number
* Make variation name a constant
* Clone spec as we are overwriting the is_visible prop
* Fix unit tests and support array and object
* Revert explat variation name
* Update changelog entry
* Update changelog once more
* Make sure the recommendations show up if marketplace suggestions is not defined defaulting to 'yes'
2021-09-27 10:24:47 -03:00
Joshua T Flowers
48539bf3f4
Update option list migrations to run on 2.7.1 ( https://github.com/woocommerce/woocommerce-admin/pull/7705 )
2021-09-24 13:04:43 -04:00
Moon
99705f4ea2
Sync changelog entires from 2.6.x releases ( https://github.com/woocommerce/woocommerce-admin/pull/7664 )
...
* Sync changelog
* Update changelog
2021-09-23 21:15:57 -07:00
louwie17
114069a06e
Add old option back with depreciated notice for backwards compatibility ( https://github.com/woocommerce/woocommerce-admin/pull/7688 )
...
* Add old option back with depreciated notice for backwards compatibility
* Add changelog
* Update depreciation message
2021-09-23 16:14:45 -03:00
Jacob Sewell
c0ea027afa
Fix/7591 eWAY to Eway ( https://github.com/woocommerce/woocommerce-admin/pull/7678 )
...
* Change eWAY to Eway.
* Change eWAY to Eway.
* Create changelog for PRwoocommerce/woocommerce-admin#7678 (fixes Issuewoocommerce/woocommerce-admin#7591 )
2021-09-23 10:08:00 -05:00
louwie17
8969c01c06
Fix track properties and add warning for wrong track format ( https://github.com/woocommerce/woocommerce-admin/pull/7677 )
...
* Fix track properties and add warning for wrong track format
* Add changelog
* Add eslint disable for console warning
* Remove unneeded change
2021-09-23 10:39:44 -03:00
Ilyas Foo
804116be18
Bump admin-e2e-tests version to 0.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/7700 )
...
* Bump admin-e2e-tests to 0.1.1
* Add missed changes to changelog
2021-09-23 20:10:10 +08:00
louwie17
6f9cd96867
Fix issue where variation name might not exist in analytics ( https://github.com/woocommerce/woocommerce-admin/pull/7686 )
...
* Make sure name is defined before using indexOf
* Add changelog
2021-09-23 08:58:10 -03:00
louwie17
3b2cce8814
Include yoast phpunit polyfills in phpunit tests ( https://github.com/woocommerce/woocommerce-admin/pull/7695 )
...
* Include yoast phpunit polyfills in phpunit tests
* Do a normal composer install
* Use original composer.lock
* Remove the use of composer 1
* Fix asset url
* Fix failed test with file rename
* Make sure plugin_dir_url is pointing at a file
* Fix asset url take 3
* Fix lint error
2021-09-23 18:01:52 +08:00
Hsing-yu Flowers
082c6e3edd
Assign parent order status as children order status if refund order ( https://github.com/woocommerce/woocommerce-admin/pull/7253 )
...
* Assign parent order status as children order status if refund order
* Handle feedback
* Add changelog entry
* Check order type before calling get_refunds
2021-09-23 15:45:54 +08:00
Jacob Sewell
78d280ebf7
Add France to list of countries that get Square as an option… ( https://github.com/woocommerce/woocommerce-admin/pull/7679 )
...
* Add France to list of countries that get Square as an option if selling venues includes brick-mortar or brick-mortar-other.
* Changelog for 7631_include_square_in_fr.
2021-09-22 14:12:41 -05:00
Joel Thiessen
f187c6763a
Adding SlotFill support for API-driven tasks components ( https://github.com/woocommerce/woocommerce-admin/pull/7616 )
2021-09-21 12:33:44 -07:00
Joshua T Flowers
b8b7c94bd1
Fix unsecured report files ( https://github.com/woocommerce/woocommerce-admin/pull/7691 )
...
* Fix unsecured report files
* Add changelog entry
2021-09-21 12:06:49 -07:00
louwie17
f5dc970a0f
Pass empty string instead of null to init ( https://github.com/woocommerce/woocommerce-admin/pull/7692 )
2021-09-21 14:40:14 -04:00
Joshua T Flowers
9a361dde6c
Add Task API ( https://github.com/woocommerce/woocommerce-admin/pull/7665 )
...
* Add Task model API
* Add task dismiss and snooze methods
* Add tests
* Fix snooze time check
2021-09-20 17:17:22 -04:00
Ilyas Foo
2be141bd16
Fixes for analytics bugs introduced in 2.6 ( https://github.com/woocommerce/woocommerce-admin/pull/7682 )
...
* Return early when categories is not ready
* Revert "Fix blank screen on analytics categories when searching (https://github.com/woocommerce/woocommerce-admin/pull/7482 )"
This reverts commit f696474e97
.
* Revert "Increase per_page value for search results on the Analytics pages. (https://github.com/woocommerce/woocommerce-admin/pull/7385 )"
This reverts commit 8045c92b96
.
* Add back working changes
* Add changelog
2021-09-20 12:29:26 -07:00
Joshua T Flowers
fb85e6b7d9
Add hide task list endpoint and data actions ( https://github.com/woocommerce/woocommerce-admin/pull/7578 )
...
* Add task list hide endpoint and data store actions
* Fix requesting properties for hide task list request
2021-09-20 12:55:33 -04:00
Joshua T Flowers
99b01d6dd2
Add API methods to store task lists and tasks ( https://github.com/woocommerce/woocommerce-admin/pull/7663 )
...
* Add API methods to store task lists and tasks
* Fix list string i18n
2021-09-20 12:55:08 -04:00
Ron Rennick
f028d728fa
allow CBD to be optional in business details in E2E ( https://github.com/woocommerce/woocommerce-admin/pull/7675 )
2021-09-17 10:55:29 -06:00
Moon
aed89bfdc5
Console command to order PRs by merge date ( https://github.com/woocommerce/woocommerce-admin/pull/7543 )
...
* Add a command to sort PRs by merge date in asc -- this can be useful when we cherry-pick PRs for the releases
* Check # of arguments
* Convert PHP to shell script
2021-09-15 10:50:54 -07:00
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
Fernando
f9ac95b5e5
Bump experimental version to 2.0.3 ( https://github.com/woocommerce/woocommerce-admin/pull/7656 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-09-13 15:02:57 -03:00
Fernando
7b9c721c16
Fernando Marichal ( https://github.com/woocommerce/woocommerce-admin/pull/7654 )
...
Bump experimental version to 2.0.2
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-09-13 13:18:43 -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
louwie17
b5ccd3acf8
Add explat variation for wc pay promotion ( https://github.com/woocommerce/woocommerce-admin/pull/7554 )
...
* Add experimental abtest class and use it in WCPayPromotion
* Update experiment version data structure
* Address PR feedback
2021-09-10 10:50:58 -03:00
Fernando
291915d7a5
Bump experimental version ( https://github.com/woocommerce/woocommerce-admin/pull/7651 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-09-09 18:04:55 -03:00
Fernando
0fc0d533e0
Bump experimental version ( https://github.com/woocommerce/woocommerce-admin/pull/7650 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-09-09 16:13:13 -03: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
e6cf391141
Make sure batch fetch resolved data remains consistent ( https://github.com/woocommerce/woocommerce-admin/pull/7587 )
...
* Adjust batch fetch logic so data stays the same
* Fix receive options action call
* Resolve returned result
* Add missing await
2021-09-08 09:37:44 -03:00
Joshua T Flowers
13fe7c4c7a
Add marketing task testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/7624 )
2021-09-07 16:00:11 -04:00
Tomek Wytrębowicz
143113be8a
Add optional parameter to `/currency`'s `formatAmount` to display currency code. ( https://github.com/woocommerce/woocommerce-admin/pull/7575 )
...
* Add optional parameter to `/currency`'s `formatAmount` to display currency code.
To support rendering non-ambiguous results.
* Add the changelog entry.
2021-09-06 11:52:01 +08:00
renovate[bot]
9295de2bb6
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/7510 )
...
* Lock file maintenance
* Rework package lock to revert all deps that has @wordpress/elements@3.2.0 update
* Update lock again
* Add missing deps for woocommerce/onboarding
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-09-04 12:40:45 +08:00
louwie17
4fb6841e40
Add task list and activity panel E2E tests ( https://github.com/woocommerce/woocommerce-admin/pull/7509 )
...
* Add hide and show task list tests
* The start to adding tests for the activity panel
* Add activity panel tests and WP-API plugin on initialize
* Update task list tests to be more flexible
* Add changelog in package
* Update the re-enable task list logic to be more robust
* Use a more generic selector
* Make sure task list is shown in previous test
* Add test screenshot
* Remove screenshot and update logic
* Address PR feedback
2021-09-03 08:21:43 -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
8f836c292f
Create task list APIs ( https://github.com/woocommerce/woocommerce-admin/pull/7577 )
...
* Add endpoint to hide task lists
* Migrate old setup task list hidden option
* Use option to store all hidden lists
* Add getter for deprecated options
* Migrate old task list options
* Move task lists into separate class
* Add TaskList class for individual task list control
* Update hidden checks to use TaskList api
* Update docs for hidden lists
* Update use of should_show_tasks to check for visible task lists
* Remove hide endpoint to reduce scope on PR
* Fix up failing tests
* Fix up rebase
* Add back in should_show_tasks with deprecation notice
* Add delay between payment tests
2021-09-02 17:40:02 -04:00
Moon
89343470cb
Remove docs command ( https://github.com/woocommerce/woocommerce-admin/pull/7607 )
2021-09-01 19:03:34 -07:00
Moon
7aa1cd79d0
Check if file exists ( https://github.com/woocommerce/woocommerce-admin/pull/7606 )
2021-09-01 19:03:25 -07:00
Moon
8e2d0bacc2
Sync 2.6.0 and 2.6.1 changelog back to main ( https://github.com/woocommerce/woocommerce-admin/pull/7608 )
...
* Sync changelog
* Update changelog
2021-09-01 18:27:13 -07: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
Joshua T Flowers
f136b770d6
Update completed task option when task lists are retrieved ( https://github.com/woocommerce/woocommerce-admin/pull/7549 )
...
* Update completed task option when task lists are retrieved
* Update action calls to filter
2021-08-31 10:38:51 -04:00
Adrian Duffell
2ce0cd9519
Update email pre-fill endpoint to be experimental ( https://github.com/woocommerce/woocommerce-admin/pull/7602 )
2021-08-31 16:38:21 +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
Moon
ccdd32282d
Fix 'cannot read property' error from ExPlat ( https://github.com/woocommerce/woocommerce-admin/pull/7600 )
...
* Change option value path
* Try wcSettings.preloadSettings.general first
* Add changelog
2021-08-30 20:31:03 -07: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
aaf7832ddb
Feature/add logger to rin ( https://github.com/woocommerce/woocommerce-admin/pull/7194 )
...
* Add evaluation logger
* Update readme
* Use simplified log format
* Add a new line at the end
* Move constant checking to consumer level
* Rename constant name
* Check constant before checking the value
* Fix test
* Add changelog
* Move initialization of the logger to RuleEvaluator and use more generic constant name
* Remove the default source value
* Update readme.txt
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Update src/RemoteInboxNotifications/README.md
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Update src/RemoteInboxNotifications/RuleEvaluator.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Add soruce -- remote-inbox-notifications
* Move WC_ADMIN_DEBUG_RULE_EVALUATOR check to the logger
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-08-30 13:26:36 -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
Moon
59f0ffd1a6
Fix broken tests with the latest WC ( https://github.com/woocommerce/woocommerce-admin/pull/7582 )
2021-08-30 12:02:38 -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
Moon
03fb7e87a6
Add/7481 cmd to collect testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/7499 )
...
* Add a new command to build testing instructions by a given version
* Check - [ ] Include test instructions in the release checkbox
* Fix code format
* Code cleanup
* Fix config error
* Update README.md
* Update README.md
* Update README.md
* Remove js version
* Remove test file
* A minor refactor
* Reuse parse() method from the WCAdminFormatter.php
* Exclude PRs with "no release testing instructions" label
* Remove Requests:multi_request dependency
* Remove wp load script
2021-08-27 13:47:16 -07:00
Joel Thiessen
26e6e62bd9
Updating eway logo in payment suggestions defaults ( https://github.com/woocommerce/woocommerce-admin/pull/7562 )
2021-08-26 08:58:39 -07: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
Joshua T Flowers
32e8f90c47
Add task selectors and actions to onboarding data store ( https://github.com/woocommerce/woocommerce-admin/pull/7545 )
...
* Add selector for task lists
* Add snooze task actions
* Add dismiss task actions
* Create utility function to update task in task list
* Add undo endpoints
* Add task lists to default onboarding state
* Add undo function reducer cases
* Handle PR feedback
2021-08-25 21:42:26 -04: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
Joel Thiessen
ea17558e9a
Adding undo snooze endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/7560 )
2021-08-25 11:43:05 -07:00
louwie17
6093db043a
Fix wrong function name ( https://github.com/woocommerce/woocommerce-admin/pull/7557 )
2021-08-24 16:04:49 -03:00
Joel Thiessen
b17e3c5aa2
Create snooze task endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/7539 )
2021-08-24 10:05:58 -07: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
Joshua T Flowers
29f17a0564
Add task dismissal endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/7538 )
...
* Add dismiss task endpoint
* Add undismiss endpoint
* Add tracks to dismissal functions
* Add the task dismissal status to the response
* Add changelog entry
2021-08-23 10:08:04 -04:00
Joshua T Flowers
f24bef9882
Skip scheduling action if Action Scheduler tables have not been set up ( https://github.com/woocommerce/woocommerce-admin/pull/7521 )
...
* Skip scheduling action if Action Scheduler tables have not been set up
* Add changelog entry
* Add PR number to changelog entry
2021-08-20 09:09:00 -04:00
Moon
e10b2db0b1
Bump package versions ( https://github.com/woocommerce/woocommerce-admin/pull/7544 )
...
* Bump package versions
* Preserve the previous version changelog
2021-08-19 17:17:33 -07:00
Moon
4e5e5578c5
Sync changelog and testing instructions up to 2.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/7541 )
...
* Sync changelog and testing instructions
* Update release date
2021-08-19 15:57:57 -07:00
NekoJonez
71a173f14f
Deleting unneeded double spaces in text strings. ( https://github.com/woocommerce/woocommerce-admin/pull/7502 )
2021-08-19 11:07:37 -04:00
Joshua T Flowers
77963a5814
Create task list REST API endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/7512 )
...
* Include is_installed property with extension response
* Allow fetching specific extension bundles
* Move all tasks to REST endpoint
* Fix purchase extensions and wcpay completion logic
* Fix purchaseable product strings
* Add changelog entry
* Fix unfilled profiler data for product types
2021-08-19 10:39:02 -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
Maria Górska-Piszek
a93fe16085
Add Marketplace and My Subscriptions to the new WooCommerce Navigation. ( https://github.com/woocommerce/woocommerce-admin/pull/7529 )
...
* Add Marketplace and My Subscriptions items to the new WooCommerce Navigation.
2021-08-19 10:36:13 +02:00
Adrian Duffell
091897aba9
Update packages for publishing ( https://github.com/woocommerce/woocommerce-admin/pull/7535 )
...
* Bump explat version
* Bump onboarding version
2021-08-19 12:42:57 +08:00
Adrian Duffell
d08ab10900
Update packages for publishing ( https://github.com/woocommerce/woocommerce-admin/pull/7534 )
...
* Bump explat version
* Bump onboarding version
2021-08-19 10:32:46 +08:00
Moon
be3e4f174f
Add woo_country_code param to the assignment fetch request in ExPlat ( https://github.com/woocommerce/woocommerce-admin/pull/7533 )
...
* Add woocommerce_default_country to explat param
* Add window interface in utils
* Add changelog
2021-08-18 17:25:16 -07:00
Moon
7559f324f0
Bump the fallback WP version to 5.8.0 ( https://github.com/woocommerce/woocommerce-admin/pull/7532 )
2021-08-18 14:20:17 -07:00
Moon
d2e1e3feff
Fix broken PHP linter workflow ( https://github.com/woocommerce/woocommerce-admin/pull/7526 )
...
* Remove dollar sign and space to fix the syntax error.
Remove dollar sign and space
* , separated file list does not work with phpcs. Use space instead
2021-08-18 11:15:58 -07:00
Fernando
cd768601e9
update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/7511 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-08-18 09:17:39 -03:00
Moon
c8bbd89d79
Add missing quote ( https://github.com/woocommerce/woocommerce-admin/pull/7524 )
2021-08-17 13:08:03 -07: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
Hsing-yu Flowers
78e49ab09e
Fix end date for last periods ( https://github.com/woocommerce/woocommerce-admin/pull/6584 )
...
* Fix end date for last periods
* Test February end date for leap year
* Add changelog and testing instructions
* Handle feedback
* Fix merge conflict
* Add changelog
2021-08-12 11:06:21 -04:00
Maria Górska-Piszek
35d58de151
Split the Extensions page into Marketplace and My Subscriptions. ( https://github.com/woocommerce/woocommerce-admin/pull/7471 )
...
* Split the Extensions page into Marketplace and My Subscriptions.
* Add changelog entry.
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2021-08-12 09:22:46 +02:00
Francesco
c1730d16f1
feat: add shipping marketplace recommendations ( https://github.com/woocommerce/woocommerce-admin/pull/7446 )
2021-08-11 17:09:32 -05:00
Moon
3398e03999
Add missing ---> tag ( https://github.com/woocommerce/woocommerce-admin/pull/7494 )
2021-08-11 07:11:13 -07:00
Renovate Bot
f7ea47343e
Pin dependencies
2021-08-11 01:57:50 +00:00
Moon
938b546f7f
Add missing : in the changelog ( https://github.com/woocommerce/woocommerce-admin/pull/7493 )
...
* Add missing :
2021-08-10 12:11:06 -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
Fernando
5ade1e1c66
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/7491 )
...
* Update changelog
* Add PR #
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-08-10 11:31:07 -03:00
renovate[bot]
c151950a6e
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/7448 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 09:53:30 -04:00
Adrian Duffell
b21f659b27
Prepare packages for publishing ( https://github.com/woocommerce/woocommerce-admin/pull/7492 )
...
* Bump experimental package to 1.5.1
* Bump components package to 8.1.0
2021-08-10 19:42:03 +08:00
Adrian Duffell
7abbc6942b
Add rimraf dev dependency ( https://github.com/woocommerce/woocommerce-admin/pull/7485 )
2021-08-10 18:11:11 +08: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
Joshua T Flowers
f34b234711
Add super admin check to preloaded user data ( https://github.com/woocommerce/woocommerce-admin/pull/7489 )
...
* Add super admin check to preloaded user data
* Add the current user data via filter instead of manually
* Add changelog entry
2021-08-09 17:37:24 -03:00
Joshua T Flowers
119b3ce1e3
Fix up onboarding profiler not working when opted out of tracking ( https://github.com/woocommerce/woocommerce-admin/pull/7490 )
...
* Add countries to onboarding preloaded data
* Only toggle off beta features when opting out of tracking
* Add changelog entry
2021-08-09 17:36:07 -03: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
Chris Aprea
71aa954577
Do not retain values when switching between rules in the DateFilter component ( https://github.com/woocommerce/woocommerce-admin/pull/7423 )
...
* Do not retain values when switching between rules in the DateFilter component
* Add changelog entry
* Remove unnecessary use of the ternary operator
* Fix the changelog entry
* Add tests
* Add changelog entry
Co-authored-by: Chris <chris.aprea@automattic.comchris.aprea@automattic.comchris.aprea@automattic.com>
2021-08-06 15:39:16 +10:00
Moon
b5e973ed18
Add changelog.txt ( https://github.com/woocommerce/woocommerce-admin/pull/7464 )
2021-08-05 15:49:37 -07:00
Moon
9a9fb8ccde
Replace first occurrence of the bullet char instead of replacing all ( https://github.com/woocommerce/woocommerce-admin/pull/7465 )
2021-08-05 15:36:59 -07:00
Moon
9d9a2772e2
Sync changelog ( https://github.com/woocommerce/woocommerce-admin/pull/7469 )
2021-08-05 12:35:16 -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
d5b0b664f8
Add default marketing extensions as fallbacks ( https://github.com/woocommerce/woocommerce-admin/pull/7466 )
2021-08-05 13:01:40 -04:00
Moon
5a21fe1dd0
Sync changelog (directory) and changelog.txt ( https://github.com/woocommerce/woocommerce-admin/pull/7463 )
...
* Delete changelogs that are already released
* Add missing changelogs for 2.4.2, 2.4.3, 2.4.4
2021-08-05 09:32:22 -07: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
Adrian Duffell
4b5a40a9ee
Add changelog entries for 2.4.x ( https://github.com/woocommerce/woocommerce-admin/pull/7457 )
2021-08-05 07:47:54 +08: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
Moon
7fe64818a7
Bump version to 2.7.0-dev ( https://github.com/woocommerce/woocommerce-admin/pull/7456 )
...
* Add testing instructions for 2.5.0
* Add missing PR #
* Sync changelog
* Bump version to 2.7.0-dev
2021-08-03 23:27:44 -07: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
louwie17
8223b83707
Fix/7427 collapsible list transition ( https://github.com/woocommerce/woocommerce-admin/pull/7429 )
...
* Add transition group wrapper to collapsed CSS
* Revert changed class name
* Add changelog
2021-08-03 08:50:04 -03: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
Tomek Wytrębowicz
4e153faa35
Update test renderer in few components, ( https://github.com/woocommerce/woocommerce-admin/pull/7425 )
...
from `react-test-renderer` to `{ render } from '@testing-library/react'`,
to avoid confision like https://github.com/woocommerce/woocommerce-admin/pull/7378#issuecomment-885870676 .
Update snapshots respectively.
2021-07-30 12:16:12 +02:00
Allen Smith
52e69697f8
Fix Google Analytics tracking for static docs site. ( https://github.com/woocommerce/woocommerce-admin/pull/7439 )
2021-07-30 15:25:59 +12:00
Fernando
caab73c924
bump version to 2.6.0-dev ( https://github.com/woocommerce/woocommerce-admin/pull/7440 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-07-29 18:34:44 -03: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
louwie17
668c86ac48
Fix WooCommerce payments action button styling ( https://github.com/woocommerce/woocommerce-admin/pull/7412 )
...
* Fix WC action button styling
* Add changelog
* Updated WCPay css for updated card component
* Added changelog
2021-07-28 11:40:27 -03: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
Joshua T Flowers
0ffaffab6e
Add locale param as part of free extensions request ( https://github.com/woocommerce/woocommerce-admin/pull/7391 )
...
* Add locale param as part of free extensions request
* Add changelog entry
2021-07-27 17:57:14 -04: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
Jeff Stieler
e7c479adf9
Add eslint rule to prevent missing createElement imports. ( https://github.com/woocommerce/woocommerce-admin/pull/7424 )
...
* Add eslint rule to prevent missing createElement imports.
* Ignore documentation files for rule.
2021-07-27 08:53:03 -06:00
Tomek Wytrębowicz
afd6693718
Add `hidden` legendPosition to `Chart`. ( https://github.com/woocommerce/woocommerce-admin/pull/7378 )
...
* Add `hidden` legendPosition to `Chart`.
Sometimes, for example, when there is a single data set, there is no need for rendering the legend. It may even introduce more confusion than value. It seems interactive, but there is nothing you can do with it.
Fixes: https://github.com/woocommerce/google-listings-and-ads/issues/618
* Add `@storybook/addon-knobs` to devDependencies.
It was used but not explicitely stated.
* Add a changelog entry.
* Add tests for legendPosition in Chart component
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-07-27 11:14:54 -03:00
Tomek Wytrębowicz
17c1b38781
Add `navigation.getIdsSetFromQuery` util. ( https://github.com/woocommerce/woocommerce-admin/pull/7341 )
2021-07-27 11:08:53 +02: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
Fernando
d44e53f879
Update payment gateway plugins for testing ( https://github.com/woocommerce/woocommerce-admin/pull/7421 )
...
* Remove old links
* Add new URLs
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-07-26 14:58:32 -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
Sam Seay
172b115ef9
Fix the deprecated behaviour for `<Form>` callbacks and push removal to 9.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/7356 )
...
The deprecated (but not removed) `onChangeCallback` and `onSubmitCallback` props were not being called because of an error in the logic that checked for presence of the new callbacks (it was always truthy due to it having a fallback to an empty function).
This reverses the logic so that if the deprecated props are provided they will be called, if the new props (only) are provided they will be called instead.
This also pushes the removal of these back to 9.0.0, because in the past these deprecated version numbers had little thought behind them, but this gives a more realistic time frame for removal and an understanding that a *major* version will break compatibility, not a patch version as the old version number suggested.
2021-07-26 14:45:03 +12:00
Renovate Bot
05c378cbc9
Pin dependency jest-mock-extended to 1.0.18
2021-07-23 17:27:06 +00: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
Joshua T Flowers
0a9692ec20
Add limit clause to coupons data store query ( https://github.com/woocommerce/woocommerce-admin/pull/7399 )
...
* Add limit clause to coupons data store query
* Add changelog entry
2021-07-23 09:36:36 -04:00
Joshua T Flowers
904b5e282f
Skip category creation on WC install ( https://github.com/woocommerce/woocommerce-admin/pull/7401 )
...
* Skip category creation on WC install
* Wait for install to create lookup tables
2021-07-23 09:36:02 -04:00
Joshua T Flowers
2316b2f4ab
Import createElement to fix build issues with SlotFill ( https://github.com/woocommerce/woocommerce-admin/pull/7403 )
...
* Import createElement to fix build issues with SlotFill
* Add changelog entry
2021-07-23 09:35:43 -04:00
Ilyas Foo
1eb41e4088
Fix analytics filter Gutenberg CSS conflict ( https://github.com/woocommerce/woocommerce-admin/pull/7410 )
...
* Add style fix
* Changelog
2021-07-23 21:25:25 +08:00
Joshua T Flowers
95ee8338c0
Try: Register a fake wc-admin homepage to for users without permission ( https://github.com/woocommerce/woocommerce-admin/pull/7285 )
...
* Register a fake wc-admin homepage to for users without permission
* Update removal cap to manage_woocommerce
* Fix WooCommerce menu item position and icon
* Fix up admin user checks
* Handle PR feedback
* Only disable redirection on wc-admin pages
* Remove woocommerce_prevent_admin_access filter
* Add changelog entry
2021-07-23 09:01:47 -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
louwie17
da4b3ee742
Update changelog info in the contributing doc ( https://github.com/woocommerce/woocommerce-admin/pull/7400 )
...
* Update changelog info in the contributing doc
* Update changelog.txt name
* Fix typo
2021-07-23 09:42:12 -03:00
louwie17
19714e8dc1
Add wildcard for element, given the element type is out of our control ( https://github.com/woocommerce/woocommerce-admin/pull/7406 )
2021-07-23 09:31:37 -03:00
Moon
cd49514b3e
Attempt to fix broken test in PHP 7 + WC latest + Composer 1.10.19 ( https://github.com/woocommerce/woocommerce-admin/pull/7404 )
...
* Fix broken test by replacing LegacyProxy from WC container
2021-07-22 15:09:57 -07: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
8ce0808578
Bug fixes for the new low in stock endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/7389 )
...
* Bug fixes for the low in stock endpoint
* post_parent type should be int
* type should be either simple or variation
* Remove cache-control
2021-07-20 20:13:31 -07:00
Moon
199b042e77
Use the original endpoint in products test ( https://github.com/woocommerce/woocommerce-admin/pull/7388 )
...
* Use the original endpoint
* Do not pass status param to use the default value.
2021-07-20 19:03:47 -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
Adrian Duffell
3108d59812
Add cache-control header to "low in stock" REST API response ( https://github.com/woocommerce/woocommerce-admin/pull/7364 )
...
* Add cache-control header to low stock response
* Add type check for fields
* Add changelog
* Bump max-age to 300
2021-07-19 14:53:51 +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
Jeff Stieler
4ef7ff8dfb
Fix TSC config and package build script. ( https://github.com/woocommerce/woocommerce-admin/pull/7361 )
2021-07-15 10:38:34 -04:00
Paul Sealock
9c7adc3634
Changelogs: Add 2.5.0 ( https://github.com/woocommerce/woocommerce-admin/pull/7320 )
...
* Pre-release for 2.5.0-beta.1
* update changelog
* revert version bump
* revert package.lock
* entry for 2.5.0
* Sync with 2.4 release and removed some duplicates
* add changelog from 7186
Co-authored-by: Rebecca Scott <me@becdetat.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-07-15 14:12:21 +12: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
a1fb913bc6
Fix/7322 unable to dismiss inbox note ( https://github.com/woocommerce/woocommerce-admin/pull/7342 )
...
* Add components-dropdown__content class -- this is for Safari as Safari returns parent element as a related target in this case
* Remove unnecessary style
2021-07-14 12:28:56 -07:00
renovate[bot]
72cf95c51d
Update dependency @types/expect-puppeteer to v4.4.6 ( https://github.com/woocommerce/woocommerce-admin/pull/7346 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-14 15:23:59 +12:00
Dat Hoang
2dfe2c2bd2
Add TableSummaryPlaceholder to support skeleton loading ( https://github.com/woocommerce/woocommerce-admin/pull/7294 )
...
* Add TableSummaryPlaceholder
* Expose TableSummaryPlaceholder to package @woocommerce/components
* Add test instructions and changelog entries to MD files
* Add tests for TableSummaryPlaceholder
* Add storybook for TableSummaryPlaceholder
2021-07-14 10:18:54 +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
Paul Sealock
40be342865
Remote Inbox: Add feature to list of optional feature flags ( https://github.com/woocommerce/woocommerce-admin/pull/7298 )
...
* Add a feature setting toggle for Remote Inbox Notifs
* changelog
* comments
* remove unused Feature ref
* remove toggle
* remove readme changelog entry
2021-07-14 11:07:48 +12: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
Ron Rennick
4af5eef27b
Create E2E package ( https://github.com/woocommerce/woocommerce-admin/pull/7084 )
...
* bump E2E package versions to latest
* first pass on E2E test package.json
* move e2e specs to admin-e2e-tests
* add global types, reimplement tests/e2e/specs
* use consistent build dir with other packages
* add documentation, improve test:e2e script
* fix linting issues in admin-e2e-tests
* fix more linting issues
* disable lint on requires
* use e2e in the E2E container names
* move analytics overview test to package
* change extension on analytics-overview test file
* fix linting issues in e2e analytics overview
* remove package scripts from e2e package
* change test specs extensions to .tsx
* remove import from analytics overview test spec
* add .tsx to e2e test spec file extension list
* update e2e business features count expected
2021-07-13 16:38:05 -03:00
Joel Thiessen
746905d8ce
Bumping onboarding package version ( https://github.com/woocommerce/woocommerce-admin/pull/7337 )
2021-07-13 11:14:02 -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
2e01777d42
Changelogger Linter: Point to correct file to test presence of changelog entry ( https://github.com/woocommerce/woocommerce-admin/pull/7318 )
...
* test
* pr number
* try looking at changelogs folder
* better changelog
2021-07-13 14:36:45 +12:00
Jeff Stieler
12aa391cf0
Fix minimum expected recommended extension count. ( https://github.com/woocommerce/woocommerce-admin/pull/7334 )
...
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Just check for one or more extensions.
2021-07-12 20:03:55 -06:00
Moon
76685d3a92
Remove unreleased section ( https://github.com/woocommerce/woocommerce-admin/pull/7317 )
2021-07-08 19:32:20 -07:00
Moon
daf91d034c
use Jetpack Changelogger for changelog management ( https://github.com/woocommerce/woocommerce-admin/pull/6870 )
...
* use Jetpack Changelogger for changelog management
* Extends Jetpack Changelogger's write command
* Uses changelog.txt
* Add Enhancement
* Remove use of WriteCommand and implement parse() in the Formatter
* Remove bin/changelogger.php wrapper
* Use semver
* Fix spacing
* Fix typo
* changelog.txt update to match readme.txt
* changelog PR template
* remove changelog from readme.txt
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-08 19:03:51 -07:00
Paul Sealock
58dc9f4473
Preloaded options: remove unused feature options ( https://github.com/woocommerce/woocommerce-admin/pull/7299 )
...
* remove unused feature preloaded options
* changelog
2021-07-09 11:23:08 +12: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
Moon
001779a40d
Sync the category lookup table when a new category gets created ( https://github.com/woocommerce/woocommerce-admin/pull/7290 )
...
* Sync category lookup table when a new category gets created
2021-07-08 10:39:12 -07:00
louwie17
b4cb82b9cb
Update changelog and increase version for components, data, and experimental packages ( https://github.com/woocommerce/woocommerce-admin/pull/7311 )
2021-07-08 13:30:11 -03: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
Hsing-yu Flowers
e753e51f51
Add padding on table header button ( https://github.com/woocommerce/woocommerce-admin/pull/7213 )
...
* Add padding on table header button
* Add changelog and testing instructions
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-08 11:03:55 -04: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
8fe842f5a4
Add height auto on autocomplete popover button ( https://github.com/woocommerce/woocommerce-admin/pull/7225 )
...
* Add height auto on autocomplete popover button
* Add changelog
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-08 10:47:46 -04: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
louwie17
6a391c58d8
Make task item action button optional ( https://github.com/woocommerce/woocommerce-admin/pull/7263 )
...
* Make action button optional, and disable VerticalCSSTransition when expandable is false
* Update collapsible list to support nested element transitions
* Add changelog
* Address some small PR feedback, and fix tests
* Add expanded class, and remove cursor when expanded
* Make sure margin is added to container height
* Update broken tests
* Add radix to parseInt method
2021-07-08 09:19:35 -03: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
Paul Sealock
d5f16fd0dc
Filters: On update respect all other queries, not just persistedQueries ( https://github.com/woocommerce/woocommerce-admin/pull/7155 )
...
* on Filter update, keep all queries
* changelog
* package changelog
* instead of keeping everything else, remove advancedFilters when main filter is set to 'all'
* remove all queries associated with filter in question
* dedupe params
* add tests
2021-07-08 09:36:34 +12:00
Renovate Bot
50b4fe4963
Update dependency @types/cookie to v0.4.1
2021-07-07 01:35:09 +00:00
Moon
276b3cf693
Fix inbox note dismiss dropdown not closing on Safari ( https://github.com/woocommerce/woocommerce-admin/pull/7278 )
...
* Set position for the dropdown
* Manually focus the button onClick -- Safari does not focus on a button on click
2021-07-06 15:05:15 -07: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
Moon
cb31c3a468
Add CES to translated scripts list ( https://github.com/woocommerce/woocommerce-admin/pull/7270 )
...
* Add CES to translated scripts list
2021-07-06 12:30:39 -07:00
Fernando
089c5b5905
Add a delete option to completed tasks ( https://github.com/woocommerce/woocommerce-admin/pull/7300 )
...
* Added onDelete prop to `task-item`.
* Added `onDelete` and `Remid me later` options to task example in docs.
* Added changelog
* Fixed lint error
* Fixed another lint error
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-07-06 15:35:40 -03:00
Joshua T Flowers
c1978af7f7
Add Klarna Payments to default payment gateway suggestions ( https://github.com/woocommerce/woocommerce-admin/pull/7267 )
2021-07-06 11:13:05 -04:00
Tomek Wytrębowicz
e48fabe964
Update issue templates ( https://github.com/woocommerce/woocommerce-admin/pull/7088 )
...
- Use headings in issues templates,
instead of bold paragraphs.
To match with PR template, to improve readability and accessibility.
- Add the "Actual behavior" section.
The reviewer, would not have to get that from the description or test locally.
- Reorder sections,
Screenshots (and actual behavior) describes what you have immediately after you perform "steps to reproduce", so therefore could be stated there. It's hard to make a screenshot of the "expected behavior", which is not happening.
- Move section descriptions to comments.
This way the issuer could still keep them in place while filling the sections, answering those requests.
- Use ellipsis character instead of three dots.
To make it more readable, by fully sighted and visually impaired readers https://tosbourn.com/the-importance-of-using-the-ellipsis-character not to read it as "dot dot dot"
2021-07-06 11:46:33 +02: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
Joshua T Flowers
d8d14fb9ca
Localize payment gateway suggestions on wccom ( https://github.com/woocommerce/woocommerce-admin/pull/7217 )
...
* Localize payment gateway suggestions on wccom
* Add user locale as param to source URL
* Fix mock http request params
2021-07-05 17:50:26 -04:00
Joshua T Flowers
98d8040a06
Add ability to override payment gateway settings URL ( https://github.com/woocommerce/woocommerce-admin/pull/7281 )
2021-07-05 17:43:11 -04:00
Joshua T Flowers
4a3e4ff7ef
Add PayU to default payment gateway suggestions ( https://github.com/woocommerce/woocommerce-admin/pull/7279 )
...
* Add PayU to default payment gateway suggestions
* Add testing instructions
2021-07-05 17:40:48 -04:00
Manos Psychogyiopoulos
2bda6e2e26
Use transients to cache products/variations stats results ( https://github.com/woocommerce/woocommerce-admin/pull/7067 )
...
* Use transients to cache products/variations stats results
* Add readme entry
* Fix readme
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-07-02 17:38:35 +08:00
Paul Sealock
88934afef4
Disabling wc-admin: Repurpose filter to remove optional features ( https://github.com/woocommerce/woocommerce-admin/pull/7232 )
...
* Repurpose disable filter to remove optional features
* changelog
* disable feature toggles on wc-admin disabled
* dedupe changelog
* hide save button using
2021-07-02 07:00:27 +12:00
Ilyas Foo
e7b70ddca5
Fix and refactor explat polling to use setTimeout ( https://github.com/woocommerce/woocommerce-admin/pull/7274 )
...
* Refactor to use setTimeout
* Update changelog
2021-07-01 10:27:50 +08: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
Joshua T Flowers
6213611463
Fix payment gateway zip folder names ( https://github.com/woocommerce/woocommerce-admin/pull/7257 )
2021-06-29 11:46:04 -04:00
Ilyas Foo
6486d5d4c1
Fix CurrencyFactory constructor to use proper function ( https://github.com/woocommerce/woocommerce-admin/pull/7261 )
...
* Change arrow function to proper function
* Changelog
2021-06-29 12:33:10 +08: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
Tomek Wytrębowicz
5918c8ff1e
Make `getIdsFromQuery` consider `0` as a valid id. ( https://github.com/woocommerce/woocommerce-admin/pull/7028 )
...
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
- Make `getIdsFromQuery` consider `0` as a valid id.
Previously `Boolean` filter was removing it from the list.
Fixes https://github.com/woocommerce/woocommerce-admin/issues/6980
- Add a basic set of tests for `getIdsFromQuery`, as they were none.
- Replace `lodash.uniq` with ES6 equivalent.
- Update JSDoc for `getIdsFromQuery`, to specify default value, returned type and description.
2021-06-28 13:34:29 +02: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
renovate[bot]
f33463daad
Update dependency locutus to v2.0.15 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/7162 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 10:34:10 +12:00
Joel Thiessen
947cd1fcd1
Fixing invalid key props, changing to id ( https://github.com/woocommerce/woocommerce-admin/pull/7229 )
...
* Fixing invalid key props, changing to id
* Adding changelog
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-06-25 18:58:55 -04: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
Joshua T Flowers
32f3663cce
Fix eway payment gateway key ( https://github.com/woocommerce/woocommerce-admin/pull/7228 )
2021-06-24 15:17:54 -04:00
Hsing-yu Flowers
6db7dba1e4
Localize string for description ( https://github.com/woocommerce/woocommerce-admin/pull/7219 )
...
* Localize string for description
* Add changelog and testing instructions
* Remove testing instruction
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-06-24 14:05:30 -04:00
Joshua T Flowers
53f26be786
Add testing instructions for payment gateway suggestions ( https://github.com/woocommerce/woocommerce-admin/pull/7205 )
...
* Add testing instructions for payment gateway suggestions
* Handle PR feedback
* Add plugin links for testing
2021-06-24 10:59:31 -04:00
louwie17
c5657002d2
Add date range support to remaining notes ( https://github.com/woocommerce/woocommerce-admin/pull/7222 )
...
* Allow custom date range start for date range
* Make use of the date_range logic for any notes using active_for
* Add changelog
* Add a couple extra tests for date range
2021-06-24 11:32:02 -03:00
Fernando
8397c3deb9
Fixed testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/7210 )
...
* Fixed testing instructions
* Update TESTING-INSTRUCTIONS.md
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Update TESTING-INSTRUCTIONS.md
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Update TESTING-INSTRUCTIONS.md
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-06-24 11:21:15 -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
Cem Ünalan
01bd0027c1
Add filter to change the emailed report filename ( https://github.com/woocommerce/woocommerce-admin/pull/7178 )
...
* Reports: allow changing the export id
"woocommerce_admin_export_id" can be used to change
the filename when downloading an emailed report export.
* Add testing instructions and changelog
* Reports: Sanitize the file name for the report export
2021-06-24 16:59:23 +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
Paul Sealock
d6f59cce62
Load Analytics API behind feature check ( https://github.com/woocommerce/woocommerce-admin/pull/7193 )
...
* add toggle and check before registering routes
* move taxes out from analytics check
* fix merge error
* ensure features are loaded before calling Feature methods
* remove unused use
2021-06-24 09:02:05 +12:00
Paul Sealock
011b098645
Analytics: Add toggle to disable UI features ( https://github.com/woocommerce/woocommerce-admin/pull/7168 )
...
* add toggle and check before registering routes
* remove preloaded option
* early return
* changelog
* page refresh on option change
* pass value to client
* use Features::is_enabled
* handle option default
* go back to using feature flags on client
* remove unused use
* hide customers behind analytics flag for now
* remove unneeded class check
2021-06-23 13:50:15 +12:00
Joshua T Flowers
c683376761
Skip schedule customer data deletion on site deletion ( https://github.com/woocommerce/woocommerce-admin/pull/7214 )
...
* Skip schedule customer data deletion on site deletion
* Add changelog entry
2021-06-22 20:07:18 -04: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
Joshua T Flowers
3327a23378
Add notice and enable gateway on successful connection ( https://github.com/woocommerce/woocommerce-admin/pull/7209 )
...
* Add notice and enabled gateway on successfull connection
* Record event on payment gateway connection
* Redirect to payments task after successful connection
2021-06-22 19:50:53 -04:00
Moon
45c9bcf280
Bump up CSV Export version ( https://github.com/woocommerce/woocommerce-admin/pull/7223 )
2021-06-22 15:41:04 -07:00
Moon
9618e3bf61
Use tab char instead of single quote to prevent CSV injection ( https://github.com/woocommerce/woocommerce-admin/pull/7154 )
...
* Use tab char instead of `to prevent CSV injection
* Double quote cells
* Add changelog
2021-06-22 15:13:16 -07:00
Jeff Stieler
9f63719baa
Fix attribute filter for "any X" variations. ( https://github.com/woocommerce/woocommerce-admin/pull/7046 )
...
* Use order item data to match attributes.
Fixes matching on products with "any x" attributes.
* Fix attribute query on variations report.
* Fix variations report item count.
* Add test coverage.
* Add changelog entry.
* Fix non-string query prop warning in SelectControl component.
* Move custom attribute retrieval to a reusable Trait.
* Ensure all custom attribute terms are included in the API response.
* Combine all terms from custom attributes.
When they're split across multiple products.
2021-06-22 08:45:08 -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
Jeff Stieler
b5f397fa89
Fix report arguments handling in CSV export. ( https://github.com/woocommerce/woocommerce-admin/pull/7165 )
...
* Ensure report args are mapped and sanitized before CSV export.
* Add test.
* Fix products query when there are no products in the specified categories.
* Add changelog.
2021-06-18 10:53:52 -06:00
louwie17
2443b857f6
Add rowKey prop to table for allowing custom keys in rows ( https://github.com/woocommerce/woocommerce-admin/pull/7196 )
...
* Add rowKey prop to table for allowing custom keys in rows
* Add changelog
* Add test
* Fix lint errors
2021-06-18 09:18:19 -03:00
Sam Seay
d9daed0a4f
Update the wordpress/babel-preset to avoid crashes in WP5.8 beta2 ( https://github.com/woocommerce/woocommerce-admin/pull/7202 )
...
* Update the wordpress/babel-preset to avoid crashes in WP5.8 beta2
* Also update other dependencies dropping IE11 support.
* Update data dep in data package.
* Add back regen runtime.
* Add regenerator-runtime dependency for setting up jest tests
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-06-18 13:13:17 +08:00
louwie17
18479c66e5
Add fallback for the select/dispatch data-controls for older WP versions ( https://github.com/woocommerce/woocommerce-admin/pull/7204 )
...
* Add fallback for the select/dispatch data-controls for older WP versions
* Also update dispatch in payment-gateways and rename oldDispatch to depreciatedDispatch
* Add comments
2021-06-18 11:31:37 +08:00
Joshua T Flowers
c558a5bceb
Add unit tests for payment gateway suggestions data source poller ( https://github.com/woocommerce/woocommerce-admin/pull/7153 )
...
* Move data source filter name to constant
* Add unit tests for data source poller
* Handle PR feedback
* Add use statement for DataSourcePoller
* Fix trailing comma
2021-06-16 15:27:48 -04:00
Joshua T Flowers
af39737d90
Add EvaluateSuggestion unit tests ( https://github.com/woocommerce/woocommerce-admin/pull/7152 )
2021-06-15 17:48:30 -04:00
Joshua T Flowers
f57edb6e6c
Add payment gateway suggestion unit tests ( https://github.com/woocommerce/woocommerce-admin/pull/7142 )
...
* Add payment gateway suggestions unit tests
* Fix up old key fields
* Fix up lingering semantic inconsistencies
* Add changelog entry
* Add in default payment gateways for tests
* Handle PR feedback
* Fix up rebased changelog entries
2021-06-15 17:24:10 -04: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
louwie17
dae2abad2d
Increase ellipsis toggle specificity ( https://github.com/woocommerce/woocommerce-admin/pull/7169 )
2021-06-15 11:42:02 +08:00
louwie17
f43a00ab65
Update error messages for plugin activation and installation ( https://github.com/woocommerce/woocommerce-admin/pull/7164 )
...
* Update error messages for plugin activation and installation
* Add changelog and remove unnecessary change
* Fix lint errors
2021-06-14 14:21:04 -03:00
louwie17
db845addd4
Parse transient value to integer if retrieved from transient ( https://github.com/woocommerce/woocommerce-admin/pull/7161 )
...
* Parse transient value to integer if retrieved from transient
* Add changelog
2021-06-14 14:05:01 -03:00
Joshua T Flowers
b9df97c984
Add unit tests around extended payment gateway controller ( https://github.com/woocommerce/woocommerce-admin/pull/7133 )
...
* Add unit tests around extended payment gateway controller
* Add changelog entry
* Add mock enhanced gateway and make REST API schema consistent
2021-06-14 10:23:04 -04: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
louwie17
8a0131bd09
Add core-data dependency to data package ( https://github.com/woocommerce/woocommerce-admin/pull/7157 )
2021-06-11 09:03:42 -03:00
Ilyas Foo
bd51529aea
Revert Card component removal ( https://github.com/woocommerce/woocommerce-admin/pull/7167 )
...
* Revert "Remove the deprecated Card component (https://github.com/woocommerce/woocommerce-admin/pull/7114 )"
This reverts commit c07a5d77a6
.
* Update changelog
2021-06-11 14:26:02 +08:00
Moon
ce497c0d62
Include onboarding settings on the analytic pages ( https://github.com/woocommerce/woocommerce-admin/pull/7109 )
...
* Include onboarding settings on analytic pages
2021-06-10 21:38:34 -07:00
Ilyas Foo
7e4e0566f9
Update version to 2.5.0-dev and sync changelog and testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/7156 )
2021-06-11 11:38:19 +08: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
Paul Sealock
0a8d0a4e9b
Add changelog note about ExPlat ( https://github.com/woocommerce/woocommerce-admin/pull/7150 )
2021-06-10 16:53:39 +12: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
louwie17
992951f3ef
Bump package versions for release ( https://github.com/woocommerce/woocommerce-admin/pull/7106 )
...
* Bump package versions for release
* Update start plugin dependency version
* Add changelog to components and onboarding package
2021-06-09 18:01:07 -03:00
louwie17
0036aeffb6
Fix some minor inbox panel issues, left over from re-factor ( https://github.com/woocommerce/woocommerce-admin/pull/7125 )
...
* Add optional classname to inboxNote, and fix dimiss cancel button
* Fix formatting
2021-06-09 16:38:22 -03:00
Fernando
8ced81d369
Show task and activity notifications in the Inbox panel ( https://github.com/woocommerce/woocommerce-admin/pull/7017 )
...
* Added abbreviated panels
This commit adds abbreviated panels
* Added notifications getter
* Variables renamed
* Added unread-indicators refactor
* Open panel by default
* Refactor unread-indicators
* Renamed a few files and added event recording
* Modified "critical alert" presentation
* Removed useless control
* Renamed const
* Added control to InboxPanel component
* Multiple critical alerts handling
* Fixed styles
* Moved Inbox panel styles
# Conflicts:
# packages/experimental/src/inbox-note/style.scss
* Added tests
* Inbox panel width reduced
* Small refactor for unread notifications
* Renamed abbreviated card component
* Added changelog
# Conflicts:
# readme.txt
# Conflicts:
# readme.txt
* Renamed inbox-panel and the cards config file
* Renamed unread notifications variable
* Fixed abbreviated card box-shadow
* Small refactor to unread-indicators file
* Refactored method getInitialState
* Added scroll to task list
# Conflicts:
# client/task-list/task-list.js
* Small CSS changes to titles
* Fixed changelog
# Conflicts:
# readme.txt
# Conflicts:
# readme.txt
* Added param to filter `woocommerce_admin_onboarding_task_list`
* Removed extensibility from `getAbbreviatedNotifications`
* Fixed chunk name
* Removed `critical` prop from `AbbreviatedCard` comopnent
* Moved AbbreviatedCard component to `packages`
This commit moves the component `AbbreviatedCard` to `packages`
# Conflicts:
# docs/components/_sidebar.md
# packages/components/CHANGELOG.md
# packages/components/src/index.js
# Conflicts:
# packages/components/CHANGELOG.md
* Removed `critical alerts` tag from abbreviated card
This commit removes the tag `critical alerts` from the `Things to do next` abbreviated card
* Removed filter `woocommerce_admin_abbreviated_card_list`
* Fixed icon
* Added defaut value to `hasUnreadNotifications`
* Fix mapSelect error when the dismissed tasks option isn't populated.
* Added AbbreviatedNotificationsPanel
* Added tests
* Renamed `getUnreadNotes` to `isNotesPanelVisible`
* Removed abbreviated-card.js
* Added singular/plural copy handling
* Renamed method `getInitialState` to `getInitialOpenState`
* Fixed Link prop
* Revert "Fixed Link prop"
This reverts commit 74e6a7fae030766eb5d6be098caa15478f2cb2c6.
* Fixed Link prop
* Added task list visibility check
* Fixed scroll after redirect
# Conflicts:
# client/task-list/index.js
* Added propType to `AbbreviatedCard`
* Fixed `Add-task doc example
* Removed default values from ActivityPanel
* Fixed multiple calls to a filter
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2021-06-09 10:56:45 -03:00
Sam Seay
9033d575cc
Remove stylesheets supporting IE11 ( https://github.com/woocommerce/woocommerce-admin/pull/7137 )
...
* Remove stylesheets supporting IE11.
* Add a changelog entry.
2021-06-09 09:11:18 -03:00
Sam Seay
9bd935fd32
Update the removal version to 8 for deprecated components to ensure better lead time. ( https://github.com/woocommerce/woocommerce-admin/pull/7134 )
2021-06-09 09:03:22 -03: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
Renovate Bot
9dfb748827
Update dependency fork-ts-checker-webpack-plugin to v6.2.10
2021-06-09 06:51:00 +00: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
Renovate Bot
a942fa4f99
Pin dependencies
2021-06-09 02:57:00 +00:00
Sam Seay
e2f90a4e30
Add a default gateway for the klarna plugin/gateway `klarna-checkout-for-woocommerce` ( https://github.com/woocommerce/woocommerce-admin/pull/7085 )
2021-06-09 12:57:04 +12:00
Sam Seay
b7a518b343
Update engines to better reflect supported node/npm versions. ( https://github.com/woocommerce/woocommerce-admin/pull/7126 )
2021-06-09 12:55:21 +12:00
Joshua T Flowers
e09332d86a
Add Square as default fallback gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7107 )
...
* Add Square fallback gateway
* Fix gateway key
* Add changelog entry
2021-06-08 15:47:10 -04:00
Jeff Stieler
d3fd2f36d0
Include orders without coupons when excluding specific coupon IDs. ( https://github.com/woocommerce/woocommerce-admin/pull/7021 )
...
* Include orders without coupons when excluding specific coupon IDs.
* Add changelog entry.
* Fix default Orders before/after query args.
* Specify date range for test query.
2021-06-08 14:56:23 -04:00
Joshua T Flowers
a2fa141bcb
Update payment gateway suggestions semantics to be more consistent ( https://github.com/woocommerce/woocommerce-admin/pull/7130 )
...
* Rename and simplify frontend component names
* Rename feature flag and feature folder
* Rename transients and filters
* Rename SlotFills
* Fix feature name comment
* Update variable naming in payment suggestions
* Update WCPay Button component
* Rename suggestion key to id
* Rename recommended to recommendation
* Add changelog entry
* Update isConfigured to needsSetup
* Fix key id reference in WCPayMethodCard
* Update onboarding component filenames and exports
* Fix typo
* Add changelog entry
* Fix up remaining references to keys/ids
2021-06-08 13:40:57 -04:00
Jeff Stieler
150c902d36
Add progressive task list animation ( https://github.com/woocommerce/woocommerce-admin/pull/7128 )
...
* Hide unexpanded task item content with css.
* Add transition animation to expanding TaskItems.
* Fix tests.
2021-06-08 08:16:53 -04:00
Moon
b24a3d28b7
Add target to the button to open it in a new tab ( https://github.com/woocommerce/woocommerce-admin/pull/7110 )
...
* Add target to the button to open it in a new tab
* Add changelog
2021-06-07 19:06:02 -07:00
Joshua T Flowers
7f720dfccb
Add eWAY as default fallback gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7108 )
...
* Add eWAY as default fallback gateway
* Fix payment gateway ID
* Add changelog entry
2021-06-07 15:09:37 -04:00
Joshua T Flowers
09840c9239
Optimize payment gateway resolution ( https://github.com/woocommerce/woocommerce-admin/pull/7124 )
...
* Pass down installed payment gateways instead of refetching
* Resolve individual gateways after resolving all gateways
* Add changelog entry
2021-06-07 15:04:19 -04:00
Jeff Stieler
f432b83365
Revert store setup task list title. ( https://github.com/woocommerce/woocommerce-admin/pull/7129 )
2021-06-07 11:33:40 -04:00
Sten
9b4da9b32e
Admin Notes: Add new Note suggesting Jetpack Backup to WooCommerce users ( https://github.com/woocommerce/woocommerce-admin/pull/6738 )
...
* Add new Note, Events calls
* Replace deprecated functions
* debug cleanup
* Add comment re moving this to Jetpack plugin in the future
* Fix merge conflict
* OK for real merge fix AND changelog entry, lol
* Adding UTM link variables
* Adding Backups check, switching to check for Jetpack installed rather than activated.
* - Fixing logic error by moving requirements check to after actioning logic.
- Rewriting has_backups() to check product instead of module.
* Fixing bug - has_backups() wasn't recognizing plan
2021-06-03 18:57:25 -07:00
Sam Seay
bff75b42f6
Deprecate the no longer used Gravatar component ( https://github.com/woocommerce/woocommerce-admin/pull/7116 )
2021-06-04 10:08:45 +12:00
Sam Seay
14258a324a
Remove useFilters, it was deprecated a long time ago. ( https://github.com/woocommerce/woocommerce-admin/pull/7117 )
2021-06-04 09:44:22 +12:00
louwie17
baba993f85
Add remind me later support to task list ( https://github.com/woocommerce/woocommerce-admin/pull/6923 )
...
* Initial ellipses menu render on task list
* Added remind me later functionality
* Fixed tests and wrote tests for ellipsis menu
* Update tracks
* Add changelog and update css
* Fix up spacing and track name
* Address PR feedback and add extra integration tests
* Remove the should render correctly test, as the other tests cover this
* Move logic out of mark up
* Directly reference the EllipsisMenu for now to circumvent a circular dependency
* Fix direct import in jest tests
* Preload remind me later optoin
* Some styling animation changes for the task list
* Stagger transitions for dismissing within collapsible list
* Fix lint warnings
* Update logic to prevent the use of TS `as`
* Add tests and comments
2021-06-03 18:44:05 -03:00
Sam Seay
dbf98d4710
Deprecate the SegmentedSelection component, its no longer used. ( https://github.com/woocommerce/woocommerce-admin/pull/7118 )
2021-06-04 08:29:59 +12:00
Sam Seay
97cf2079e8
Drop IE11 support, trim the build ~800kb ( https://github.com/woocommerce/woocommerce-admin/pull/7112 )
2021-06-04 08:01:16 +12:00
Sam Seay
c7ff1f4b2a
Deprecate the no longer used Count component ( https://github.com/woocommerce/woocommerce-admin/pull/7115 )
2021-06-04 07:59:11 +12:00
Sam Seay
c07a5d77a6
Remove the deprecated Card component ( https://github.com/woocommerce/woocommerce-admin/pull/7114 )
2021-06-04 07:43:56 +12:00
Joshua T Flowers
a417a72ce4
Add loading placeholders for payment gateways task ( https://github.com/woocommerce/woocommerce-admin/pull/7123 )
...
* Add payment list placeholder
* Add current step placeholder
* Fix task list placeholder shown for individual tasks
* Add changelog entry
2021-06-03 15:14:31 -04:00
Joel Thiessen
7cfa39663a
Adding WCPay payment configuration defaults ( https://github.com/woocommerce/woocommerce-admin/pull/7097 )
...
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-06-03 09:19:50 -07:00
Joel Thiessen
dc9f44e536
Fixing incorrect Transformer casing throwing an error in case-sensitive environments ( https://github.com/woocommerce/woocommerce-admin/pull/7104 )
2021-06-03 09:09:19 -07:00
Joshua T Flowers
eb833db73a
Add in Razorpay as default fallback payment gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7096 )
...
* Add razorpay as default fallback payment gateway
* Move razorpay SVG
* Fix alt logo text translation
* Only show razorpay in IN
* Add changelog entry
2021-06-03 10:34:06 -04:00
Joshua T Flowers
e86667de02
Add payment gateway return URL and action ( https://github.com/woocommerce/woocommerce-admin/pull/7095 )
...
* Add return URL argument to connection URL method
* Remove 'oauth' from connection URL method
* Add changelog entry
2021-06-03 10:15:41 -04:00
Sam Seay
abe7d9d39f
Attempt to remove fixed WP version in e2e. ( https://github.com/woocommerce/woocommerce-admin/pull/7111 )
2021-06-03 09:14:48 -03: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
renovate[bot]
302c7f95e4
Update dependency dompurify to v2.2.9 ( https://github.com/woocommerce/woocommerce-admin/pull/7100 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-03 14:11:24 +12:00
Sam Seay
f2ba2faf26
Fix a bug where the test zip command used the wrong file suffix for JS ( https://github.com/woocommerce/woocommerce-admin/pull/7094 )
2021-06-03 14:09:20 +12:00
Sam Seay
4ca5a4e226
Add Mollie to DefaultPaymentGateways ( https://github.com/woocommerce/woocommerce-admin/pull/7092 )
2021-06-03 09:08:11 +12:00
Joshua T Flowers
b4c71ae644
Add BACS as default fallback payment gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7073 )
...
* Add bacs method to fallback methods
* Register bacs plugin to override default setup
* Clean up prop usage
* Add changelog entry
* Fix imports for onboarding package
* Fix card divider
* Return early in updateSettings
* Move recommended gateway up to remote payments index
* Fix text domains
2021-06-02 16:54:04 -04:00
louwie17
65de4bff00
Refactor and extract inbox panel components ( https://github.com/woocommerce/woocommerce-admin/pull/7006 )
...
* Refactored the inbox note cards and moved to experimental package
* Update experimental dependencies
* Add tests for inbox-note components, and updated naming
* Add changelog
* Update readme and fix dismiss all
* Fixed lint errors
* Refactor dismiss logic in inbox-panel
* Add hook for handling inner link callbacks
* Export updates and a minor TS update
* Fix lint error
2021-06-02 15:25:41 -03:00
louwie17
1b022ae4de
Fix notices, to make sure it uses the correct store ( https://github.com/woocommerce/woocommerce-admin/pull/7077 )
...
* Fix notices, to make sure it uses the correct store
* Add changelog
* Use core/notices2 for queued notices
2021-06-02 14:30:32 -03:00
Sam Seay
8f3c396cfd
When publishing the docs on gh workflow the WP css was not imported ( https://github.com/woocommerce/woocommerce-admin/pull/7102 )
2021-06-02 16:39:34 +12:00
Sam Seay
edc8a1bdc5
Publish storybook docs, remove react docgen based docs ( https://github.com/woocommerce/woocommerce-admin/pull/7055 )
2021-06-02 15:54:00 +12:00
Renovate Bot
7b55ab54ac
Update dependency eslint-import-resolver-webpack to v0.13.1
2021-06-02 03:04:48 +00:00
Renovate Bot
24ae284475
Update dependency autoprefixer to v10.2.6
2021-06-02 02:37:52 +00:00
Renovate Bot
283ce29f84
Update dependency @types/lodash to v4.14.170
2021-06-02 01:58:59 +00:00
Jeff Stieler
4ab034e5d5
Add progressive task list experiment ( https://github.com/woocommerce/woocommerce-admin/pull/7089 )
...
* Remove "core" setup list detection logic.
* Fix tests.
* Add tests for onComplete and onHide callbacks.
* Add optional item expansion behavior to TaskList.
* Add task item expansion A/B test.
* Add tests for A/B variations.
* Add changelog entry.
2021-06-01 12:43:17 -06:00
Joshua T Flowers
8ab9af4b21
Update remote payment docs gateway methods ( https://github.com/woocommerce/woocommerce-admin/pull/7079 )
...
* Update remote payment docs gateway methods
* Add changelog entry
* Fix the description for the post install scripts
2021-06-01 14:07:04 -04:00
Jeff Stieler
c23d02bcc0
Add conditional copy/content and CTA to expanded task items ( https://github.com/woocommerce/woocommerce-admin/pull/6956 )
...
* Add action button to TaskItem.
* Pass through click event.
* Add separate action and label to onClick.
* Add initial copy for task expansion.
* Expand one task at a time.
* Add descriptive text to the payments step.
* Set the first incomplete task current by default.
* Revert expansion behavior.
* Fix margins.
* Curate purchase products task content based on selections.
* Fix appearance task copy.
* Fix payment task copy.
* Add conditional tax step title.
* Indicated if task is expanded to click handlers.
* Automatically enable WC Tax from the expanded CTA.
* Restore additional text property.
* Fix task title xpath selector in E2E test.
* Fix automatic tax setup query param logic.
* Add changelog entries.
2021-06-01 12:04:21 -06:00
Tomek Wytrębowicz
9fbebae1a6
Reduce the specificity and complexity of the `ReportError` component ( https://github.com/woocommerce/woocommerce-admin/pull/6846 )
...
- Remove unused `isEmpty` prop from ReportError.
- Remove `isError` prop from ReportError, as it is always set. Also, to reduce confusion that: Could "report error" be not an error?
- Remove default value of `className` prop from `ReportError`, it is unnecesary, as `EmptyContent` takes falsy values as well as `''`.
- Change `ReportError` to a function component.
2021-06-01 12:07:35 +02:00
Tomek Wytrębowicz
ca70d90bf7
Add `md5` for `/data` dependencies. ( https://github.com/woocommerce/woocommerce-admin/pull/7087 )
...
It was used, but not stated in `package.json`.
Fixes woocommerce/woocommerce-admin#7086 .
2021-05-31 17:29:45 +02:00
Joel Thiessen
bb7f1dc466
Refactoring WCPayCard into new onboarding package ( https://github.com/woocommerce/woocommerce-admin/pull/7058 )
2021-05-28 16:26:38 -07:00
Ron Rennick
5cbd87e8ac
bump E2E package versions to latest ( https://github.com/woocommerce/woocommerce-admin/pull/7056 )
2021-05-28 17:59:49 -03:00
lowwebtech
4541dba68d
Image optimization ( https://github.com/woocommerce/woocommerce-admin/pull/7051 )
2021-05-28 10:26:08 +12:00
Adrian Duffell
366ffb18b1
Fix formatting in coupons E2E test ( https://github.com/woocommerce/woocommerce-admin/pull/7080 )
2021-05-27 22:19:51 +08:00
Paul Sealock
1266e32c3f
add count transformer ReadMe ( https://github.com/woocommerce/woocommerce-admin/pull/7063 )
2021-05-27 14:23:57 +12:00
Bec Scott
663ab3d27e
Offload remote inbox notifications engine run using action-scheduler ( https://github.com/woocommerce/woocommerce-admin/pull/6995 )
...
* Offload remote inbox notifications engine run using action-scheduler
* release note
* fix changelog
* Use init hook to initialize async AS action
* Drop product count query workaround
2021-05-27 10:55:37 +10:00
Joshua T Flowers
18473767eb
Add COD method to default payment gateway recommendations ( https://github.com/woocommerce/woocommerce-admin/pull/7057 )
...
* Check enabled methods using the payment gateway data store
* Reduce loops used in payment gateway list
* Add COD as fallback gateway
* Allow payment gateway to be enabled without connection step
* Uses installed payment gateway details in payment gateway list
* Add changelog entry
2021-05-26 16:36:58 -04:00
Jeff Stieler
419a7fc5b1
Fix advanced filter operator selector styling. ( https://github.com/woocommerce/woocommerce-admin/pull/7005 )
...
* Fix advanced filter operator selector styling.
* Add changelog entries.
2021-05-26 15:53:45 -04:00
louwie17
69dfdf733c
Add tree shaking support for woocommerce components ( https://github.com/woocommerce/woocommerce-admin/pull/7034 )
...
* Add woocommerce/components tree shaking support
* Compile individual component styles for individual use
* Update readme
* Add changelog
* Fix correct import
* Update readme with dependency extraction updates
* Update dependency extraction naming
2021-05-26 16:35:46 -03:00
Joshua T Flowers
dc175824c9
Hook up payments gateway data store ( https://github.com/woocommerce/woocommerce-admin/pull/7038 )
...
* Hook up payment gateway data store
* Fix deprecated onSubmitCallback in dynamic form
* Throw catchable errors in data store
* Provide a way to get errors from the data store
* Hook up payment connection update with data store
* Remove redundant requesting state on selectors
* Add changelog entry
* Handle PR feedback
* Fix linting errors
2021-05-26 14:31:30 -04:00
Bec Scott
71d34c4c21
Set autoload to false for all remote inbox notifications options ( https://github.com/woocommerce/woocommerce-admin/pull/7060 )
...
* Set autoload to false for all remote inbox notifications options
* release note
2021-05-26 15:37:41 +10:00
Renovate Bot
c6890e11c0
Update dependency @testing-library/user-event to v13.1.9
2021-05-26 04:31:16 +00:00
Renovate Bot
0eacca32db
Update dependency @testing-library/react to v11.2.7
2021-05-26 03:55:41 +00:00
Sam Seay
d6a8bcf1e9
Remove fragile selector. ( https://github.com/woocommerce/woocommerce-admin/pull/7053 )
2021-05-26 13:36:04 +12:00
Joshua T Flowers
f09b06223c
Add Mercado Pago as default fallback payment gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7043 )
...
* Add paystack to fallback payment gateways
* Add mercado page to fallback gateways
* Move help text above submit button
* Add changelog entry
* Update gateway ID
2021-05-25 18:09:35 -04:00
Joshua T Flowers
d03dbeeead
Add PayPal as default fallback gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7044 )
...
* Add PayPal as default fallback gateway
* Filter out fields that aren't found
2021-05-25 12:49:40 -04:00
Joshua T Flowers
90710e15f4
Add Paystack as fallback gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7025 )
...
* Add paystack to fallback payment gateways
* Add changelog entry
* Fix CBD rules
2021-05-25 11:41:56 -04:00
louwie17
b3c6d25daa
Fix deprecated warnings from `select` control in `@wordpress/data-controls` ( https://github.com/woocommerce/woocommerce-admin/pull/7007 )
...
* Made use of the wordpress/data controls instead of depreciated data-controls package
* Fix test and add changelog
* Remove space
2021-05-25 12:14:31 -03:00
louwie17
b642576e34
Remove the use of Dashicons and replace with `@wordpress/icons` or `gridicons` ( https://github.com/woocommerce/woocommerce-admin/pull/7020 )
...
* Updated mobile banner icon with cross-small gridicon
* Update analytics dashboard icons, removing use of dashicon
* Remove use of dash icon in tag component
* Remove dash icon from ellipsis menu
* Remove use of dashicon in calendar
* Update icon imports and remove use of Dashicon in collapsible list
* Remove Dashicon usage from store alerts as it is depreciated
* Remove dashicon usage in shipping label
* Fix up old css for icons
* Removed dashicon usage in favorite button
* Update the wordpress/icons package
* Add changelogs
* Fix broken test
2021-05-25 12:14:14 -03:00
louwie17
98986796c5
Add missing argument to match TransformerInterface ( https://github.com/woocommerce/woocommerce-admin/pull/7071 )
2021-05-25 11:56:59 -03:00
Ilyas Foo
f5557fcceb
Post-Release 2.3.1: Sync readme changelog and testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/7062 )
...
* Remove remnants of legacy changelog script
* Add 2.3.0 section to TESTING-INSTRUCTIONS.md and moved all relevant instructions
* Update readme.txt with changelog from 2.3.1
2021-05-25 12:53:26 +08:00
Paul Sealock
40c22add0a
Rule processing transformers: Add count rule ( https://github.com/woocommerce/woocommerce-admin/pull/7037 )
...
* Add count rule
* better return types
* rename test
2021-05-25 16:32:51 +12:00
Paul Sealock
b37082630a
bump ExPlat deps and prep for release ( https://github.com/woocommerce/woocommerce-admin/pull/7010 )
...
* bump explat deps
* package lock update
2021-05-25 16:25:10 +12:00
Paul Sealock
3ba1afd0ab
Rule Processing: pass in default ( https://github.com/woocommerce/woocommerce-admin/pull/7009 )
...
* pass default
* handle tests
* changelog
2021-05-25 16:23:49 +12:00
renovate[bot]
f817302e99
Update dependency dompurify to v2.2.8 ( https://github.com/woocommerce/woocommerce-admin/pull/6972 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-25 07:43:44 +12:00
Paul Sealock
abf0ddebda
apply better rules ( https://github.com/woocommerce/woocommerce-admin/pull/7008 )
2021-05-25 07:02:52 +12:00
Moon
9613c04d31
Add a new store to interact with WC Payments REST APIs ( https://github.com/woocommerce/woocommerce-admin/pull/6918 )
...
* Add a new store to interact with WC Payments REST APIs
* Convert to Typescript
* Refactor payments store
* Fixed type on GET_PAYMENT_GATEWAYS_SUCCESS action name
* Added SettingDefinition
* Added PaymentSelectors type
* Updated Array<type> to string[]
* Update action name in test
* Move stub.ts out of test directory
* Set type for the test stub and change order type to number | ""
* Rename action type name
* Add changelog
* Follow _REQUEST _SUCCESS _ERROR action naming
* Add a new action and reducer for getPaymentGateway
* Change store key
* Move to packages/data
* Export store name
2021-05-24 13:29:44 -04:00
Jeff Stieler
ce02b58b23
Fix styling of chart component header. ( https://github.com/woocommerce/woocommerce-admin/pull/7002 )
...
* Fix styling of chart component header.
* Add changelog entries.
2021-05-24 08:44:13 -04:00
Mik
3240132eb2
Replace marketing extension - Google Listings and Ads - fix ( https://github.com/woocommerce/woocommerce-admin/pull/7029 )
...
* Replace list of installed extensions
* Remove clipping path from Google icon
* Add changelog entry
2021-05-24 16:39:04 +08:00
Timmy Crawford
7681f09d18
WCPay: Update supported countries ( https://github.com/woocommerce/woocommerce-admin/pull/7048 )
...
* WCPay: Update supported countries
* Add readme entry
2021-05-24 13:48:09 +08:00
renovate[bot]
a85ce2f171
Update dependency typescript to v4.2.4 ( https://github.com/woocommerce/woocommerce-admin/pull/7012 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 15:48:00 +12:00
Ilyas Foo
ff1e33bf9e
Temporarily hardcode e2e workflow to use WordPress 5.7.1 ( https://github.com/woocommerce/woocommerce-admin/pull/7054 )
2021-05-24 10:01:25 +08:00
Joel Thiessen
3725d570d9
Fixing redudant notices when installing plugins via payment task list ( https://github.com/woocommerce/woocommerce-admin/pull/7026 )
2021-05-21 11:24:57 -07:00
Ilyas Foo
154071c1bc
Revert copy for setup checklist ( https://github.com/woocommerce/woocommerce-admin/pull/7015 )
...
* Revert copy for index.js and tasks.js
* Update changelog
* Update test
* Update tests
* Update tests again
* Lint
2021-05-21 09:13:40 +08:00
louwie17
0276445f65
Updated transition time, and added external icon for link ( https://github.com/woocommerce/woocommerce-admin/pull/7022 )
...
* Updated transition time, and added external icon for link
* Add changelog
2021-05-20 08:31:14 -03:00
Joshua T Flowers
d4bba9b931
Add PayPal to fallback payment gateways ( https://github.com/woocommerce/woocommerce-admin/pull/7001 )
...
* Remove unused spec properties
* Move default payment gateways to separate file
* Add Stripe to default gateways
* Fix payfast image and visibility conditions
* Fix setup button action when no fields are present
* Fix localized string and help text
* Fix settings transform and add help text
* Show connection button if oauth connection URL exists
* Add fallback when no fields exist
* Remove ToS text in favor of help text
* Update payment action boolean check
* Add changelog entry
2021-05-19 18:49:17 -04: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
Renovate Bot
37422bd809
Update dependency webpack-cli to v3.3.12
2021-05-19 03:18:35 +00:00
Renovate Bot
b4015a2b79
Pin dependency @types/dompurify to 2.2.2
2021-05-19 01:41:34 +00:00
Joel Thiessen
9fda36439e
Typescript conversion of DynamicForm Component ( https://github.com/woocommerce/woocommerce-admin/pull/6981 )
2021-05-18 12:46:21 -07:00
Moon
f0b494142e
Set target to blank for the external links ( https://github.com/woocommerce/woocommerce-admin/pull/6999 )
...
* Set target to blank for external links
2021-05-18 01:40:02 -07:00
David Garcia Watkins
9bd4eef17e
Call existing filters for leaderboards. ( https://github.com/woocommerce/woocommerce-admin/pull/6626 )
...
* Call existing filters for leaderboards.
Fixes category data not refreshing when selecting a different currency while using docs/examples/extensions/sql-modification
* Update changelog
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-05-18 15:14:28 +08: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
Jeff Stieler
8d2bd3bb2f
Avoid duplicate preload tags. ( https://github.com/woocommerce/woocommerce-admin/pull/6998 )
...
* Avoid duplicate preload tags.
* Add changelog entry.
2021-05-17 11:42:12 -06:00
Joshua T Flowers
f5309f449d
Get post install scripts from gateway and enqueue in client ( https://github.com/woocommerce/woocommerce-admin/pull/6967 )
...
* Add method to collect post install scripts from payment gateway
* Add reusable JS method to add scripts
* Enqueue gateway script after plugin install
* Fix current method not found when resolving methods
* Add changelog entry
* Fix readme merge conflict
2021-05-17 10:51:02 -04:00
Timmy Crawford
5c8fe41506
Update version to 2.4.0-dev and sync changelogs with release/2.3.0 branch ( https://github.com/woocommerce/woocommerce-admin/pull/6991 )
2021-05-14 14:50:15 -07:00
louwie17
7cfaa21db2
Add source support for notes query ( https://github.com/woocommerce/woocommerce-admin/pull/6979 )
...
* Add source support for notes query
* Add changelog
* Removed ternary condition
2021-05-14 13:13:51 -03:00
louwie17
844f71486b
Remove `woocommerce/experimental` dependency from `woocommerce/components` ( https://github.com/woocommerce/woocommerce-admin/pull/6986 )
...
* Removed the experimental dependency from the components package, and moved stories to experimental package
* Add changelog
* Fix typo
2021-05-14 12:23:01 -03:00
Moon
8983a4d371
Make sure transformers exist ( https://github.com/woocommerce/woocommerce-admin/pull/6987 )
2021-05-13 21:46:49 -07:00
Moon
e2d9a8792a
Support transformers in remote inbox notifications ( https://github.com/woocommerce/woocommerce-admin/pull/6948 )
...
* Introduce Transformer to Remote Inbox Notification
* Added array_column, array_flatten, array_keys, array_search, array_values, and dot_notation transformers.
* Added tests
2021-05-13 21:27:35 -07:00
Jeff Stieler
5e51901e6a
Update package versions for publishing. ( https://github.com/woocommerce/woocommerce-admin/pull/6985 )
2021-05-13 09:42:04 -06:00
Jeff Stieler
eb4d60c4fd
Fix styling of task item content. ( https://github.com/woocommerce/woocommerce-admin/pull/6983 )
2021-05-13 09:20:26 -06:00
Tomek Wytrębowicz
7cc1d724de
Forward `autocompleter` prop from `CompareFilter` to `Search` ( https://github.com/woocommerce/woocommerce-admin/pull/6911 )
...
- Forward `autocompleter` prop from `CompareFilter` to `Search`.
Allow, to use the `custom` type of search,
previously it was complaining about lack of `autocompleter`,
even though it was provided.
- Move `path` in Storybooks example to a parameter, to allow setting it in unit tests.
- Add few tests for FilterPicker.
- it renders the basic storybook example without throwing an error
- it forwards `autocompleter` & `type` props
Fixes : woocommerce/woocommerce-admin#6890
2021-05-13 17:20:07 +02:00
Jeff Stieler
bdd91b3337
Move TaskItem component to experimental package for reuse. ( https://github.com/woocommerce/woocommerce-admin/pull/6978 )
...
* Move TaskItem component to experimental package for reuse.
* Bump package version.
* Add dompurify types.
2021-05-13 08:05:30 -06:00
Joshua T Flowers
685c012dfe
Add transient notices feature ( https://github.com/woocommerce/woocommerce-admin/pull/6809 )
...
* Add PluginInstaller class
* Redirect to referring page if one exists
* Store message and show after redirect
* Add transient notices feature
* Fix default and empty state of notices
* Use TransientNotices to display plugin notices
* Add transient notices readme
* Add feature unit tests
* Update notice queue client-side
* Add filter to queued option prior to notice creation
* Use the core/notices2 data store
* Fix filtered queued notices
* Add methods to get individual notices and queue
* Allow user ID specific notices
* Remove errant script asset dependencies
* Add user ID property to docs
* Use preloaded option instead of window var
* Refactor transient notices to directly use option instead of state
* Show error message from WP_Error in plugin installer
* Add tests around notice queue in client
* Add changelog entry
2021-05-13 09:08:31 -04:00
Joshua T Flowers
8eb0179df7
Only fetch remote payment gateway recommendations when opted in ( https://github.com/woocommerce/woocommerce-admin/pull/6964 )
...
* Only fetch remote payment specs when marketplace suggestions enabled
* Fall back to default specs if remote fetch fails
* Change ruleset to object
* Add changelog entry
2021-05-13 08:55:51 -04:00
louwie17
295cd6b2c9
Add note date range logic ( https://github.com/woocommerce/woocommerce-admin/pull/6969 )
...
* Add notes helper method for date ranges
* Update two of the notes with date ranges
* Add tests and fix range logic
* Add changelog
* Update comments
* Update range name and added exception if invalid range passed in.
* Fix php unit tests
* Fix another test
2021-05-13 09:41:21 -03:00