From 1cc9c70e4774f4da8b1ad927d6cb7f74c0ce730a Mon Sep 17 00:00:00 2001 From: Bennett Date: Wed, 25 Mar 2020 10:30:08 +0100 Subject: Improve user onboarding (#493) Until now, new users have started on the Ferdi dashboard and not on the Welcome screen like Franz does it. This change was made, as users needed to be ablet to change their server before logging in. This commit will change this onboarding process to bring users to the welcome screen on first login and it adds a new "Change Server" screen during authentication that allows the user to change the server without going to the full settings screen. This way, the onboarding experience for new users is a lot easier to go though while also improving the experience for experienced users who want to change their server as they only get the option they are looking for and not the whole settings list. --- src/components/auth/Login.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components/auth/Login.js') diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index e25121de0..f33d134c8 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js @@ -78,6 +78,7 @@ export default @inject('actions') @observer class Login extends Component { isServerLogout: PropTypes.bool.isRequired, signupRoute: PropTypes.string.isRequired, passwordRoute: PropTypes.string.isRequired, + changeServerRoute: PropTypes.string.isRequired, error: globalErrorPropType.isRequired, actions: PropTypes.object.isRequired, }; @@ -127,6 +128,7 @@ export default @inject('actions') @observer class Login extends Component { isServerLogout, signupRoute, passwordRoute, + changeServerRoute, error, } = this.props; @@ -194,7 +196,7 @@ export default @inject('actions') @observer class Login extends Component { )}
- {intl.formatMessage(messages.changeServer)} + {intl.formatMessage(messages.changeServer)} {intl.formatMessage(messages.serverless)} {intl.formatMessage(messages.signupLink)} {intl.formatMessage(messages.passwordLink)} -- cgit v1.2.3-54-g00ecf