-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sensei Tailored Flow #71406
Sensei Tailored Flow #71406
Conversation
* VideoPress site options step (WIP) * Submit options step
* VideoPress Onboarding v2: Create account. * Adjust the flow steps slightly and remove nonexistent ones.
* Submit options step * VideoPress onboarding, domain selection step * Choose a domain styling * Add video, studio, productions, com as suggested tlds
* Submit options step * VideoPress onboarding, domain selection step * Choose a domain styling * Add video, studio, productions, com as suggested tlds * VideoPress site options step (WIP) * Submit options step * VideoPress onboarding: select a plan (WIP) * Update how we store site title, description and domain by using onboarding store * VideoPress onboarding: choose a plan step * Add translation for choose a domain step * Rebase
* VideoPress onboarding theme * VideoPress powered logo * Update flow progress and fix svg properties in videopress logo
* Update flow progress and fix svg properties in videopress logo * Site options refined * Populate existing site title and description in site options onboarding
* VideoPress onboarding theme * VideoPress powered logo * Update flow progress and fix svg properties in videopress logo * Site options refined * Populate existing site title and description in site options onboarding * Allow passing the products list down to the domain search results * Choose a domain styling WIP * Choose a domain asides and styling * Domain styling * Domain step, style placeholders
* Adding intro view styles for new VideoPress flow. Refactors "Jetpack powered" to be more inclusive of different "powered by" products so that we can show the V ideoPress logo there instead of Jetpack. * New VP logo, aligned vertically * More updates to new design iteration. * Seeing if playsinline helps with mobile safari autoplay. * Fix merge conflict for showing jetpack powered badge. * No longer need z-index hack! * Adjustments to the triangles * Restore previous CSS classname. * Restoring code, unintentional change. * Move color styles out of body so they aren`t applied globally. * Fixing CSS after bad merge. * remove top margin to fix centering. Co-authored-by: Eduardo Villuendas <eduardo.villuendas@automattic.com>
* VideoPress Onboarding V2: plan selection refined * Mobile layout for choose a plan
…ompletion (#68162) * clear onboarding site options on flow start and flow completion * clear domain as well when starting or completing videopress flow
* Mobile layout for choose a plan * Trying to do stuff with things, but it's not working, WIP * One more step: got it to the checkout page. * Cleanup * Cleanup * Less parameters = more fun * Add domain to cart Co-authored-by: Panos Kountanis <panosktn@gmail.com>
* Mobile layout for choose a plan * Trying to do stuff with things, but it's not working, WIP * One more step: got it to the checkout page. * Cleanup * Cleanup * Less parameters = more fun * Add domain to cart * Steps proxy on useStepNavigation * Upate validation rules Co-authored-by: Panos Kountanis <panosktn@gmail.com>
* Mobile layout for choose a plan * Trying to do stuff with things, but it's not working, WIP * One more step: got it to the checkout page. * Cleanup * Cleanup * Less parameters = more fun * Add domain to cart * Steps proxy on useStepNavigation * Upate validation rules * Disable form button if site title is not set * Add button feedback for plan selection * Update style.scss Co-authored-by: Panos Kountanis <panosktn@gmail.com>
* Mobile layout for choose a plan * Trying to do stuff with things, but it's not working, WIP * Cleanup * VP Onboarding: clear onboarding site options on flow start and flow completion (#68162) * clear onboarding site options on flow start and flow completion * clear domain as well when starting or completing videopress flow * Upate validation rules * Disable form button if site title is not set * VideoPress processing step WIP * Processing step Co-authored-by: John Caruso <johncaruso@gmail.com>
* Adding new launchpad flow for VideoPress! * Updating to i2 of design. * Moving styles to videopress.scss so all styles live in one place and can use the same color vars. * Set text-overflow: ellipsis for long domains. * Correcting `completing-purchase` path to use camel case. * Adding new launchpad flow for VideoPress! * Updating to i2 of design. * Moving styles to videopress.scss so all styles live in one place and can use the same color vars. * Set text-overflow: ellipsis for long domains. * Fix redirect URI from checkout page * Add plan to cart in order to add extra data for videomaker activation * Fixing launchpad settings for VideoPress flow. * Update client/landing/stepper/declarative-flow/internals/steps-repository/launchpad/task-helper.ts Co-authored-by: John Caruso <johncaruso@gmail.com> * Update client/landing/stepper/declarative-flow/internals/steps-repository/launchpad/task-helper.ts Co-authored-by: John Caruso <johncaruso@gmail.com> * Update client/landing/stepper/declarative-flow/internals/steps-repository/launchpad/translations.tsx Co-authored-by: John Caruso <johncaruso@gmail.com> Co-authored-by: thedebian <thedebian@users.noreply.github.com> Co-authored-by: John Caruso <johncaruso@gmail.com>
* New styles and nearly there with functionality. Need to rebase to test fully. * Set the site_vertical_name option so the theme choice gets set properly. * Clear the selected design when finishing or starting over the flow. * Added responsive styles for small screen. * Add min height for large screens, fixes continue button from jumping. * User better import paths. * Changes to design based on feedback.
Co-authored-by: Omar Alshaker <omar@omaralshaker.com>
I just ran through an extra test of this. For the most part, fluid and nice flow. I did notice a few things on the Launchpad screen. Sounds like you may be skipping this screen in the future, so you may or may not fix these. They could also easily be resolved in follow up PRs.
|
Indeed for now we will not fix this screen as we intend to remove it in the future. As discussed I also moved |
The styling looks great !
Moving the SenseiStepContainer to this location makes sense to me. Lets double check with @alshakero to make sure its makes sense to move it into the stepper directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this! This is a BIG PR. I have focused on:
- Confirming that testing works - I can go through the flow without issues as a user.
- Confirming that no harm is done - ie, no unanticipated (negative) effects or regressions outside of the feature flag. The feature flag provides a measure of safety for this PR.
- Confirm the areas of code I know well look good.
I'm comfortable with all that. There are couple caveats:
- I didn't dive too deeply into the logic on specific new Sensei screens. Some have a lot of complex logic. I haven't gone through the logic on those screens in detail. There is confirmation others have.
- There are few issues with the Launchpad screen, but that screen will be removed in a subsequent PR.
- There are some failing tests. Authors checked with Calypso team and it sounds like those can be ignored in this case.
Proposed Changes
p6rkRX-4VM-p2
Testing Instructions
calypso.localhost:3000/setup/sensei
to kickoff the Sensei Tailored flow.You can also test this out with the calypso live link here: https://container-ecstatic-khayyam.calypso.live/setup/sensei
Pre-merge Checklist