-
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
SignupProcessingScreen refinements (Fix to #6114) #6284
Conversation
@@ -13,7 +13,7 @@ import { localize } from 'i18n-calypso'; | |||
import Item from './item'; | |||
import config from 'config'; | |||
|
|||
const MasterbarLoggedOut = ( { title, translate } ) => ( | |||
const MasterbarLoggedOut = ( { title, translate, showSignup = true } ) => ( |
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.
Let's add showSignup
to .propTypes
in L44, and although I know they achieve the same thing, we should probably either define the default in defaultProps
(L48 - like title
), and remove it here, or define title = ''
here, and remove .defaultProps
for consistency.
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.
Oh I missed that entirely. Adding it.
@coreh: Just a small edit, but otherwise is looks and works great. Thanks for the quick fix! |
Fixed. I also moved |
LGTM |
This PR fixes Issue #6114, by making it so that the
SignupFlowController
is reset before the user clicks on the Continue button.It also adds two other improvements:
SignupProcessingScreenI18n
stub is removed (We no longer need that, since the actual component landed)Sign Up
link in the masterbar is no longer displayed during signup. (So that user's can't navigate to/signup
by accidentally clicking on it)Test live: https://calypso.live/?branch=fix/issue-6114