By: M11-02
Since: Feb 2019
Licence: MIT
- 1. Introduction
- 2. Quick Start
- 3. Features
- 3.1. Signing up for an account :
signup
- 3.2. Logging into an account :
login
- 3.3. Logging out of an account :
logout
- 3.4. Deleting an account :
deleteacc
- 3.5. Viewing help :
help
,h
- 3.6. Adding a task:
add
,a
- 3.7. Listing all tasks :
list
,l
- 3.8. Editing a task :
edit
,e
- 3.9. Locating tasks by name:
findname
,fn
- 3.10. Locating tasks by module code:
findmodule
,fm
- 3.11. Locating tasks by date:
finddate
,fd
- 3.12. Locating tasks by priority code:
findpriority
,fp
- 3.13. Deleting a task :
delete
,d
- 3.14. Selecting a task :
select
,sl
- 3.15. Sorting the task list :
sort
,s
- 3.16. Adding miscellaneous notes :
note
- 3.17. Deleting miscellaneous notes :
deletenote
- 3.18. Listing entered commands :
history
- 3.19. Undoing previous command :
undo
,u
- 3.20. Redoing the previously undone command :
redo
,r
- 3.21. Clearing all entries :
clear
,c
- 3.22. Viewing tasks on a calendar
- 3.23. Changing the calendar month :
month
,m
- 3.24. Exiting the program :
exit
- 3.25. Saving the data
- 3.26. Deleting Overdue Tasks :
deleteoverdue
,delod
[coming in v2.0]
- 3.27. Retrieving of notes from storage:
[coming in v2.0]
- 3.1. Signing up for an account :
- 4. FAQ
- 5. Command Summary
Student Buddy is for tech-savvy students who prefer to use a desktop app for managing tasks. More importantly, Student Buddy is optimized for those who prefer to work with a keyboard rather than a mouse, but still has a graphical display for easy viewing. Do you want to organise, prioritise and never miss a deadline again? Then this app is perfect for you!
💡
|
Student Buddy works best with a screen resolution of at least 1280x800. |
Here are the steps to get you started with the Student Buddy.
-
Ensure you have Java version
9
or later installed in your Computer. -
Download the latest
TaskManager.jar
here. -
Copy the file to the folder you want to use as the home folder for Student Buddy.
-
Double-click the file to start the app. The GUI should appear in a few seconds. It should look like this:
-
Type the command in the command box and press Enter to execute it.
e.g. typinghelp
and pressing Enter will open the help window. -
Try the following example commands to get a feel for the app:
-
list
: shows a list of all tasks in the app -
add n/Assignment m/CG2027 d/12-02 p/1
: adds a task namedAssignment
of moduleCG2023
, with submission date12-02
and priority level1
to Student Buddy. -
delete
1
: deletes the 1st task shown in the current list -
help
: displays this guide inside the app -
exit
: exits the app
-
Command Format
-
Words in
UPPER_CASE
are the parameters to be supplied by the user e.g. inadd n/NAME
,NAME
is a parameter which can be used asadd n/CS2113
. -
Items in square brackets are optional e.g
n/NAME [t/TAG]
can be used asn/CS2113 t/urgent
or asn/CS2113
. -
Items with
…
after them can be used multiple times including zero times e.g.[t/TAG]…
can be used ast/urgent
,t/urgent t/math
etc. -
Parameters can be in any order e.g. if the command specifies
n/NAME d/DATE
,d/DATE n/NAME
is also acceptable. -
Dates are in the format DD-MM.
Creates an account for the user. To signup
, there must be no existing account.
💡
|
Only one account can be created per user. |
💡
|
Passwords should not have spaces and may only include the following special characters: !#$%&'*+/=?`{|}~^.@- |
Format: signup u/USERNAME p/PASSWORD
Example:
-
signup u/nicholas p/lee
Signed up: nicholas
Logs the user into their account. An account has to be created before logging in.
Format: login u/USERNAME p/PASSWORD
Example:
-
login u/nicholas p/lee
Logged in as nicholas
Logs user out of an account.
Format: logout
Example:
-
logout
Logged out of nicholas
Deletes account in the system.
💡
|
Only an admin is allowed to use this command. |
Format: deleteacc
Example:
-
deleteacc
Account has been deleted!
Adds a task to Student Buddy.
Format: add n/NAME m/MODULE d/DATE p/PRIORITY [t/TAG]…
or a n/NAME m/MODULE d/DATE p/PRIORITY [t/TAG]…
💡
|
A task can have any number of tags (including 0) |
Examples:
-
add n/Tutorial 3 m/CG1112 d/21-03 p/2 t/urgent
Adds a task with the nameTutorial 3
, module codeCG1112
, date21-03
, priority code2
, with the tagurgent
. -
a n/Project Version 1 m/CS2113T d/11-03 p/1
Adds a task with the nameProject Version 1
, module codeCS2113T
, date11-03
and priority code2
.
Edits an existing task in Student Buddy.
Format: edit INDEX [n/NAME] [m/MODULE] [d/DATE] [p/PRIORITY] [t/TAG]…
or e INDEX [n/NAME] [m/MODULE] [d/DATE] [p/PRIORITY] [t/TAG]…
-
Edits the task at the specified
INDEX
. The index refers to the index number shown in the displayed task list. The index must be a positive integer 1, 2, 3, … -
At least one of the optional fields must be provided.
-
Existing values will be updated to the input values.
-
When editing tags, the existing tags of the task will be removed i.e adding of tags is not cumulative.
-
You can remove all the person’s tags by typing
t/
without specifying any tags after it.
Examples:
-
edit 1 n/Tutorial 4 d/21-03 t/urgent
Edits the name and date of the 1st task to beTutorial 4
and21-03
with the tagurgent
respectively. -
edit 2 n/Project t/
Edits the name of the 2nd task to beProject
and clears all existing tags.
Finds tasks with names containing any of the given keywords.
Format: findname KEYWORD [MORE_KEYWORDS]
or fn KEYWORD [MORE_KEYWORDS]
-
The search is case insensitive. e.g
HOMEWORK
will matchhomework
-
The order of the keywords does not matter. e.g.
CS2113 Tutorial
will matchTutorial CS2113
-
Only the name is searched.
-
Only full words will be matched e.g.
Assignments
will not matchAssignment
-
Tasks matching at least one of the keywords will be returned (i.e.
OR
search). e.g.CS2113 Assignment
will returnCS2113 Homework
,Assignment 2
Examples:
-
findname Project Tutorial
Returns all task with names containingProject
orTutorial
. -
fn Project Lab Report
Returns all task having namesProject
,Lab
, orReport
Finds tasks with module codes containing any of the given keywords.
Format: findmodule KEYWORD [MORE_KEYWORDS]
or fm KEYWORD [MORE_KEYWORDS]
-
The search is case insensitive. e.g
CS2113T
will matchcs2113t
-
The order of the keywords does not matter. e.g.
CS2113T CS2101
will matchCS2101 CS2113
-
Only the module code is searched.
-
Only full words will be matched e.g.
CS2113T
will not matchCS2113
Examples:
-
findmodule CS2113T
Returns all tasks containing the module codeCS2113T
. -
fm CS2113T CS2101
Returns all tasks containing the module codeCS2113T
orCS2101
.
Finds tasks with dates containing any of the given keywords.
Format: finddate KEYWORD [MORE_KEYWORDS]
or fd KEYWORD [MORE_KEYWORDS]
-
The order of the keywords does not matter. e.g.
03-03 21-03
will match21-03 03-03
Examples:
-
finddate 20-03
Returns all task with date 20-03. -
fd 20-03 30-03
Returns all task with date 20-03 or 30-03.
Finds tasks with priority code containing any of the given keywords.
Format: findpriority KEYWORD [MORE_KEYWORDS]
or fp KEYWORD [MORE_KEYWORDS]
-
The order of the keywords does not matter. e.g.
1 2
will match2 1
Examples:
-
findpriority 1
Returns all task with priority code 1. -
fp 1 3
Returns all task with priority code 1 or 3.
Deletes the specified task from Student Buddy.
Format: delete INDEX
or d INDEX
-
Deletes the task at the specified
INDEX
. -
The index refers to the index number shown in the displayed task list.
-
The index must be a positive integer 1, 2, 3, …
Examples:
-
list
delete 2
Deletes the 2nd task in Student Buddy. -
findname Project
d 1
Deletes the 1st task in the results of thefindname
command.
Selects the task identified by the index number used in the displayed task list.
Format: select INDEX
or sl INDEX
-
Selects the task and displays the task on the calendar.
-
The index refers to the index number shown in the displayed task list.
-
The index must be a positive integer
1, 2, 3, …
💡
|
Using add , edit , delete , logout or month will deselect the currently selected task.
|
Examples:
-
list
select 2
Selects the 2nd task in Student Buddy. -
findmodule CS2113
sl 1
Selects the 1st task in the results of thefindmodule
command.
Sorts the task list in Student Buddy according to an input parameter.
Format: sort PARAMETER
or s PARAMETER
-
Sorts the task list according to the
PARAMETER
. -
The parameter must be one of the following
name, module, date, priority
. -
You can also use the initials of the parameter i.e
n
,m
,d
orp
.
Examples:
-
sort module
Sorts the task list lexicographically by module code. -
s priority
Sorts the task list in descending order by priority. -
s d
Sorts the task list in chronological order by date
Adds a note to Student Buddy.
Format: note h/HEADING c/CONTENT p/PRIORITY
-
Adds the note with the given parameters.
-
Priority can only take numbers from 1 to 3 with 1 being the most urgent.
-
Notes with Priority 1 will be displayed in red colour followed by 2 in yellow and 3 in white.
Example:
-
note h/Popular c/buy blue pens p/2
Add a note with heading Popular, content buy blue pens and priority 2.
The following are 2 diagrams that demostrate the example shown above. One of the diagram shows the state before the command is executed and the other shows the state after command is executed.
Before:
After:
Deletes the specified note from Student Buddy.
Format: deletenote INDEX
-
Deletes the note at the specified INDEX.
-
The index refers to the index number shown in the displayed notes list.
-
The index must be a positive integer 1, 2, 3, …
Examples:
-
deletenote 2
Deletes the 2nd note from the displayed notes list in Student Buddy.
The following are 2 diagrams that demostrate the example shown above. One of the diagram shows the state before the command is executed and the other shows the state after command is executed.
Before:
After:
Lists all the commands that you have entered in reverse chronological order.
Format: history
Note
|
Pressing the ↑ and ↓ arrows will display the previous and next input respectively in the command box. |
Restores Student Buddy to the state before the previous undoable command was executed.
Format: undo
or u
Note
|
Undoable commands: those commands that modify Student Buddy’s content ( |
Examples:
-
delete 1
list
undo
This reverses thedelete 1
command. -
select 1
list
undo
Theundo
command fails as there are no undoable commands executed previously. -
delete 1
clear
u
(reverses theclear
command)
u
(reverses thedelete 1
command)
This reverses theclear
command and thedelete 1
command.
Reverses the most recent undo
command.
Format: redo
or r
Examples:
-
delete 1
undo
(reverses thedelete 1
command)
redo
(reapplies thedelete 1
command) -
delete 1
redo
Theredo
command fails as there are noundo
commands executed previously. -
delete 1
clear
u
(reverses theclear
command)
u
(reverses thedelete 1
command)
r
(reapplies thedelete 1
command)
r
(reapplies theclear
command)
Tasks displayed in the task list are automatically displayed on a calendar of the current month.
In addition, the calendar comes with the following features:
-
Tasks are automatically colour-coded, with high, medium and low priority tasks appearing red, orange and blue, respectively.
-
Tasks are automatically listed in order of priority, from high to low.
-
If the task list is modified with
add
,delete
oredit
, or it is filtered usingfind
, the calendar will update accordingly. -
Selecting a task will highlight it on the calendar for easy viewing.
-
Calendar cells are scrollable.
A showcase of the calendar’s features is displayed below:
Changes the month to be displayed by the calendar.
Format: month MONTH
or m MONTH
-
Changes the displayed month to the specified
MONTH
. -
MONTH must be an integer between 1 and 12 inclusive.
-
MONTH must not be the month already being displayed.
Examples:
-
month 2
Changes the month displayed to February. -
m 11
Changes the month displayed to November.
Student Buddy’s data is saved in the hard disk automatically after any command that changes the data.
There is no need to save manually.
Deletes all tasks that are overdue.
Format: deleteoverdue
or delod
Examples:
-
list
deleteoverdue
Deletes all the overdue tasks in Student Buddy. -
findname Project
delod
Deletes all the task in the results of thefindname
command.
Q: How do I transfer my data to another Computer?
A: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous Student Buddy folder.
-
Add
add n/NAME m/MODULE d/DATE p/PRIORITY [t/TAG]…
e.g.add n/Tutorial 3 m/CG2023 d/21-02 p/3 t/urgent
-
Add Note
note note h/HEADING c/CONTENT p/PRIORITY
e.g.note h/Popular c/buy blue pens p/2
-
Clear :
clear
-
Delete :
delete INDEX
e.g.delete 3
-
Delete Note
deletenote INDEX
e.g.delete 1
-
Edit :
edit INDEX [n/NAME] [m/MODULE] [d/DATE] [p/PRIORITY] [t/TAG]…
e.g.edit 2 n/CG2027 Hw d/23-04
-
Find Date :
finddate KEYWORD [MORE_KEYWORDS]
e.g.finddate 21-03
-
Find Module :
findmodule KEYWROD [MORE_KEYWORDS]
e.g.findmodule CS2113T
-
Find Name :
findname KEYWORD [MORE_KEYWORDS]
e.g.findname Project
-
Find Priority :
findpriority KEYWORD [MORE_KEYWORDS]
e.g.findpriority 1
-
Help :
help
-
History :
history
-
List :
list
-
Login :
login u/USERNAME p/PASSWORD
e.g.login u/nicholas p/abcdefg
-
Logout :
logout
-
Month Change :
month MONTH
e.g.month 11
-
Redo :
redo
-
Select :
select INDEX
e.g.select 2
-
Sign-up :
signup u/USERNAME p/PASSWORD
e.g.signup u/nicholas p/abcdefg
-
Sort :
sort KEYWORD
e.gsort module
-
Undo :
undo