-
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
Framework: Fix errors on transition from themes to signup #4820
Conversation
c8f6ecb
to
4862a28
Compare
); | ||
context.secondary = null; |
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.
Giving this some more thought, this is probably unneeded. This will cause unmountComponentAtNode
to run for #secondary
. So if this piece of code wasn't calling unmountComponentAtNode
before, we don't need to introduce it now -- continuing to assume it's not necessary. (Same for the other new occurrences of context.secondary
in this diff.)
When logging in with my email address, I'm stuck at 'Logging you in...' and seeing the following error:
|
When entering my verification code, I get an error:
(I'm then also told that the code is invalid, but that might be because I waited too long to enter it. However, I'm not presented with any way to re-request a verification code.) |
Change the signup routes to render a complete react tree including the top-level layout, allowing a transition from the showcase logged-out layout to the signup logged in one. * Allow elements as props to the layout component * Add a ReduxWrappedLayout helper function * change signup routes to use the isomorphic router * Split the entry points for the isomorphic router controller (allowing client-specific dependencies)
b769900
to
0d6ed23
Compare
The |
So is the |
Line 122 in 51b57a8
|
I can't think of anything else. Looping @michaeldcain in :) |
Yeah, I don't think we're introducing any regressions here. |
Am 19.04.2016 12:14 schrieb Steve Seear notifications@github.com:
|
not used anywhere |
Okay, I'm buying it :-D 👍 |
Used to be #4467 so a lot of the review comments are there.
Addresses #3549
Because the signup pages use the logged-in Layout component, and logged-out theme showcase uses the lighter-weight logged-out layout, transitioning from logged-out showcase to the signup does not work properly as the signup components are rendered into the wrong layout component:
This PR adds the capability to render a complete logged-in layout (signup uses the logged-in layout), and changes all the signup routes to use the isomorphic router and render a complete tree, meaning that on transition from logged-out showcase to signup, a correct layout is rendered.
To Test
Check that the following routes are all working as before:
/start*
/log-in*
/phone*
/jetpack
(Jetpack testing instructions detailed in Jetpack Connect: logged out users #4155)
Showcase --> signup flow