Skip to content

Commit

Permalink
Merge pull request #124 from CS2103AUG2016-T14-C2/V0.5rc
Browse files Browse the repository at this point in the history
V0.5rc Milestone
  • Loading branch information
qhng authored Nov 3, 2016
2 parents e41dde8 + 2ba8cef commit 278752f
Show file tree
Hide file tree
Showing 83 changed files with 3,572 additions and 916 deletions.
Binary file added Collate-TUI.jar
Binary file not shown.
3 changes: 3 additions & 0 deletions collate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
java -jar Collate-TUI.jar collate from src/main to collated/main include java, fxml, css
java -jar Collate-TUI.jar collate from src/test to collated/test include java
java -jar Collate-TUI.jar collate from docs to collated/docs include md, html
50 changes: 36 additions & 14 deletions collated/docs/A0097627N.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unlikely to have) - `*`


Priority | As a ... | I want to ... | So that I can...
Priority | As a(n) ... | I want to ... | So that I can...
-------- | :-------- | :--------- | :-----------
`* * *` | new user | see usage instructions | refer to instructions when I forget how to use the App
`* * *` | new user | view more information about a particular command | learn how to use various commands
Expand All @@ -21,9 +21,9 @@ Priority | As a ... | I want to ... | So that I can...
`*` | user | sort tasks by priority level | see the most important tasks and prioritize accordingly
`*` | user | undo most recent command | undo the most recent operation
`*` | user | redo most recent undo command | redo the operation done by the most recent undo action
`*` | user | change storage location | choose where my tasks are saved at
`*` | advanced user | alias keywords with shorter versions | type a command faster
`*` | advanced user | remove alias of keywords with shorter versions | get rid of shorter version of certain keywords
{More to be added}

## Appendix B : Use Cases

Expand All @@ -33,7 +33,7 @@ Priority | As a ... | I want to ... | So that I can...

(For all use cases below, the **System** is the `Savvy Tasker` and the **Actor** is the `user`, unless specified otherwise)

#### Use case: Add task
### Use case: Add task

**MSS**

Expand Down Expand Up @@ -63,7 +63,7 @@ Use case ends.
> 2d1. Savvy Tasker shows an error message <br>
> Use case resumes at step 1

#### Use case: List tasks
### Use case: List tasks

**MSS**

Expand All @@ -79,7 +79,7 @@ Use case ends.
> 3a1. Savvy Tasker shows an error message <br>
Use case ends

#### Use case: Find task
### Use case: Find task

**MSS**

Expand All @@ -100,7 +100,7 @@ Use case ends.
> Use case ends


#### Use case: Modify task
### Use case: Modify task

**MSS**

Expand All @@ -125,7 +125,30 @@ Use case ends.
> 2b1. Savvy Tasker shows an error message and display the expected format <br>
Use case resumes at step 3

#### Use case: Mark task as done

### Use case: Change storage location

**MSS**

1. Savvy Tasker waits for user command
2. User requests to change the storage location of Savvy Tasker
3. Savvy Tasker changes the storage location, saving all existing data in the new location <br>
Use case ends.

**Extensions**

2a. The given path is invalid

> 2a1. Savvy Tasker shows an error message <br>
Use case ends

2b. The given path is is not accessible (read/write) by Savvy Tasker

> 2b1. Savvy Tasker shows an error message <br>
Use case ends


### Use case: Mark task as done

**MSS**

Expand All @@ -148,7 +171,7 @@ Use case ends.
> 3b1. Savvy Tasker shows a 'task already marked' error message.<br>
> Use case resumes at step 1

###Use case: Unmark marked task
### Use case: Unmark marked task

**MSS**

Expand All @@ -169,7 +192,7 @@ Use case ends.
> Use case resumes at step 1


#### Use case: Delete task
### Use case: Delete task

**MSS**

Expand All @@ -191,7 +214,7 @@ Use case ends.
> 4a1. Savvy Tasker shows an error message
> Use case resumes at step 3 <br>

###Use case: Alias keyword and use shorten keyword
### Use case: Alias keyword and use shorten keyword

**MSS**

Expand All @@ -213,7 +236,7 @@ Use case ends.
> 2b1. Savvy Tasker shows a error message and the shorten keyword's original associated keyword
> Use case resumes at step 1 <br>

###Use case: Unalias keyword
### Use case: Unalias keyword

**MSS**

Expand All @@ -228,7 +251,7 @@ Use case ends.
> 2a1. Savvy Tasker shows a 'not found' error message
> Use case resumes at step 1 <br>

###Use case: Undo previous command
### Use case: Undo previous command

**MSS**

Expand All @@ -243,7 +266,7 @@ Use case ends.
> 2a1. Savvy Tasker shows a 'cannot undo' error message <br>
> Use case ends

###Use case: Redo most recently undone command
### Use case: Redo most recently undone command

**MSS**

Expand All @@ -269,7 +292,6 @@ Use case ends.
8. Should store data in text file.
9. Should work without requiring an installer.

{More to be added}

## Appendix D : Glossary

