Yesterday’s Tomorrow - User Guide
By : Team CS2103JAN2017-F11-B3
Since: Jan 2017
Licence: MIT
1. Quick Start
-
Ensure you have Java version
1.8.0_60
or later installed in your Computer.Having any Java 8 version is not enough.
This app will not work with earlier versions of Java 8. - Download the latest
YTomorrow.jar
from the releases tab. - Copy the file to the folder you want to use as the home folder for your task list.
-
Double-click the file to start the app. The GUI should appear in a few seconds.
- Type the command in the command box and press Enter to execute it.
e.g. typinghelp
and pressing Enter will open the help window. - Some example commands you can try:
list
: lists all tasksadd
` Econ hw d/2017/05/22 0700 : adds a task “Econ hw” to the task list and set the due date to May 22nd at 7am.delete
3
: deletes the 3rd task shown in the current listexit
: exits the app
- Refer to the Features section below for details of each command.
2. Features
Command Format
- Words in
UPPER_CASE
are the parameters.- Items in
SQUARE_BRACKETS
are optional.- Items with
...
after them can have multiple instances.- Parameters can be in any order.
2.1. Viewing help : help
Shows information about how to use Yesterday’s Tomorrow.
Format: help
Hotkey: CTRL+H
2.2. Opening the theme manager : theme
Displays the theme manager of the program.
Format: theme
Hotkey: CTRL+T
2.3. Adding a task: add
Adds a task to the task list
Format: add TASK_NAME [from START TIME] [to END TIME] [in GROUP]
Users can add a task without defining either start time or end time. An end time must be specified if a start time is specified. local time will be set as default if start time and end time parameters do not specify time. TASK_NAME should only contain alphanumeric characters and spaces, and it should not be blank.
Examples:
- Normal task:
add CS2103 assignment from Feb 3 to Apr 6 in study
- Task with deadline:
add CS2013 assignment to tomorrow in study
- Floating task:
add CS2013 assignment in study
2.4. Listing all tasks : list
Shows a list of all tasks (completed or incompleted).
Format: list
The task list will be ordered from earliest to latest end date.
2.5. Listing complete tasks : lc
Shows a list of all completed tasks.
Format: lc
The task list will be ordered from earliest to latest end date.
2.6. Listing incomplete tasks : li
Shows a list of all incomplete tasks.
Format: li
The task list will be ordered from earliest to latest end date.
2.7. Editing a task : edit
Edits an existing task in the task list.
Format: edit INDEX PARAMETER NEW_VALUE
- Edits the task at the specified
INDEX
. The index must be a positive integer 1, 2, 3, …- One parameter and updated value needs to be provided.
- Existing value will be updated to the input value.
Examples:
-
edit 1 newName
Edits the name of the 1st item to “newName”. -
edit 2 g/weekend
Edits the group of the 2nd task to “weekend”.
2.8. Marking a task as complete : mark
Changes the status of one task to complete.
Format: mark INDEX
- Mark the task at the specified
INDEX
. The index must be a positive integer 1, 2, 3, …
Examples:
mark 1
Marks the 1st task as completed.
2.9. Marking a task as incomplete : unmark
Marks a task in current task list as incomplete.
Format: unmark INDEX
- Unmark the task at the specified
INDEX
. The index must be a positive integer 1, 2, 3, …
Examples:
unmark 1
Marks the 1st task as incomplete.
2.10. Deleting a task : delete
Deletes the specified task. Reversible with undo
Format: delete INDEX
Deletes the task at the specified
INDEX
.
The index refers to the index number shown in the most recent listing.
The index must be a positive integer 1, 2, 3, …
Examples:
list
delete 2
Deletes the 2nd task.find milk
delete 1
Deletes the 1st person in the results of thefind
command.
2.11. Clear all tasks : clear
Clear all tasks or only completed task in the list.
Format: clear [KEYWORD]
Keyword can just be all, passed or complete.
Examples:
group learning
delete 2
Deletes the 2nd task within group learning.group fun
find water
find the tasks with water in group fun.
2.12. Finding all tasks containing keyword in their task name: find
Finds tasks whose name contain any of the given keywords.
Format: find KEYWORD
- The search is not case-sensitive. e.g
milk
will matchMilk
- The order of the keywords does not matter. e.g.
buy milk
will matchmilk buy
- The title and description is searched.
- Only full words will be matched e.g.
day
will not matchmonday
- Tasks matching at least one keyword will be returned (i.e.
OR
search). e.g.milk
will matchbuy milk
Examples:
find John
ReturnsJohn Doe
andjohn
find Betsy Tim John
Returns Any person having namesBetsy
,Tim
, orJohn
2.11. seperate different groups : group
list all the tasks within certain groups.
Format: group [KEYWORD]
Examples:
group
Clear all tasks.clear all
,
clear incomplete
,
clear complete
Clear all completed tasks.
2.13. Undo : undo
Undoes the previous action. This command will return the program to the state it was in before the previous action was executed
Format: undo
2.14. Redo : redo
Does the undo function again. This command will return the program to the state it was in before the previous undo action was executed
Format: redo
2.15. Exiting the program : exit
Exits the program.
Format: exit
Hotkey: CTRL+Q
2.16. Saving data
Prompts a new window to select a file to save, and all further changes are saved to this file.
Hotkey: CTRL+S
2.16. Opening data
Prompts a new window to select a file to load from, and all further changes are saved to this file.
Hotkey: CTRL+O
2.16. Exporting data
Prompts a new window to select a file to save the current data to.
Hotkey: CTRL+E
2.16. Importing data
Prompts a new window to select a file to import data from.
This adds any new tasks to the current file, and updates any with the same name.
Hotkey: CTRL+I
2.17 Hotkeys
CTRL+S
- Save AsCTRL+O
- OpenCTRL+E
- ExportCTRL+I
- ImportCTRL+Q
- ExitCTRL+H
- HelpCTRL+T
- Theme ManagerENTER
- In the Help and Theme Manager windows, closes themUP
, DOWN` In the theme manager window to cycle between themes
2.18 Data Initialization
Upon starting for the first time, the program randomly generates and displays 50 tasks. Upon saving, loading, or modifying the data, the program saves the file location and loads this on startup if found.
2.19 Themes
YTomorrow has a built in theme manager that displays choosable css themes for the program and sets the selected one.
Hotkey: CTRL+T
2.20 Clearing Data
Command clears all tasks that are either:
clear all
: all tasksclear passed
: all tasks past deadlineclear complete
: all complete tasksclear incomplete
: all incomplete tasks Format:clear [all/complete/passed]
2.21 Completion Indication
Whether a task is complete or not is indicated by a light green or red border around the task, respectively.
2.22 Past Deadline Indication
A task’s deadline has passed when the task’s background is red.
3. FAQ
Q: How do I transfer my data to another Computer?
A: Install the app in the other computer and ask the program to load the transferred file.
Q: I found a bug in the program, how do I report it?
A: Please create a new issue via this link with a detailed title and description. Please also include [BUG] in the beginning of the title.
Q: I am a developer. How can I contribute to the project?
A: Please feel free to open a pull request with implementation of new features. Our only request is that you review the developer guide and abide to all the requirements.
Q: Is it possible for me to change the appearance of the application?
A: Yes, using the theme manager via the theme
command or CTRL+T
.
4. Command Summary
-
Help:
help
e.g.help
,CTRL+H
Theme:
theme
e.g.theme
,CTRL+T
-
Add
add TASK_NAME [s/START TIME] [d/END TIME] e/EMAIL g/GROUP
e.g.add CS2103 assignment from Feb 3 to Apr 6 in study
add CS2013 assignment to tomorrow in study
add CS2013 assignment in study
-
List All:
list
e.g.list
-
List Complete:
lc
e.g.lc
-
List Incomplete:
li
e.g.li
-
Clear All:
clear all
e.g.clear all
-
Clear Complete:
clear complete
e.g.clear complete
-
Clear Incomplete:
clear incomplete
e.g.clear incomplete
-
Clear Passed:
clear passed
e.g.clear passed
-
Edit:
edit INDEX PARAMETER NEW_VALUE
e.g.edit 2 g/learning
-
Mark:
mark INDEX
e.g.mark 1
-
Unmark:
unmark INDEX
e.g.unmark 2
-
Delete:
delete INDEX
e.g.delete 1
-
Find:
find KEYWORD
e.g.find tutorial
-
Undo:
undo
e.g.undo
-
Redo:
redo
e.g.redo
-
Exit:
exit
e.g.exit
,CTRL+Q