louwie17
5140106c39
Fix orders panel loading ( https://github.com/woocommerce/woocommerce-admin/pull/7395 )
...
* Using order items endpoint instead of reports and added customer and products support
* Add total_formatted key
* Converted component to functional component and memoized getItems function
* Using orders meta table instead of reports product_lookup table
* Add changelog entry
2021-07-23 09:47:23 -03:00
Joshua T Flowers
8a040b99d9
Add scope to BACS slotfill ( https://github.com/woocommerce/woocommerce-admin/pull/7405 )
...
* Update e2e matcher for tasklist header
* Add scope to BACS slotfill
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-07-22 17:48:06 -04:00
Joel Thiessen
66ab35bbc7
Adding links to help panel for marketing task ( https://github.com/woocommerce/woocommerce-admin/pull/7384 )
2021-07-21 13:48:54 -07:00
Moon
6f163b4cee
Fix/7358 stock api performance improvement ( https://github.com/woocommerce/woocommerce-admin/pull/7377 )
...
* Add a new endpoint to get low in stock products.
* Set images and attributes property
* WIP -- set last order date
* Do not join postmeta if store does not have any custom stock threshold
* Combine get_query() and get_query_for_sitewide_threshold() into one method and a few code clean ups
* Support status field
* Use new products/low-in-stock endpoint to count low in stock products.
* Use new products/low-in-stock to get low in stock products data.
* Remove low_in_stock support
* Deprecate low_in_stock
* Use the new ProductsLowInStock when low_in_stock is set
* Set cache-control header for the new endpoint
* Use wc_rest_prepare_date_response to format the response date
* Extract low in stock test to a separate file
* Make is_using_sitewide_stock_threshold_only protected
* Revert Products.php changes
* Add back low in stock test to products test
* Remove unnecessary if
* Make the controller final
* Deprecate low_in_stock
* Bug fix -- last_order_date was not setting correctly for variation post type. This commit fixes it
* Add changelog
2021-07-20 16:47:22 -07:00
Joel Thiessen
6b31d81f3d
Fixing a few issues with tracks events in gateway suggestions ( https://github.com/woocommerce/woocommerce-admin/pull/7304 )
...
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2021-07-19 15:23:06 -07:00
Ilyas Foo
69b0273206
Add lazy loading by checking panel open status and lint fix ( https://github.com/woocommerce/woocommerce-admin/pull/7379 )
...
* Add lazy loading by adding panel open condition and lint fix
* Add changelog
2021-07-19 14:56:41 +08:00
Fernando
4c236fe13c
Fixed OBW - Business details style ( https://github.com/woocommerce/woocommerce-admin/pull/7353 )
...
* Fixed OBW business details style
* Added changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-07-15 14:04:19 -03:00
Joshua T Flowers
681cbf43fc
Redirect to homescreen after payment gateway setup ( https://github.com/woocommerce/woocommerce-admin/pull/7332 )
...
* Redirect to homescreen after payment gateway setup
* Remove unused payment gateway redirects
2021-07-14 19:00:01 -04:00
Joshua T Flowers
d14d489a05
Invalidate task status when enabling a payment gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7330 )
2021-07-14 18:59:43 -04:00
Jeff Stieler
8e61f55017
Allow packages to be built in isolation. ( https://github.com/woocommerce/woocommerce-admin/pull/7286 )
...
* Use yarn instead of npm.
In prep for workspaces, since we're locked to npm < 7. See: https://github.com/woocommerce/woocommerce-admin/pull/7126#issue-661287749
* Initial workspace creation.
* Add initial tsc build to @woocommerce/number.
* Attempt to build experimental package.
* Try currency package.
* Define all packages as workspaces.
* Use tsconfig common to packages.
* Fix currency package build.
* Build csv-export with tsc.
* Try to build customer-effort-score with tsc.
* Fix JSX pragma.
* Build data package with tsc.
* Build date package with tsc.
* Build experimental package with tsc.
* Try to build explat package with tsc.
* Build navigation package with tsc.
* Build notices package with tsc.
* Build onboarding package with tsc.
* Build components package with tsc.
* Swap in package JS build into main script.
* Fix experimental package build.
* Try per-package css build with components.
* Try to run components package tests in isolation.
Broken on JSX in test files not being transformed.
* Move @woocommerce/wc-admin-settings into a package.
* Try to fix components package tests.
Fails because we aren't setting up the jest/jest-dom globals.
* Move JS test code to reusable (private) package.
* Enable incremental TS builds.
* Use workspaces to run JS tests.
* Use new jest configs for update snapshot scripts.
* Fix style builds.
* Fix package version in components.
* Fix client test debug and watch scripts.
* Update yarn lock.
* Update test-staged behavior.
* Try to fix storybook.
* Fix storybook.
* Update more npm commands to yarn.
* Add changelog.
* Fix lint errors.
* Update packages readme script references.
* Clean up unused gitignore match.
* Fix another npm command.
* Fix JS builds on watch.
* Fix start script.
* Fix start scripts for packages.
* Use tsc to build packages before tests
* yarn -> npm.
# Conflicts:
# package-lock.json
# package.json
* Fix linter error.
* Remove workspace definitions.
* Fix missing Fragment import.
* Fix package lock.
* Fix missing reference.
* Only build commonjs module for js-tests helper.
* Remove errant dependency from components.
* Remove noop scripts.
* Fix package JS build before testing.
* Revert noisy formatting changes.
* Fix precommit and test scripts.
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Revert babel config changes.
* chore(release): publish
- @woocommerce/components@7.2.0
- @woocommerce/csv-export@1.4.0
- @woocommerce/currency@3.2.0
- @woocommerce/customer-effort-score@1.1.0
- @woocommerce/data@1.4.0
- @woocommerce/date@3.1.0
- @woocommerce/dependency-extraction-webpack-plugin@1.7.0
- @woocommerce/eslint-plugin@1.3.0
- @woocommerce/experimental@1.5.0
- @woocommerce/explat@1.1.0
- @woocommerce/js-tests@1.1.0
- @woocommerce/navigation@6.1.0
- @woocommerce/notices@3.1.0
- @woocommerce/number@2.2.0
- @woocommerce/onboarding@1.1.0
- @woocommerce/tracks@1.1.0
- @woocommerce/wc-admin-settings@1.1.0
* Add script for running 'start' in a package.
* Remove yarn from gitignore.
* Update package changelogs, prep versions for release.
* Try to fix E2E tests after main merge.
* Some cleanup.
* Add changelog.
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-14 16:38:57 -04:00
Moon
166f590571
Fix undefined method error when setting up WC Tax ( https://github.com/woocommerce/woocommerce-admin/pull/7344 )
...
* Make this refers to the same class by binding this
* Add changelog
2021-07-14 12:50:30 -07:00
Moon
303e6ff84c
Set default value for performanceIndicators var ( https://github.com/woocommerce/woocommerce-admin/pull/7343 )
...
* Set default value for performanceIndicators var
2021-07-13 20:09:02 -07:00
Sam Seay
48ade7786b
Remove deprecated components in prep for release 8.0.0 of @woocommerce/components ( https://github.com/woocommerce/woocommerce-admin/pull/7293 )
2021-07-14 10:40:55 +12:00
Paul Sealock
3b2a153580
AdvancedFilters: Create workable defaults for Reports that don't have them ( https://github.com/woocommerce/woocommerce-admin/pull/7186 )
...
* on Filter update, keep all queries
* update _x translator instructions
* fix revenue filters
* better default advFilter
* fix stock filters
* revert readme changelog
2021-07-14 10:17:51 +12:00
Moon
db2b227d78
Render a spinner while woocommerce_setup_jetpack_opted_in is being loaded ( https://github.com/woocommerce/woocommerce-admin/pull/7269 )
...
* Preload woocommerce_setup_jetpack_opted_in option to prevent TOS text flickering
* Add changelog
2021-07-13 12:47:36 -07:00
Ilyas Foo
49dc897f61
Remove facebook extension from onboarding extensions fallback list ( https://github.com/woocommerce/woocommerce-admin/pull/7287 )
...
* Remove facebook marketing extension from fallback config
* Update changelog and testing instructions
* Update changelog to use the shiny new Jetpack changelogger
2021-07-13 11:15:51 +08:00
Paul Sealock
6ea9914ac0
Hook reference: Add SlotFill support ( https://github.com/woocommerce/woocommerce-admin/pull/6833 )
...
* add @slotFill to process
* add types
* committing data
* use filter instead of hook
* changelog
* add action type
* update paths to ignore builds and node_modules
* changelog
* Add action data type
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-09 11:01:43 +12:00
louwie17
4cdca48c6e
Fix transient overlapping adjacent content ( https://github.com/woocommerce/woocommerce-admin/pull/7302 )
...
* Overwrite width to auto given transients are displayed fixed
* Add changelog
2021-07-08 12:21:56 -03:00
Mik
5893ddceb7
Change event name to reflect plugin name ( https://github.com/woocommerce/woocommerce-admin/pull/7276 )
...
* Change event name to reflect plugin name
* Update changelog
2021-07-08 15:56:49 +01:00
Hsing-yu Flowers
bcf063a997
Make WooCommerce-admin full-screen minimum height 100vh important ( https://github.com/woocommerce/woocommerce-admin/pull/7230 )
...
* Add 100vh important on full screen
* Add changelog
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-08 10:33:15 -04:00
Joshua T Flowers
335cfe6554
Use payment gateway suggestion title instead of local plugin names ( https://github.com/woocommerce/woocommerce-admin/pull/7266 )
...
* Use payment gateway suggestion title instead of local plugin names
* Update Stripe gateway title
2021-07-07 17:41:50 -04:00
Moon
c632013700
Add missing translation strings in the business features section ( https://github.com/woocommerce/woocommerce-admin/pull/7268 )
...
* Add missing translations
2021-07-06 12:46:48 -07:00
Joel Thiessen
af97dd68b5
Fixing logic around recommended gateways in payment suggestions feature ( https://github.com/woocommerce/woocommerce-admin/pull/7231 )
2021-07-05 16:33:03 -07:00
Paul Sealock
d7bf615301
Remove unused WC Pay feature flags ( https://github.com/woocommerce/woocommerce-admin/pull/7273 )
...
* remove WC Pay feature flags
* remove WC Pay wcpay/support-international-countries flag
* wcpay countries PHP
* changelog
2021-07-06 10:15:18 +12:00
Paul Sealock
1701b6ce15
Analytics Flag: Remove performance indicators when disabled ( https://github.com/woocommerce/woocommerce-admin/pull/7234 )
...
* remove performance indicators if analytics off
* changelog
* Hide the display option if there is only content for a single column
2021-07-01 11:16:11 +12:00
Paul Sealock
8c1db8a2cf
Feature Flags: Removed unused flags ( https://github.com/woocommerce/woocommerce-admin/pull/7233 )
...
* remove analytics-dashboard/customizable
* remove analytics-dashboard
* changelog
2021-06-30 11:47:38 +12:00
louwie17
ee791957ce
Make use of memoization to prevent DynamicForm re-initialization ( https://github.com/woocommerce/woocommerce-admin/pull/7256 )
...
* Make use of memoization to prevent DynamicForm re-initialization
* Use rendered element for defaultForm to keep component reference
* Fix formatting
2021-06-29 17:06:31 -03:00
Joshua T Flowers
7e20ebf866
Fix successful gateway configuration message ( https://github.com/woocommerce/woocommerce-admin/pull/7251 )
...
* Fix successful gateway configuration message
* Update language from connect to configure
* Fix connect component tests
2021-06-29 12:02:21 -04:00
Joel Thiessen
b176eeca04
Adding tests for Payment Gateway List component ( https://github.com/woocommerce/woocommerce-admin/pull/7201 )
2021-06-28 13:57:25 -07:00
Joshua T Flowers
41f3d8e99a
Remove old payment gateway task components ( https://github.com/woocommerce/woocommerce-admin/pull/7224 )
...
* Remove old payment gateway task components
* Move PaymentGatewaySuggestions up one directory
* Add feature check to tasks array
* Turn on payment gateway suggestions in all environments
* Handle PR feedback
* Use gateway suggestions from REST API in help panel
* Fix component path
* Remove BACS test due to SlotFill testing bug
* Await button selector
* Handle PR feedback round 2
2021-06-28 14:18:42 -04:00
Ilyas Foo
3b7c05a845
WordPress 5.8 compatibility UI fixes ( https://github.com/woocommerce/woocommerce-admin/pull/7255 )
...
* Add appropriate text props to supplement variant revamp
* Add font styles to navigation title since its removed in wp.components
* Add more missing styles
* Accidental change
* Add changelog
* Fix lint
* Update jest snapshots
2021-06-28 09:14:59 +08:00
louwie17
8b7b8b2011
Add E2E tests for analytics overview screen section removal ( https://github.com/woocommerce/woocommerce-admin/pull/7238 )
...
* Add E2E tests for analytics overview screen section removal
* Fix build errors
* Add tests for moving sections up and down
2021-06-24 17:08:16 -03:00
louwie17
3d71cc8171
Vertical CSS transition component helper ( https://github.com/woocommerce/woocommerce-admin/pull/7203 )
...
* Add new VerticalCSSTransition component for vertical transitions
* Made use of VerticalCSSTransition in taskItem
* Updated vertical css transition to add support for appear
* Add changelog
* Fix task list tests
* Fix test lint error
* Use delete key instead of setting it to undefined
2021-06-24 11:18:59 -03:00
louwie17
06f99af525
Use gridicons as ReactElement versus SVG to fix blank screen ( https://github.com/woocommerce/woocommerce-admin/pull/7237 )
...
* Use gridicons as ReactElement versus SVG
* Add changelog
2021-06-24 11:18:29 -03:00
Moon
8afd2eae10
Use saved form values when switching tabs ( https://github.com/woocommerce/woocommerce-admin/pull/7226 )
...
* Use saved values if available when switching tabs
* Add changelog
2021-06-23 22:04:23 -07:00
Joshua T Flowers
86ee870873
Add text for manage button when no help text exists ( https://github.com/woocommerce/woocommerce-admin/pull/7191 )
...
* Add text for manage button when no help text exists
* Update manage button text to set up
* Handle PR feedback
2021-06-22 20:07:03 -04:00
Joel Thiessen
a5af92947b
Fixing button state logic for payment gateways ( https://github.com/woocommerce/woocommerce-admin/pull/7200 )
2021-06-21 11:27:41 -07:00
Taha Paksu
399ef81b11
Fix currency display errors in homescreen order activity card ( https://github.com/woocommerce/woocommerce-admin/pull/7181 )
2021-06-15 21:02:14 +03:00
Joshua T Flowers
16a02e52b0
Add Payment Gateway Suggestion Setup related component tests ( https://github.com/woocommerce/woocommerce-admin/pull/7163 )
...
* Remove separate isComplete step logic
* Add Setup related component tests
2021-06-15 09:13:12 -04:00
Joshua T Flowers
bacd58dc03
Add tests for Payment Gateway Connect component ( https://github.com/woocommerce/woocommerce-admin/pull/7166 )
2021-06-15 09:12:35 -04:00
Ilyas Foo
8fbda8f572
RemoteFreeExtension hide bundle when all of its plugins are not visible ( https://github.com/woocommerce/woocommerce-admin/pull/7182 )
...
* Filter bundle for cases when all of its plugins are not visible
* Update changelog
2021-06-15 11:43:09 +08:00
Fernando
602056952f
Add `slotFill` to Abbreviated Notification panel ( https://github.com/woocommerce/woocommerce-admin/pull/7091 )
...
* Add `slotfill` to Abbreviated Notification panel
This commit adds `slotfill` approach to Abbreviated Notification panel
# Conflicts:
# client/header/activity-panel/index.js
# client/header/activity-panel/panels/inbox/inbox-panel.js
* Renamed `AbbreviatedNotification` slot
# Conflicts:
# client/header/activity-panel/panels/inbox/inbox-panel.js
* Renamed `hasExtraFills`
# Conflicts:
# client/header/activity-panel/index.js
# client/header/activity-panel/panels/inbox/inbox-panel.js
* Added changelog
* Fixed hasExtendedNotifications check
* Fixed changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-06-11 10:37:21 -03:00
Joel Thiessen
01588f2168
Fixing local WCPay payment task and refactoring for dumber components ( https://github.com/woocommerce/woocommerce-admin/pull/7151 )
2021-06-10 10:10:42 -07:00
louwie17
14fe529ebc
Wraps the dropdown icon in a button to allow keyboard usability ( https://github.com/woocommerce/woocommerce-admin/pull/7149 )
...
* Wraps the dropdown icon in a button to allow keyboard usuability
* Add changelog
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-06-10 17:11:45 +08:00
Sam Seay
77906db0ff
Use sass-migrator to migrate division to math.div ( https://github.com/woocommerce/woocommerce-admin/pull/7136 )
2021-06-10 17:09:27 +08:00
Francesco
6175ad87c2
chore: change WCS onboarding copy ( https://github.com/woocommerce/woocommerce-admin/pull/7148 )
...
* chore: change WCS onboarding copy
* update readme changelog
2021-06-10 13:35:21 +08:00
Ilyas Foo
2c8d9362ed
Fix error handling when remote free extension API returns empty array ( https://github.com/woocommerce/woocommerce-admin/pull/7147 )
...
* Assume empty arrays or null results from API response as error and render fallback list
* Changelog
2021-06-10 08:42:41 +08:00
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
Paul Sealock
478a399a52
Prepare Remote Free Extensions for release ( https://github.com/woocommerce/woocommerce-admin/pull/7144 )
...
* Prepare Remote Free Extensions for release
* make plugin list unique
* testing instructions
* changelog note
2021-06-09 22:43:09 +12:00
Ilyas Foo
4dfaf44539
Business features uncheck creative mail by default ( https://github.com/woocommerce/woocommerce-admin/pull/7139 )
...
* Add default selected value for free extensions, uncheck creative mail by default
* Add test
* Add changelog and testing instructions
2021-06-09 11:29:45 +08:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Paul Sealock
abf0ddebda
apply better rules ( https://github.com/woocommerce/woocommerce-admin/pull/7008 )
2021-05-25 07:02:52 +12: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
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
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
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
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
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
Joel Thiessen
073a220b59
Adding Slotfill extension components for remote payments ( https://github.com/woocommerce/woocommerce-admin/pull/6932 )
2021-05-11 09:36:56 -07:00
louwie17
812743d3ff
Move experimental list components to experimental package ( https://github.com/woocommerce/woocommerce-admin/pull/6950 )
...
* Move experimental list components to experimental package
* Update changelogs
* Fix lint errors
* Fix lint error
* Update css lint
* Fix test
* Update package lock
2021-05-10 11:40:49 -03:00
Mik
820bf30e29
Replace marketing extension - Google Listings and Ads ( https://github.com/woocommerce/woocommerce-admin/pull/6939 )
...
* Replace google icon
* Remove note for Google Ads extension
* Replace extension in API OnboardingProfile
* Record event for new extension
* Replace extension in onboarding flow
* Replace extension benefits
* Change background colour of Google icon
* Fix svg warnings
* Add changelog entry
* Fix prettier error
* Add old note to obsolete list for removal
2021-05-10 10:56:47 +01:00
Bec Scott
6671a5170b
Add filter variation to tracks data in products analytics ( https://github.com/woocommerce/woocommerce-admin/pull/6913 )
...
* Add filter variation to tracks data in products analytics
* Add changelog
* only add filter_variation if required, default to 'all'
2021-05-10 10:50:02 +10:00
Ilyas Foo
de9cfb210d
Try add payment method selector to onboarding store ( https://github.com/woocommerce/woocommerce-admin/pull/6921 )
...
* Added payment method to onboarding data store
* Add reducer test
* Address feedback on reducer naming convention, isResolving, enabledMethods
* Move out types to live in its own island
* Add a comment to remind ourselves for utilizing payments data store for enabled payment gateways
* Update changelog
2021-05-07 18:06:35 +08:00
Sam Seay
82f94c0171
Fix the case of any mention of MailPoet. ( https://github.com/woocommerce/woocommerce-admin/pull/6924 )
2021-05-06 09:17:45 +12:00
louwie17
99c6044e55
Add task hierarchy support to task item ( https://github.com/woocommerce/woocommerce-admin/pull/6916 )
...
* Add task hierarchy support to task item
* Add optional tooltip
* Add changelog
* Update the logic to keep it more generic
* Fix up css
* Change level to numbers
* Switched the levels around where 1 is the highest priority
* Updated classnames and made sure tooltip does not show on completed item
2021-05-05 14:43:46 -03:00