Expand Down
23 changes: 18 additions & 5 deletions collated/docs/A0139915W.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Format: `add TASK_NAME [s/START_DATE] [e/END_DATE] [l/LOCATION] [p/PRIORITY_LEVE
> LOCATION | `Optional` Specifies the location where the task happens.
> PRIORITY_LEVEL | `Optional` Specifies the priority level of the task.<br>`Accepts` values `low`, `medium`, `high`<br>`Defaults` to `???`
> RECURRING_TYPE | `Optional` Specifies the recurring type of the task.<br>`Accepts` values `none`, `daily`, `weekly`, `monthly`, `yearly`<br>`Defaults` to `none`
> NUMBER_OF_RECURRENCE | `Optional` Specifies the number of times the task recurrs. A value of 0 specifies a never-ending recurrence.<br>`Defaults` to `0`<br>`Ignored` if RECURRING_TYPE is `none`
> NUMBER_OF_RECURRENCE | `Optional` Specifies the number of times the task recurrs. <br>`Defaults` to `1`<br>`Ignored` if RECURRING_TYPE is `none`
> CATEGORY | `Optional` Specifies a custom category for the task. This can be used for keeping track of similar tasks.
> DESCRIPTION | `Optional` Describes the task.

Expand All @@ -95,11 +95,11 @@ Examples:

#### Listing all tasks: `list`
Shows a list of all tasks in Savvy Tasker <br>
Format: `list [t/LIST_TYPE]`
Format: `list [LIST_TYPE]`

> Parameters | Description
> -------- | :--------
> LIST_TYPE | `Optional` Specifies the name of the task.<br>`Accepts` values `DueDate`, `PriorityLevel`, `Archived`<br>`Defaults` to `DueDate`
> LIST_TYPE | `Optional` Specifies the name of the task.<br>`Accepts` values `DueDate`, `PriorityLevel`, `Archived`, `Alias`<br>`Defaults` to `DueDate`

`LIST_TYPE` Explanation:
* `DueDate` <br>
Expand All @@ -108,7 +108,9 @@ Format: `list [t/LIST_TYPE]`
* `PriorityLevel` <br>
Tasks are sorted according to priority level beginning with the highest.<br>
* `Archived` <br>
Tasks that have been [marked](#mark-a-task-as-done--mark) are listed. They are sorted according to the time of creation of the task.<br>
Tasks that have been [marked](#mark-a-task-as-done--mark) are listed. They are sorted according to the time of creation of the task.
* `Alias` <br>
[Aliases](#alias-a-keyword--alias) that have been registered are listed.<br>

#### Finding all task containing any keyword in its name: `find`
Finds tasks whose names contain any of the given keywords.<br>
Expand Down Expand Up @@ -168,6 +170,16 @@ Format: `modify INDEX [t/TASK_NAME] [s/START_DATE] [e/END_DATE] [l/LOCATION] [p/
> <br>
> Overwrites any of the specified fields ('LOCATION', 'DESCRIPTION'...) with the new values

#### Change storage location : `storage`
Changes the storage location of Savvy Tasker.<br>
Format: `storage PATH`

> Parameters | Description
> -------- | :--------
> PATH | `Mandatory` Specifies the path where Savvy Tasker's task list is saved at.
> <br>
> If the new storage location specified by `PATH` is not accessible by Savvy Tasker, no change will be made to the existing path.

```
###### \UserGuide.md
``` md
Expand All @@ -182,10 +194,11 @@ Command | Format
[Delete](#deleting-a-task--delete) | `delete INDEX [MORE_INDEX]`<br>Example: `delete 1 2 3`
[Exit](#exiting-the-program--exit) | `exit`
[Find](#finding-all-task-containing-any-keyword-in-its-name-find) | `find [t/FIND_TYPE] KEYWORD [MORE_KEYWORDS]`<br>Example: `find t/exact CS2103 Meeting`
[List](#listing-all-tasks-list) | `list [t/LIST_TYPE]`<br>Example: `list t/archived`
[List](#listing-all-tasks-list) | `list [LIST_TYPE]`<br>Example: `list archived`
[Help](#viewing-help--help) | `help`
[Modify](#modifies-a-task--modify) | `modify INDEX [t/TASK_NAME] [s/START_DATE] [e/END_DATE] [l/LOCATION] [p/PRIORITY_LEVEL] [r/RECURRING_TYPE] [n/NUMBER_OF_RECURRENCE] [c/CATEGORY] [d/DESCRIPTION]`<br>Example: `modify 2 t/Wednesday Weekly Milestone s/wed d/Project Meeting and Finalization`
[Mark](#mark-a-task-as-done--mark) | `mark INDEX [MORE_INDEX]`<br>Example: `mark 1 2 3`
[Storage](#change-storage-location--storage) | `storage PATH`<br>Example: `storage data/savvytasker.xml`
[Unmark](#unmark-a-task-as-done--unmark) | `unmark INDEX [MORE_INDEX]`<br>Example: `unmark 1 2 3`
[Undo](#undo-the-most-recent-operation--undo) | `undo`
[Redo](#redo-the-most-recent-undo-operation--redo) | `redo`
Expand Down
Loading

0 comments on commit 278752f

Please sign in to comment.