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