Commit Graph

28 Commits

Author SHA1 Message Date
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
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 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 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
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 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
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
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 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 ca11fa7f9a Add remote payment gateway recommendations initial docs (https://github.com/woocommerce/woocommerce-admin/pull/6962) 2021-05-11 13:57:19 -04:00
Joshua T Flowers 8f018fc518 Add plugin installer to allow installation of plugins via URL (https://github.com/woocommerce/woocommerce-admin/pull/6805)
* Allow any plugin to be installed or activated

* Add PluginInstaller class

* Redirect to referring page if one exists

* Store message and show after redirect

* Add changelog and testing instructions
2021-04-16 15:45:43 -04:00
Joshua T Flowers 94a2ad98fd Fix use of feature checks and remove deprecated method calls (https://github.com/woocommerce/woocommerce-admin/pull/6687)
* Update all references to of Loader::is_feature_enabled to use Feature class

* Check if feature is enabled instead of existence in deprecated feature method

* Add changelog entry
2021-03-26 13:00:05 -04:00
Ilyas Foo 0be173f4fd Fix wrong filename for feature config (https://github.com/woocommerce/woocommerce-admin/pull/6557) 2021-03-11 08:40:26 +08:00
Joshua T Flowers 851dac281c Add filter to allow the wp toolbar in navigation (https://github.com/woocommerce/woocommerce-admin/pull/6371)
* Add class to determine styling for disabled wp toolbar

* Use disabled toolbar class in onboarding setup wizard

* Add changelog and readme notes for filter
2021-02-19 08:20:32 -05:00
Joshua T Flowers a93a5def94 Remove categories without menu items (https://github.com/woocommerce/woocommerce-admin/pull/6329)
* Hide menu categories with no items

* Remove capabilities on categories

* Remove remaining references to category capabilities
2021-02-15 16:33:51 -05:00
louwie17 e7c0d0b8b1 Add paypal commerce obw integration (https://github.com/woocommerce/woocommerce-admin/pull/6261)
* Initial paypal plugin name replacement

* Add necessary fields for the Paypal plugin

* Updated payment methods info to use new options key

* Add most of the OBW paypal integration

* Some old code cleanup

* Get ready for the dynamic onboarding addition.

* Update paypal onboarding, adding script after plugin enabled

* Revert some old changes

* Check if plugin is enabled correctly

* Allow for manual input as a fallback

* Fix unit tests and alter the config updates

* Update plugin to use latest rest endpoint instead :)

* Add comment

* Fix some naming from PR feedback

* Made use of the payment gateway info from tasks/status, and show 500 error message

* Add support for the status and set credential endpoints

* Set the enabled value in ppcp-settings as well

* Added fall back for the 'get-status' method

* Fix issue where I was overwriting the options :/

* Small fix for when updating items manually

* Add changelog

* Remove old tests

* Add testing instructions
2021-02-06 09:41:26 +10:00
Joshua T Flowers 2a7ac8e684 Register core product taxonomies (https://github.com/woocommerce/woocommerce-admin/pull/5811)
* Add product tags and categories taxonomies to menu

* Add product attributes page

* Register product taxonomies

* Register product attribute taxonomy screens

* Move order to taxonomy item getter

* Add match expressions for product tags and attributes

* Check against wc taxonomies instead of registering wc taxonomies

* Add comments to regex match groups

* Update nav readme to include taxonomies

* Update to less ambiguous taxonomy check
2020-12-14 17:58:03 -05:00
Joshua T Flowers 10b9579cde Add nav item route regex matching (https://github.com/woocommerce/woocommerce-admin/pull/5818)
* Use default expression to match items

* Pass match expression for WCA homepage

* Match post types if the current post type matches item

* Remove unused getParams

* Update tests for isMatch util

* Update nav docs

* Update default expression to match params in any order

* add query arg tests: additional and order

* Use match score based on regex matches

* Return max safe int for exact matches

* Update tests for match score

* more tests

Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-12-09 13:45:30 +13:00
Joshua T Flowers db71989e7b Add documentation for navigation feature (https://github.com/woocommerce/woocommerce-admin/pull/5537) 2020-11-09 16:05:45 -05:00
Francesco 36f61c89f1 chore: rename WCS to WC Shipping & Tax (https://github.com/woocommerce/woocommerce-admin/pull/5139) 2020-09-16 16:45:16 -05:00
Joshua T Flowers d4dd74e44a Remove onboarding feature flag and a/b testing (https://github.com/woocommerce/woocommerce-admin/pull/4999)
* Remove store page creation during new onboarding experience

* Remove onboarding feature flag

* Add back in onboarding feature flag to enable feature loading
2020-08-25 00:51:41 +03:00
Joshua T Flowers 92a8a58d2b Remove payment task actions (https://github.com/woocommerce/woocommerce-admin/pull/4917)
* Remove task list payment actions

* Check that the payments task has been marked complete in checkout note

* Track payments completion via enabled gateways

* Allow toggling to unfinish task when no payments enabled
2020-08-11 15:20:48 +03:00
Jeff Stieler dd54268ad7 Master -> main. (https://github.com/woocommerce/woocommerce-admin/pull/4618) 2020-06-17 13:39:41 -04:00
Paul Sealock 28c85668fb Plugins: Move API out of Onboarding (https://github.com/woocommerce/woocommerce-admin/pull/4093)
* Plugins DataStore: decouple from onboarding (https://github.com/woocommerce/woocommerce-admin/pull/4048)

* Plugins DataStore: Add client side store

* change active_plugins to public static function

* don't change shape of allowed plugins
2020-04-20 14:04:13 +12:00
Joshua T Flowers cb3fcbcf08 Onboarding: Remove old development flags (https://github.com/woocommerce/woocommerce-admin/pull/3809)
* Remove old onboarding flags

* Remove flag from onboarding docs

* Enable onboarding in tests
2020-03-04 09:46:02 +01:00
Justin Shreve 50cc3edaed Update onboarding filters with a consistent prefix (https://github.com/woocommerce/woocommerce-admin/pull/3295)
* Update onboarding filters with a consistent prefix

* Rename woocommerce_onboarding_payments to match the other task list options
2019-11-25 11:15:22 -05:00
Justin Shreve 1a1abe0cc2 Add remaining onboarding documentation (https://github.com/woocommerce/woocommerce-admin/pull/3286)
* Add Jetpack connection docs, and update the calypso information

* Finish onboarding docs with options, filters, and rest api sections

* Handle PR feedback
2019-11-21 11:28:22 -05:00
Justin Shreve e1f67a7d80 Add base documentation for the onboarding feature (https://github.com/woocommerce/woocommerce-admin/pull/3274)
* Add base documentation for the onboarding feature

* Handle PR feedback: Fix API URls, and WooCommerce.com heading
2019-11-19 13:06:38 -05:00