pawan - achapawa/gs GitHub Wiki
Log in
Actor | System | |||
---|---|---|---|---|
Starts the program | ||||
Show logo and copyright information. Give option to register new account or login to existing account. | ||||
Selects log in | ||||
Prompt user to input username and password | ||||
Submits username and password | ||||
Hashes password, checks to see if hashed password matches password in the ./config/users.json file | ||||
If correct, logs the user in. If incorrect, prompts the user to input a new password, or contact the admin to reset their password |
Remove task from list
Actor | System | |||
---|---|---|---|---|
1 | With list item selected, press "remove from list" button | |||
2 | Displays dialog box warning the user | |||
3 | Gives confirmation to remove item | |||
4 | Deletes "task" object from list. Saves list to ./data/<user_id>.json file | |||
Refreshes window to show the list without the task |
Move task to list
Actor | System | |||
---|---|---|---|---|
1 | With task or subtask selected, press "move to list" button | |||
2 | Loads other user list names. Prompts user to select list to move to | |||
3 | Selects future list | |||
4 | Copies the "task" object to the new list. Removes task from old list. Saves both lists to ./data/<user_id>.json file | |||
Refreshes window to show old list without the task |
Create Sublist
Actor | System | |||
---|---|---|---|---|
1 | While in list view menu, selects "create sublist" button | |||
2 | Prompts sublist name and description | |||
3 | Inputs requisite information | |||
4 | Creates sublist with input information. Saves the data to the <user_id>.json file | |||
Displays the contents of the new sublist with options to add tasks |
Create new Section
Actor | System | |||
---|---|---|---|---|
1 | While in list view, selects "create new section" button | |||
2 | Prompts section name | |||
3 | Inputs requisite information | |||
4 | Creates new Section object. Saves structure to the <user_id>.json file. | |||
Brings user back to the list view, section is now visible and tasks can be added |
Archive List
Actor | System | |||
---|---|---|---|---|
1 | While in list view, selects "archive this list" button | |||
2 | Displays confirmation dialog | |||
3 | Confirms the action to archive list | |||
4 | Flags the list as archived. Saves this new configuration to the <user_id>.json file. | |||
Returns the user to the home screen. The list is now under the "archived lists" tab |
Sort list by property
Actor | System | |||
---|---|---|---|---|
1 | Selects a radio button in the box with the label "Sort by:" in the list view | |||
2 | Sorts the list according to the property specified in the radio box | |||
[Options include: {name, label, priority, type, due date} | ||||
Displays the list in its new form |