Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Design Complete

Jira Legacy
serverSystem JIRA
serverIdfa8b0166-b019-31be-aef3-0e1e83e7ecff
keyMM-33148

Figma Design File (Updated)

Background

Introduction

If a server enables account creation, the mobile app will now have a flow to accommodate for user account creation through the app.

Design

The layout and aesthetics for this screen follow the Login and Add Server Screens.

iOS

Android

Back button

Tapping the Back button will push back to the Login Screen.

Email

Must be a valid email address. Emails will be verified as next step.

Username

Valid usernames must follow pattern identified in system console.

Create Account button

This button is disabled until all required fields are valid.

Other Account Creation Methods

If other Login Methods are enabled and can be used to create accounts, buttons for those methods display below the standard account creation fields.

This screen has been designed for cases where the number of login methods is no more than 3. This will accommodate the majority of use cases. However, If more methods are enabled on a server, the buttons then would stack on top of each other like they do for the login screen.

Transition

In the same way that users can log in using other authentication methods, accounts can also be created using other authentication methods. (OAuth, SAML)

Below the standard form fields a section shows with the available authentication methods. If there are more than two, all buttons show full-width and stacked on top of eachother (see next screen)

Image Added

The transition from the Login Screen

Users can access this screen via a button in the top-right of the new Login Screen. Tapping this will push the user to the Create Account screen.

Image RemovedImage Added

States

Default State

By default, the ‘Create Account’ button is disabled until all inputs have valid info

Field with Error

An error message with icon replaces the help text.

Button enabled

Once all inputs have valid info, the ‘Create Account’ button is enabled.

Success Screen

Email verification screen

When an account is created, a verification email is sent to the email address provided and a success screen displays. Tapping the ‘Return to Log in’ button will push the user back to the Login Screen.

Image Removed

Tablet Layout

Image RemovedImage Removed

Future Improvement

In the future, it would be better to serve up a verification code screen similar to how we do it for cloud account creation. This is a better flow that prevents users from getting lost from their inbox and then opening the link in their browser. This way, they simply reference the email and enter the verification code here.the screen below is displayed along with a toast message at the bottom.

Image Added

Open email app

Tapping this button will open the user’s default email app.

Resend email

Tapping this button will send another verification email. The same toast will show at the bottom (see next screen)

Toast

When landing on this screen, a ‘Verification email sent’ toast will show at the bottom. This toast will automatically disappear after 4 seconds.

Verification email

When tapping on the “Verify Email” button from the verification email, ideally we open up the login screen directly within the Mattermost mobile app.

Image Added

Email verified

Toast

When landing on this screen, a ‘Email verified’ toast will show at the bottom. This toast will automatically disappear after 4 seconds.

Pre-populate email address

When coming from the verification email, the email address should ideally be prepopulated.

Image Added

Tablet Layout

Image AddedImage Added