Commit Graph

2000 Commits

Author SHA1 Message Date
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