* Check for function before calling
* Add comment & changelog note
Co-authored-by: Lee Willis <lee@ademti-software.co.uk>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Refactor benefits component to functional component
* Update to useSelect and useDispatch
* Use state to store installing state
* Separate benefits components
* Add missing translator comments
* Don't show benefits screen when already completed
* Add benefits step tests
* Add changelog entry and testing instructions
* Close activity panels by default and track shown
* Add task list shown data to tracks
* Add changelog and testing instructions
* Fire the panel tracks again when the task list is hidden
Fixeswoocommerce/woocommerce-admin#6488
Changes.
* See the issue for the discussion, but we're changing the behaviour of triggering the connection flow as part of this. Before it was required that both wc-services and wc-admin were installed before triggering the flow.
* Also the plugins value was not being updated properly in the new flow, but plugins is not used in any useful way in the onboarding profile, so I have removed it completely. We now rely on the actual installed plugins to determine what is installed/activated.
* Add CES survey for adding product categories and tags
* Update readme and testing instructions
* Add CES survey for adding product attributes
* Change logic to use number of rows in tags table
* Replace addslashes with esc_js, use JS variables pagenow and adminpage
* Added "MailPoet" option to new Business Details step
This commit adds "MailPoet" option to the new Business Details step
* Modified the Creative Mail copy
* Added changelog
* Added testing instructions
# Conflicts:
# TESTING-INSTRUCTIONS.md
* Fixed testing instructions
* Fixed e2e tests
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add tilde option for client root directory
* Support tilde start as internal to fix lint issues
* Update baseUrl and paths so auto complete works correctly
* Add changelogs
* Add eslint support for webpack resolvers
Co-authored-by: Matt Sherman <matt@jam123.com>
* Remove unnecessary tracking opt in check
* Add intro modal tests
* Add changelog entry
* Add extra check to see if modal has previously been dismissed
* Add packgage state check to deactivate-plugin note
* Add changelog entry
* Add method to check if notes are initialized
* Update guard to check if notes are initialized
* Add testing instructions
* Fixed related orders problem
This commit fixes the related orders problem
* Fixed customer type query
* Fixed get_order_number filtering
* Added a default value to totalResults
This commit adds a default value to totalResults (in order to avoid errors)
* Added testing instructions
# Conflicts:
# TESTING-INSTRUCTIONS.md
* Added changelog
# Conflicts:
# readme.txt
* Fixed orders without products
* Added tests
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Added "MailPoet" option to Business Details step
This commit adds the "MailPoet" option to Business Details step in the OBW
* Fixed plugins order
* Creative Mail option toggled off by default
This commit toggles off the Creative Mail option by default
* Fixed copy and image URL
* Added mailpoet.png image
* Added changelog
# Conflicts:
# readme.txt
* Added testing instructions
# Conflicts:
# TESTING-INSTRUCTIONS.md
* Fixed key
* Fixed lint error
* Fixed testing instructions
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Prune out old bundle flow and expand range of new one
* Add feature flag, default to true
* Update feature flag, and updated WcPay logic
* Fix lint errors
* Add changelog
* Onlly show WC payments task if part of the business extensions
* Remove stray console log
* Update copy of WCPay card
* Add a couple more e2e tests
* Add await for click
* Add test instructions
* Add changelog and testing instructions
* Set active level when matching a new item
* Add navigation container tests
* Add testing instructions and changelog
* Update testing instructions
* Fix up missing changelog entries after rebase
* Add in missing menu items from useSelect in tests
* Add remote inbox notifications rule that triggers when WCA is updated
* Add changlog entry
* Note that `plugin_version` should be used to check the WCA version
* Added warning when WC-Admin is active but not being used
This commit adds a warning when WC-Admin is active but not being used
* Fixed copy
* Added changelog
# Conflicts:
# readme.txt
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Bump to version 2.2.0-dev
* Update changelog with 2.1.0 heading
* Revert "Bump to version 2.2.0-dev"
This reverts commit cc7d4b95ea3ccae140a5366cdd521ac8f35a3100.
* Bump to version 2.2.0-dev
This was performed using `npm run bump-version`
* Move recent changelog entries out of 2.1.0
* Correct the Klarna slug
* Test instructions and release note
* Update testing suggestions with @adrianduffel's suggestion
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Email notes now are turned off by default
This commit turns off the email notes by default
* Added readme.txt
* Added testing instructions
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Removed @woocommerce/components/card from OBW
This commit removes the "@woocommerce/components/card" from the step "Business Details" in the OBW.
* Added readme.txt line
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add class to determine styling for disabled wp toolbar
* Use disabled toolbar class in onboarding setup wizard
* Add changelog and readme notes for filter
* update min version in docs and tests
* update woocommerce-admin.php
* update docker versions
* one more 5.3
* Docker image: back to min versions
* fix main file's min PHP to 7.0, same as Woo Core and readme.txt
* docs/readme
* get_dependency_errors
* Change filter callback to enqueue_scripts action to safely enqueue scripts
* Add changelog
* Only load beta modal JS on advanced features settings tab
* Remove CES survey for editing a product
* Remove CES survey for adding a product
* Remove CES survey for editing an order
* Add testing instructions
* add to release notes
Fixeswoocommerce/woocommerce-admin#6172
This adds the PayU plugin as a payment task option. Based on the requirements, we've opted for this just to be a simple task that installs the plugin and lets the user configure the plugin later via it's settings screen.
* Update highlight tooltip to make use of anchor logic
* Add changelog
* Make sure the extra parent is removed as well
* Small refactor to update anchor rect later on, incase items are still rendering
* 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
* Whitelist the mollie plugin and ensure it does not crash on activation.
* Improve error messages for failed plugin installs.
* Add the payment provider screen for the Mollie payment provider.
* Revert change to try/catch activation, its not needed.
* Move the whitelist of mollie to Onboarding.php.
* Add api fetch to dep list of components, update the node setup workflow on gh actions.
* Pass indsutry to the klarna tests to avoid a crash.
* Add some tests for the mollie payment method.
* Remove redundant change to handler.
* Add a changelog entry for the feature.
* fix name of option
* Add testing instructions
Co-authored-by: Rebecca Scott <me@becdetat.com>
* Added initial value to `savedValues`
This commit adds an initial value to `savedValues` in the "Business Details" step in the OBW
* Added readme.txt line
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
This commit adds the extended task list refactor to the unreleased list in readme.txt
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Added extra filters to note
This commit adds extra filters to email note.
* Fixed note image and css
This commit fixes a few things related to the note image, css and some checks
* Fixed css and note image replaced
* Added readme.txt
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Move inbox panel to left column, to increase user interaction
* Add changelog
* Fix and add test
* Remove old loading banner-block
* Remove unused css
* Fix test with new props
* Initial product template modal
* Add custom product template for the new-post route
* Add test, and code for making use of the insert_post action
* Added ProductTemplates Datastore to create template with REST api
* Add back variation method, deleted by accident
* Move product from template endpoint to OnboardingTasks class
* Fix lint errors
* Added tracks and template hooks
* Rename product create permission check function, for less confusion
* Remove duplicate recommended option
* Fix stylelint errors
* PHP tests for the product_from_template endpoint
* Fix onboarding php unit tests
* Write tests for client product template options
* Refactored list component, to use it as a radio control list
* Fix lint errors
* REmove assertion as it fails on the ci
* Add changelog
* Updating tests to make sure all product attribute taxonomies are removed
* Add more specific assertions for importing sample products test
* Update the sample products test
* Deconstruct item object, from PR suggestion
* Fix PHP errors, by updating the createProductFromTemplate call
Previously only a given delta was rendered as an integer. Now it renders the number with a given precision.
Fixeswoocommerce/woocommerce-admin#5925.
Co-authored-by: Rebecca Scott <me@becdetat.com>
* Fixed hiding core task list
This commit fixes the hiding of the core task list
* Added tests
* Added fix to readme.txt
* Fixed readme.txt
* Added new test
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Fix for translation chunks not generated on plugin activation
* Add support for woocommerce_activated_plugin hook to work as embedded package
* Update readme.txt
* Make sure woocommerce/woocommerce-admin#5062 does not regress by adding checks before accessing files
* Consolidate duplicated codes