Unverified Commit 1ae7052e authored by picklesrus's avatar picklesrus Committed by GitHub

Merge pull request #3538 from picklesrus/join-welcome-homepage

Take user to the homepage when finishing the join flow (unless they c…
parents 0bc3df1b 378cebe5
......@@ -50,7 +50,7 @@ class WelcomeStep extends React.Component {
innerClassName="join-flow-inner-welcome-step"
nextButton={this.props.createProjectOnComplete ? (
<React.Fragment>
<FormattedMessage id="registration.makeProject" />
<FormattedMessage id="general.getStarted" />
<img
className="join-flow-next-button-arrow"
src="/svgs/project/r-arrow.svg"
......
......@@ -105,7 +105,10 @@ module.exports.handleRegistrationRequested = () => ({
module.exports.handleCompleteRegistration = createProject => (dispatch => {
if (createProject) {
window.location = '/projects/editor/?tutorial=getStarted';
// TODO: Ideally this would take you to the editor with the getting started
// tutorial open. We need to do some extra work to wait for the user
// to be logged in before we try creating a project due to replication lag.
window.location = '/';
} else {
dispatch(sessionActions.refreshSession());
dispatch(module.exports.setRegistrationOpen(false));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment