Content
View differences
Updated by Andrej Sandorf 8 days ago
#### **Context**
The goal is to modernise the login screen.
#### **Acceptance criteria**
* There is new a sign in module that is used
* in the non logged-in home page
* the dropdown when you click on 'Log in' 'Log in' in the top bar
* The module consists of:
* A first section for basic password-based login:
* A Subhead with title: 'Sign in to $instance\_name'
with,
* Title: 'Log in'
* Trailing action (invisible button): 'Create an account'
* A username field with label "Username or email"
* A password field with label: "Password"
* With trailing action to view password: by default `eye` (when password is hidden, on hover show tooltip with text: "Show password"), `eye-closed` (when password is visible, on hover show tooltip with text: "Show password")
* Primary button with label: "Sign "Log in"
* Checkbox (optional): "Stay logged in for x days"
Link: "Forgot password?"
* A divider (if SSO available)
* A second section for SSO login:
* Text (style _Title/Small_): "Sign "Log in with an external account"
* A list of configured SSO providers presented as buttons "Continue invisible buttons, with $SSO", with icons
* A divider (if create an account activated)
* A section for create an account
* A label "You don’t have an account yet?"
* A link to the account creation "Create a new account"
#### **Technical notes**
* \[open\] Do we really need the 'Remember 'Remember me for 60 days' days' option?
* What are the benefits? Why doesn't doesn't GitHub offer it?
#### **Mockup**
workPackageValue:Mockups
#### **Permissions and visibility considerations**
* _No changes_
#### **Translation considerations**
* Change the value of the source key `button_login` to "Log in" (from "Sign in")
####
#### **Out of scope**
* \[open\] The 'Create 'Create an account' account' flow
* \[open\] The 'Forgot password?' 'Forgot password?' flow
* Automatically adapting to Light and Dark mode when the user is not logged in will be handled by <mention by <mention class="mention" data-id="66594" data-type="work_package" data-text="##66594" data-display-id="66594">##66594</mention> data-text="##66594">##66594</mention>
####
####
#### **Visuals**
**Log in screen (home)**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/606185/content">
<br>
**Login dropdown (topbar)**
**<img class="image_resized op-uc-image op-uc-image_inline" style="width:337px;" src="/api/v3/attachments/529671/content">**
The goal is to modernise the login screen.
#### **Acceptance criteria**
* There is new a sign in module that is used
* in the non logged-in home page
* the dropdown when you click on 'Log in'
* The module consists of:
* A first section for basic password-based login:
* A Subhead with title: 'Sign in to $instance\_name'
* Trailing action (invisible button): 'Create an account'
*
* A password field with label: "Password"
*
* Checkbox (optional): "Stay logged in for x days"
Link: "Forgot password?"
* A divider (if SSO available)
* A
* Text (style _Title/Small_): "Sign
* A list of configured SSO providers presented as buttons "Continue
* A divider (if create an account activated)
* A section for create an account
* A label "You don’t have an account yet?"
* A link to the account creation "Create a new account"
#### **Technical notes**
* \[open\] Do we really need the 'Remember
* What are the benefits? Why doesn't
#### **Mockup**
workPackageValue:Mockups
#### **Permissions and visibility considerations**
* _No changes_
####
* Change the value of the source key `button_login` to "Log in" (from "Sign in")
####
####
* \[open\] The 'Create
* \[open\] The 'Forgot password?'
* Automatically adapting to Light and Dark mode when the user is not logged in will be handled by <mention
####
#### **Visuals**
**Log in screen (home)**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/606185/content">
**Login dropdown (topbar)**
**<img class="image_resized op-uc-image op-uc-image_inline" style="width:337px;" src="/api/v3/attachments/529671/content">**