-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[T7][W11-C3] #75
base: master
Are you sure you want to change the base?
[T7][W11-C3] #75
Conversation
Format: `add NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]...` | ||
### Adding a task: `add` `do` `complete` | ||
#### Adds an event to Mastermind | ||
Format: `add "TASK", at/TIME, on/DATE [t/TAG...]` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the description you mention event
then in the command you use TASK
, it's confusing.
* `find Dinner` | ||
Returns `Dinner on 10/10/16 at 1900hrs (Date)`. | ||
* `find "cs2010 ps10"` | ||
Returns `CS2010 PS10 on 11 Oct by 1000hrs (Assignment)`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can mention what those double quotes mean.
* `find date` | ||
Returns `Dinner on 10 Oct at 1900hrs (Date,meals)`. | ||
* `find "exam,assignment"` | ||
Returns `CS2010 PS10 on 11 Oct by 1000hrs (Assignment)`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume using double quotes here will return any task that has those 2 tags. If so, you need give an explanation and change your return example.
Deletes the specified person from the address book. Irreversible.<br> | ||
* `list`<br> | ||
`edit 1 Lunch`<br> | ||
Selects the 2nd task in Mastermind and edit the task to Lunch from Dinner. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need to mention from Dinner
, since nobody knows that.
Selects the 2nd task in Mastermind and edit the task to Lunch from Dinner. | ||
* `find CS2010` <br> | ||
`edit 1 on/2010`<br> | ||
Selects the 1st task in the results of the `find` command and edit the date from 1110 to 2010. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to above, you don't need to mention from 1110
.
|
||
Example: | ||
* `undo` | ||
COMMAND removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
COMMAND removed? Need to find better wording for this. :)
The index **must be a positive integer** 1, 2, 3, ... | ||
Example: | ||
* `redo` | ||
COMMAND repeated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
COMMAND repeated? Need to find better word for this. :)
|
||
Example: | ||
* `clear deadlines` | ||
All tasks in deadlines are cleared. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When viewed, the description is not positioned under the clear deadline
.
|
||
### Clearing all entries: `clearall` | ||
Clears all tasks available from Mastermind | ||
>>>>>>> master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to remove this after resolving conflict, :)
Some comments added. Please close the PR after reading comments. Remember to keep a reasonable level of code quality at all time. Code quality is not something you can do later. |
#### Adding a person: `add` | ||
Adds a person to the address book<br> | ||
Format: `add NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]...` | ||
### Adding a task: `add` `do` `complete` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you think of providing just one add
command and decide on which type of task it is based on the input parameters?
#### Adds an event to Mastermind | ||
Format: `add "TASK", at/TIME, on/DATE [t/TAG...]` | ||
#### Adds a task with deadline to Mastermind | ||
Format: `complete "TASK" by/TIME on/DATE [t/TAG...]` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
complete in the normal sense means to mark something as completed, no?
> The search is case sensitive, the order of the keywords does not matter, only the name is searched, | ||
and persons matching at least one keyword will be returned (i.e. `OR` search). | ||
>* At least one optional argument is required. | ||
>* Can edit only one of the field for the task. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to be an unnecessary limitation, don't you think so?
Format: `find KEYWORD [MORE_KEYWORDS]` | ||
### Editing a task : `edit` | ||
Edits the task identified by the index number used in the last task listing. | ||
Format: `edit INDEX [TASK] [at/TIME] [on/DATE] [t/TAGS...]` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you have three commands for adding a task, each of different type. however, edit is just one.
does edit
handle all three types of tasks? if yes, why not add
do the same ;-)
Format: `find KEYWORD [MORE_KEYWORDS]` | ||
### Editing a task : `edit` | ||
Edits the task identified by the index number used in the last task listing. | ||
Format: `edit INDEX [TASK] [at/TIME] [on/DATE] [t/TAGS...]` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if i add a floating task, can I edit it to include a start and/or end time? i.e. convert from floating task to deadline or event?
Selects the 2nd task in Mastermind and edit the task to Lunch from Dinner. | ||
* `find CS2010` <br> | ||
`edit 1 on/2010`<br> | ||
Selects the 1st task in the results of the `find` command and edit the date from 1110 to 2010. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
errr.. i thought 1110 is time rather than date!
#### Adding a person: `add` | ||
Adds a person to the address book<br> | ||
Format: `add NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]...` | ||
### Adding a task: `add` `do` `complete` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to specify somewhere, the date and time formats you support in the application.
Updated Memory Storage test
Updated storage memory test
- TaskBuilder and AddCommandBuilder now provides a systematic and safe way to create respective objects. - Refactor Parser to improve SLAP on prepareAdd - All Command object now inherits the ability to raise an event to update the last action row in the UI
…mand Refactoring. Added TaskBuilder and AddCommandBuilder.
add ImportCommand
- Added header comments on non-trivial methods.
…feedback Refactor/issue 168 feedback
# Conflicts: # src/main/java/harmony/mastermind/model/ModelManager.java # src/main/java/harmony/mastermind/ui/MainWindow.java
Relocate command test
# Resolved Conflicts: # src/main/java/harmony/mastermind/logic/commands/MarkCommand.java # src/main/java/harmony/mastermind/logic/commands/UnmarkCommand.java # src/main/java/harmony/mastermind/model/ModelManager.java # src/main/java/harmony/mastermind/ui/MainWindow.java
add test for findtag and upcoming
Test_parsersearch
Added manual testing step.
…ing_authors_Hui_Qi Refactoring and adding authors hui qi
…ments editted comments
tagging and comments
update images
No description provided.