Fernando
7085834b19
Add check before changing the state ( https://github.com/woocommerce/woocommerce-admin/pull/7794 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-13 13:16:32 -03:00
Fernando
f20113fa01
Add country validation to subscription inclusion ( https://github.com/woocommerce/woocommerce-admin/pull/7777 )
...
* Add country validation
* Add OnboardingProductTypes
* Add OnboardingProductTypes
* Add country validation to product task
* Add `productTypes` data handling
* Add country validation and new productTypes handling
* Fix to get `productTypes` from a SSOT
* Add `invalidateResolution` for `getTaskLists`
* Fixed testing instructions
* Fix `isTaskListHidden` issue
* Fixed product type
* Added constant `EMPTY_ARRAY` to `selectors.ts`
* Fixed constant `EMPTY_ARRAY`
* Moved `invalidateResolutionForStoreSelector` into OBW
* Updated testing instructions
* Updated testing instructions
* Fixed testing instructions
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-13 13:15:47 -03:00
louwie17
a8a3238c38
Update E2E tests logic a bit ( https://github.com/woocommerce/woocommerce-admin/pull/7769 )
2021-10-13 08:36:19 -03:00
Taha Paksu
40cba3b0fb
Add E2E tests for initial store currencies with different onboarding countries ( https://github.com/woocommerce/woocommerce-admin/pull/7712 )
...
* initial push
* Add E2E test for onboarding currency
* Wait for navigation to complete
* Change method for value check
* Fix dropdown selector
* Add more country tests
* Add changelog entry
* Add test to runner
* Change the call order
* Fix country specs
* Fix country specs for UK
* Try changelog again
* Move changelog record to e2e-tests
* Convert string concats to template literals
* Remove spaces
* Fix linter errors
* Add check for WCPay supported countries
2021-10-13 12:16:35 +08:00
Danae Millan
db2a74927b
Fix calendar not being dismissed when clicked outside ( https://github.com/woocommerce/woocommerce-admin/pull/7714 )
...
* Add an 'onBlur' property to the 'DateInput' component
This allows passing a callback function for the input's onBlur event.
* Close the calendar when an element outside the parent dropdown gets focused
Previously, you had to click on the calendar and then click anywhere else for it to be closed without selecting a date. Now the calendar gets closed when any element outside the parent's dropdown element gets thefocus.
* Remove redundant code for dismissing the calendar when pressing the tab key
Dismissing the calendar this way doesn't seem to be good for accessibility. That aside, the introduced dismissal on blur handles the scenario of when the calendar isn't needed anymore and the user is navigating with the keyboard.
* Add changelog entry
* Use the PR ID instead of the issue ID for the changelog entry
* Separate new declaration on a new line instead of using a comma
* Add an entry to the packages/components/ changelog
2021-10-13 08:20:24 +08:00
Joshua T Flowers
cdebc7ed0f
Sync changelog from 2.7.2 ( https://github.com/woocommerce/woocommerce-admin/pull/7787 )
2021-10-12 15:57:46 -04:00
louwie17
9f6963f87d
Add sort_by config option to the sort_tasks method ( https://github.com/woocommerce/woocommerce-admin/pull/7767 )
...
* Add sort_by config option to the sort_tasks method
* Add tests for sort function
* Fix merge conflict
2021-10-12 15:28:52 -03:00
louwie17
beb05ae487
Move some of the deprecated tasks stuff outside of the main components ( https://github.com/woocommerce/woocommerce-admin/pull/7761 )
...
* Move some of the deprecated tasks stuff outside of the main components
* Do not add data to request when no depreciated tasks
* Move possiblePruneTaskData function to the deprecated-tasks class
2021-10-12 11:05:43 -03:00
Louis Laugesen
5d259f7a4b
Fix wc-admin nav styles after GB 11.6.0 changes ( https://github.com/woocommerce/woocommerce-admin/pull/7771 )
...
* Fix wc-admin nav styles after GB 11.6.0 changes
* log
* Update changelogs/fix-nav-style
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Hover fix for back button
* Merge styles with existing
* Fix back button size
* fix whitespace issues
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-10-12 18:28:19 +08:00
Matt Sherman
30a808f49b
Remove old changelog from readme.txt and update minimum requirements ( https://github.com/woocommerce/woocommerce-admin/pull/7774 )
...
* Remove old changelog from readme.txt and update minimum requirements
* Update WC requires/tested versions in plugin comment block
2021-10-11 14:33:09 -04:00
Ilyas Foo
364b284e3e
Fix analytics crashing on daylight saving ( https://github.com/woocommerce/woocommerce-admin/pull/7763 )
...
* Fix next_day_start from miscalculating daylight saving dates
* Add failsafe for do-while loop in next_week_start
* Add changelog
* Add seconds to setTime
2021-10-11 09:45:24 +08:00
Joshua T Flowers
76c082ff2c
Add TaskList unit tests ( https://github.com/woocommerce/woocommerce-admin/pull/7754 )
...
* Add TaskList unit tests
* Remove extra prefix event method
* Fix up test vars
2021-10-08 17:01:37 -04:00
Joshua T Flowers
d8f3aca83a
Use action to verify appearance task completion ( https://github.com/woocommerce/woocommerce-admin/pull/7770 )
...
* Use task action to verify appearance completion
* Add migration for old option
* Handle PR feedback
2021-10-08 17:01:12 -04:00
leonardo lopes de albuquerque
2521d7d073
Fix nesting div inside p element ( https://github.com/woocommerce/woocommerce-admin/pull/7704 )
...
* changed p element to div to allow inner elements. This prevents warnings when using ReportCard component woocommerce/woocommerce-admin#7703
* added testing instructions and changelog woocommerce/woocommerce-admin#7703
* removed unnecessary test description woocommerce/woocommerce-admin#7703
Co-authored-by: Leonardo Lopes de Albuquerque <leonardo.albuquerque@automattic.com>
2021-10-07 11:47:14 -03:00
Ilyas Foo
cc1dab6e70
Bump admin-e2e-tests version to 0.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/7764 )
2021-10-07 13:05:40 +08:00
Joshua T Flowers
eefb1c2513
Add missing task events ( https://github.com/woocommerce/woocommerce-admin/pull/7744 )
...
* Add task view event
* Fix double prefix on events
* Add shared trait for event recording
* Fix double prefixed events
* Use record_tracks_event to record task related events
* Handle PR feedback
* Add parent ID to temporary extended tasks
* Fix prefixing order
2021-10-06 16:48:55 -04:00
Joshua T Flowers
ba71478725
Clean up task related functions ( https://github.com/woocommerce/woocommerce-admin/pull/7739 )
...
* Move active task transient
* Move default tasks to constant
* Move task return notice scripts
* Remove redundant task completion check
* Move deprecated options to separate class
* Move media scripts to appearance task
* Fix up missing classes
2021-10-06 16:48:28 -04:00
louwie17
6852ec0571
Make sure the depreciated onClick is triggered and container is used ( https://github.com/woocommerce/woocommerce-admin/pull/7749 )
...
* Make sure the depreciated onClick is triggered and container is used
* Fix the extended tasks condition
* Add sort by support for task list
* Revert extension example changes back
* Move sorting tasks to the API and add asc/desc support
* Revert extension example changes
* Update sort function naming
2021-10-06 15:47:41 -03:00
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