Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor check for plugins to be generic * Update bundle settings hook to allow getting settings by theme software * Move array of plugins to check to the bundle settings * Update feature flag to a generic name * Rename woo confirm to bundle confirm * Add new hook to get site bundle settings * Add TODO comment to review later * Rename woo transfer to bundle transfer * Make bundle transfer step generic * Rename woo install plugins to bundle install plugins * Make install plugins generic * Translate message that was not translated * Get software name dynamically from bundle settings * Remove a not necessary hook * Refactor hooks to be named exports, following the standards of the existing ones * Use hook to get plugin slug * Remove Woo Verify Email not used feature * Reorganize bundle steps array * Add comments to make the steps more clear * Move custom back to settings * Move flow settings to bundleStepsSettings * Move steps to settings So only one object from this file needs to be customized for bundles. * Make end of flow generic * Make custom functions optional * Add comments to the custom functions * Rename the variable to follow the same standard of the other file * Force type to be a string * Add steps as argument to the useStepNavigation * Make the navigation to the next step generic for the submit * Refactor submit * Update log and event name * Update import to the new function * Remove unused code This logic is part of plugin-bundle-flow. * Move the styles to the file Following the approach applied in other files * Remove comment Keeping it as a customization inside the step, as exception. * Update logic to upgrade site when installing free theme with bundle * Make `ThemeUpgradeModal` Calypso-State-free Update to match changes from conflicting PR. See #85013 and #84886 (comment). Co-authored-by: okmttdhr <okmttdhr@users.noreply.github.com> * Add event for all the cases, and keep the current one for backward compatibility * Fix case when endFlow is not set * Add Sensei bundle settings * Update string to match new updates from rebase * Redirect to Sensei Setup Wizard after the WPCOM flow * Remove step from URL It automattically redirects to the first step of the wizard. * Update string for bundled plugin messages * Fix logic to display activate or upgrade button --------- Co-authored-by: okmttdhr <okmttdhr@users.noreply.github.com>
- Loading branch information