Skip to content
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

Open
wants to merge 645 commits into
base: master
Choose a base branch
from
Open

Conversation

zavfel
Copy link

@zavfel zavfel commented Oct 6, 2016

No description provided.

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...]`

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)`.
Copy link

@jeffryhartanto jeffryhartanto Oct 7, 2016

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)`.

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.
Copy link

@jeffryhartanto jeffryhartanto Oct 7, 2016

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.

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.
Copy link

@jeffryhartanto jeffryhartanto Oct 7, 2016

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.

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.

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

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, :)

@jeffryhartanto
Copy link

jeffryhartanto commented Oct 7, 2016

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`
Copy link

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...]`
Copy link

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.
Copy link

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...]`
Copy link

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...]`
Copy link

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.
Copy link

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`
Copy link

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.

@zavfel zavfel closed this Oct 13, 2016
@zavfel zavfel reopened this Oct 23, 2016
LuMiN0uSaRc and others added 23 commits October 30, 2016 18:14
- 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.
- Added header comments on non-trivial methods.
# Conflicts:
#	src/main/java/harmony/mastermind/model/ModelManager.java
#	src/main/java/harmony/mastermind/ui/MainWindow.java
# 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
LuMiN0uSaRc and others added 30 commits November 7, 2016 20:55
…ing_authors_Hui_Qi

Refactoring and adding authors hui qi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants