-
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
Tailored Flows: Redirect Sensei tailored flow #95464
Tailored Flows: Redirect Sensei tailored flow #95464
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~246 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~133 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~59 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
I landed on
I landed on
I landed on |
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.
Works great!
@xavier-lc I think the testing instructions don't reflect the expected path, it should be |
Oh yes, my bad, I'll update the testing instructions. |
) * Redirected tailored flows * Removed unnecessary default value for referrer * Refactored function definition and updated call * Small change so that we match flow names explicitly while still using starts with * Added inline comment for the new function * Removed the Sensei flow redirect * We now take into account the rest of the path and the query params * Implemented as routes for better case handling * Renamed the from property to flow * Added a redirect for the sensei flow and made some minor code improvements (#95464) --------- Co-authored-by: mmtr <[email protected]>
Related to:
Proposed Changes
Why are these changes being made?
/setup
to a non-tailored flow since we're reducing the complexity of the flow that we have in WordPress.com.Testing Instructions
/setup/sensei/senseiSetup?ref=senseilms
,/plugins/sensei-pro?ref=senseilms
/setup/sensei
/plugins/sensei-pro
/setup/sensei/es
/es/plugins/sensei-pro
Pre-merge Checklist