-
Notifications
You must be signed in to change notification settings - Fork 110
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
[W7.7][T10-B1] AcquaiNote #70
base: master
Are you sure you want to change the base?
Conversation
docs/DeveloperGuide.adoc
Outdated
@@ -729,8 +729,26 @@ Priorities: High (must have) - `* * \*`, Medium (nice to have) - `* \*`, Low (un | |||
|
|||
|`* * *` |user |find a person by name |locate details of persons without having to go through the entire list | |||
|
|||
|`* * *` |user |add details to a certain contact after adding them |have more information available afterwards |
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.
Isn't it more like edit
?
docs/DeveloperGuide.adoc
Outdated
@@ -729,8 +729,26 @@ Priorities: High (must have) - `* * \*`, Medium (nice to have) - `* \*`, Low (un | |||
|
|||
|`* * *` |user |find a person by name |locate details of persons without having to go through the entire list | |||
|
|||
|`* * *` |user |add details to a certain contact after adding them |have more information available afterwards | |||
|
|||
|`* * *` |user |be notified if I were to delete a contact |I don’t mistakenly delete a contact |
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 is more like a detail that should be recorded in the use case of delete contact
's user story.
docs/DeveloperGuide.adoc
Outdated
|`* *` |user |hide link:#private-contact-detail[private contact details] by default |minimize chance of someone else seeing them by accident | ||
|
||
|`* *` |user |use link:#right-click-menu[right click menu] for most link:#common-commands[common commands] |no typing is required and makes my life easy |
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.
Remember that the project defines that the user is a typist.
docs/DeveloperGuide.adoc
Outdated
|
||
|`* * *` |user |show list of favourite contacts |quickly find people I contact often | ||
|
||
|`* * *` |user |be notified when entering user with same name |avoid confusion in the future |
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.
More like a use case.
docs/DeveloperGuide.adoc
Outdated
|
||
|`* * *` |user |have a more flexible addition of contact |add contacts without address or email as compulsory elements | ||
|
||
|`* * *` |user |show list of favourite contacts |quickly find people I contact often |
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.
Don't forget to add a user story to add contacts into favourite contacts.
docs/DeveloperGuide.adoc
Outdated
*MSS* | ||
|
||
1. User requests to add a person | ||
2. User inputs desired details, eg: address, email, birthday, etc... |
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.
Step 1 and 2 can be combined into User requests to add a person with some missing attributes
docs/DeveloperGuide.adoc
Outdated
** 3a1. AddressBook displays message “Wrong password”. | ||
+ | ||
Use case resumes at step 2. | ||
|
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.
Overall, it's good that you write use cases for each user stories, but some of them shouldn't be a user stories and also some use cases are wrong. Please check them again and update it accordingly.
. Should be able to sort within 1 second. | ||
. A user with average software using skills should be able to understand the user interface within 20 minutes. | ||
. A new user who is able to comprehend simple english can use the application within 20 minutes. | ||
. Should only store data locally unless user shares with other applications. |
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.
Good, all NFRs are specific.
@@ -41,4 +41,5 @@ | |||
*/ | |||
void saveAddressBook(ReadOnlyAddressBook addressBook, String filePath) throws IOException; | |||
|
|||
void backupAddressBook(ReadOnlyAddressBook addressBook) throws IOException; |
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.
Put header comment here.
@@ -74,4 +75,8 @@ public void saveAddressBook(ReadOnlyAddressBook addressBook, String filePath) th | |||
XmlFileStorage.saveDataToFile(file, new XmlSerializableAddressBook(addressBook)); | |||
} | |||
|
|||
public void backupAddressBook(ReadOnlyAddressBook addressBook) throws IOException { | |||
saveAddressBook(addressBook, filePath.concat("backup.fxml")); |
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.
backup.fxml can be set into a constant.
@Hailinx @qihao27 @valensia0711 @aaronyhsoh |
docs/AboutUs.adoc
Outdated
|
||
Role: Developer + | ||
Responsibilities: UI | ||
Responsibilities: Logic | ||
|
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.
Good job for updating AboutUS.
docs/DeveloperGuide.adoc
Outdated
+ | ||
Use case ends. | ||
|
||
[discrete] |
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.
Good job for updating the dev guide.
* *Delete* : `delete INDEX` + | ||
e.g. `delete 3` | ||
* *Delete* : `delete INDEX` or `del NAME` + | ||
e.g. `delete 3`, `del john` |
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.
Good job for updating the UserGuide.
* Will return false for any other non-alphabet string input | ||
* e.g. empty string, " abc " (untrimmed), "1 a" (contains number) | ||
* Will return false if the input string case does not match the string stored (case sensitive) | ||
* @throws NullPointerException if {@code s} is null. |
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.
Good job for writing the comment
import seedu.address.model.person.ReadOnlyPerson; | ||
import seedu.address.model.person.exceptions.PersonNotFoundException; | ||
// import seedu.address.commons.core.EventsCenter; | ||
// import seedu.address.commons.events.logic.ContactAltDeletionEvent; |
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 remove commented code.
} | ||
|
||
@Override | ||
public boolean test(ReadOnlyPerson person) { |
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.
May be can apply abstraction here.
// private void handleContactDeletionEvent(ContactAltDeletionEvent event) { | ||
// logger.info(LogsCenter.getEventHandlingLogMessage(event)); | ||
// showDeleteOperationAlertAndWait(); | ||
// } |
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 remove commented code.
// assertEquals(DELETE_WARNING_DIALOG_CONTENT_MESSAGE, alertDialog.getContentText()); | ||
// } | ||
// | ||
// } |
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 remove commented code.
/** | ||
* Contains integration tests (interaction with the Model) and unit tests for {@code DeleteCommand}. | ||
*/ | ||
public class DeleteAltCommandTest { |
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.
Good job for writing the test cases.
String expectedMessage = String.format(MESSAGE_PERSONS_LISTED_OVERVIEW, 0); | ||
FindCommand command = prepareCommand(" "); | ||
assertCommandSuccess(command, expectedMessage, Collections.emptyList()); | ||
public void equals_indFuzzyFind() { |
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.
Good job for updating the test cases.
@Hailinx @qihao27 @valensia0711 @aaronyhsoh Some comments added. |
@Hailinx @qihao27 @aaronyhsoh @valensia0711 3.1. Find mechanism
3.3. Sort mechanism
3.4. Lock/Unlock mechanism
|
…eek-10 Week 10 enhancements merged
Implemented multi-delete for persons, added schedule list panel, added some tests
Update docs and UI
Update User Guide
Update method names
Rectify style issue
Add new command: export
Collate codes
Update branch
Update docs
No description provided.