-
Notifications
You must be signed in to change notification settings - Fork 7
Behaviour: Login
(The 'behaviour' should only describe user actions (no technical details) and as a result understandable by anyone not just developers.)
(This is like a text version of a user interaction 'flow chart'.)
When SenseMap starts:
If there is no internet connection, a user won't be able to use SenseMap or login. A message will be displayed indicating there is no internet and SenseMap won't work.
If there is internet connection,
-
If user is already logged in from last session and didn't sign out,
user does not need to do anything and will remain logged in.user information (name and image) will be displayed, but user will be asked to enter password again (for improved security). -
If user is not logged in, he/she can choose to log in or not:
- If user chooses to not login, he/she can still use SenseMap.
There will be a message saying that no progress can be saved.- There is a 'login' button if use wants to login later.
- If user choose to log in for the first time (currently only Google Account is supported):
- If user has a google account, user needs to log into this account. No further authorisation is needed for SenseMap can access the basic account information.
- If user doesn't have a google account, a (google) registration page will be displayed to create an Google account.
- If use logged in before, he/she can choose from a previous account to continue or log in with a new account.
- If user chooses to not login, he/she can still use SenseMap.
-
Once a user is logged in,
he/she will remain so,his/her basic information (such as name and image) will remain on the computer, even after the Chrome/computer is closed, until the user logs out.- Once a user logs in, the 'log in' button become 'log out' button.
Missing Features for Online Study
Behaviour: Node and Edge Creation
Testing and Behaviour Driven Development (BDD)
Video: Testing with Jasmine and Sinon-Chrome
Video: overview of SenseMap code
Video: browser features in the old 'master' branch
How browserProvenance.js works
Video: create REST API for MongoDB using Node.js