As an everyday user I want Librem Social to work with system-wide Librem One accounts
User Story
As an everyday user I want Librem Social to work with system-wide Librem One account(s) I have already configured on my phone so that I can have an optimized first-start experience.
Related
Acceptance Criteria
Given that
- User has Librem Hub installed
- User has not created any Librem One system accounts
- When Librem Social is launched for the very first time
- It should show the Onboarding screen
- with a warning message
- with primary action "Login to Librem One"
- with secondary action "Login to another domain"
- without links to register, policy, and stay safe
- those are presented on the Librem One Hub login and therefore not needed in Onboarding screen itself
- When "Login to Librem One" is invoked
- it should bring up Librem Hub's system-wide login screen
- user should be able to log in
- When user logs in
- he should be taken back to Librem Social main activity screen
- When "Login to another domain" is invoked
- it should bring up Librem Social's login screen
- with a field that allows the user to type in any domain instance
- with an option to log in via the native login screen (oauth2 password grant)
- with an option to log in via a web browser (oauth2)
- When user logs in with either method
- he should be taken back to Librem Social main activity screen
- It should show the Onboarding screen
- When Librem Social is launched for the very first time
- User has one Librem One system account created
- When Librem Social is launched for the very first time
- It should automatically notice that user is already logged in and show the main activity screen with user's timeline
- When user chooses to log out of an account via Librem Social app
- It should also log out of the main Librem One system account, but only for Librem Social service (other services should remain logged in)
- When Librem Social is launched for the very first time
- User has two Librem One system accounts created
- When Librem Social is launched for the very first time
- It should automatically notice that user is already logged in under several accounts and show the main activity screen with user's timeline as well as all the other accounts the user can switch to
- When Librem Social is launched for the very first time
- User has not created any Librem One system accounts
Edited by Thomas Markiewicz