* Add base nav component
* Check if current screen is WC registered page
* Add core menu items
* Add param for menu items to migrate and hide old menu items
* Add body classes for wc navigation
* Check capability before adding menu items
* Add submenu items to frontend component
* Hide wc nav behind option
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
* Add allowMarketplaceSuggestions to woocommerce_shared_settings
* Convert to functional component
* Hide ReccomendedExtensions card if opted out from marketing suggestions
* Change "Demo" to "Sample" products
A few years ago we had a discussion on the name of the files for test products and we choose "sample" data over "dummy" data. I think we should likely stick to that naming (which is also the name of the folder and the files in WC core: https://github.com/woocommerce/woocommerce/tree/master/sample-data)
This commit changes that wording
* Small update in caps of "Build a better WooCommerce"
All titles and questions in the new onboarding wizards only capitalise names and the first letter of the sentence. This seemed a tiny bit off.
* Remove auto connect steps from Stripe payment task
As of May 31 the API for stripe account auto creation will no longer be
supported. As a result, the Stripe payment on-boarding step will no
longer be able to auto create accounts for users.
This removes all auto connect functionality from this step, and instead
falls back to the oAuth setup flow.
See:
https://wcpay.wordpress.com/2020/02/06/stripe-ending-support-for-the-deferred-account-activation-api-on-may-31/#comment-2080
* Fix logic to decide which connect method to render
When the Stripe component renders for the first time, it
always returns the manual connect method. This is because there is
an additional call to requiresManualConfig() in getConnectStep which
looks for values in activePlugins that won't be present on the initial
component render.
This removes this check and instead relies on the isPending state to
help decide to render a connect method or wait for oAuth connectURL
to finish fetching.
* Remove redundant error modal render method
This removes the error modal render method as it is also no longer
needed with the removal of auto account creation.
This also removes errorMessage and errorTitle state along with any
references to these values.
* Changed email marketing note and the old filter was removed
The email marketing note was modified. Also, the old filter was removed.
* This note is not using NoteTraits anymore.
The NoteTraits reference was removed because the note is not using it anymore.
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Changed element that is compared after choosing a theme
Onboarding - There was a problem in the theme verification where at the end of the profiler it always went into the installation flow. This problem was solved in this commit.
* Added check to choose the right flow (install or activate plugin)
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* 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
* Set a max word length for the installed extension descriptions
* Improve InstalledExtensions layout for tablet and mobile
Mobile still needs work…
* Align product icon to top
* Tweak WelcomeCard mobile appearance
* Fix alignment
* Use EmptyContent component when there are no knowledge base posts
* Reduce transient timeout to 15 mins when remote get fails
* Satisfy phpcs
* Satisfy jslint
* woocommerce/woocommerce-admin#3793 create admin note if Jetpack plugin doesn't work during OBW
* Move slug logic into the note creator class
* Also allow WooCommerce Services plugin when creating note
* rename possibly_add
* Rename note service class for jetpack/woocommerce services
* Remove (by actioning) notes when the Jetpack or WooCommerce Services plugins are activated
* Add todo around using a filter to make onboarding plugin API more generic
* Create admin note if activation fails
* Fix callback, don't know how that got through...
* Install from the note using a callback fn rather than redirecting back to the OBW
* Remove .orig file
* Move WC_Admin_Notes_Filters action hooks into WC_Admin_Notes_Install_Jetpack_And_WooCommerce_Services_Plugin
* Remove return values from plugin install function
* Simplify how plugin installation triggers actioning the note
* Use better icon in Jetpack/WooCommerce Services note
* Add space to note copy
* Shorten some names
* Only action the note if both plugins are activated
Co-authored-by: Rebecca Scott <me@becdetat.com>
* Enlarged competitors' Listbox in the Onboarding
Onboarding - Added a new class to enlarge the competitors' Listbox in the Business details step.
* Replaced fixed height with unset
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add method to retrieve all synced order statuses.
* Determine what unregistered order statuses we have and add to client-side settings object.
* Stop filtering out unregistered statuses from analytics settings.
* Add unregistered statuses to analytics settings fields.
* Added check to show WC Pay option only when Jetpack is connected
A verification was added to the Setup Checklist payment step, to show WC Pay option only when Jetpack is connected
* Changed the solution approach
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Bugfix on payments step in CBD flow
The `array_search` method was changed to `in_array`
* After pressing Connect a new tab opens with the Square webpage
* Updated behavior for non CBD Square payment connection
* Square option's name updated
* Replaced <p> tag with a <div> tag
Since there was a `validateDOMNesting` warning because we weren't adding only text inside a <p> tag, the `p` tag was changed to a `div`.
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add support for additional partner extensions to installed extensions
* Use correct variable name
* Add codisto support url
* Fix hubspot svg
- Fixes orange color as per brand guide
- Reduces file size from 120kb to 1kb
* Replace Google logo with vector SVG
* Fix AutomateWoo icon
* Fix Amazon Ebay svg icon
Co-authored-by: Daniel Bitzer <danielbitzer@gmail.com>
This commit adds the "woocommerce_admin_onboarding_homepage_template" filter, enabling themes/plugins to filter the default homepage template created by the WooCommerce onboarding process.