forked from nus-cs2103-AY2122S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Small fixes and improvements #224
Merged
Justinhoejj
merged 5 commits into
AY2122S1-CS2103-F09-4:master
from
cookiedan42:DG-additions
Nov 8, 2021
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -561,12 +561,6 @@ Step 4. Since the value of `Email` (compulsory field) for the second contact is | |
|
||
Step 3. CONNECTIONS will not display the first contact's invalid `Tag` and will not display the second contact. The other fields and contacts will be displayed as per normal. | ||
|
||
|
||
#### Design considerations: | ||
* Arguments for the command should follow the standard used in other parts of the software. | ||
* Balancing between simplicity of use when no arguments are provided, and customisability for users who might want additional information. | ||
|
||
|
||
-------------------------------------------------------------------------------------------------------------------- | ||
|
||
<div style="page-break-before: always;"></div> | ||
|
@@ -1294,10 +1288,10 @@ testers are expected to do more *exploratory* testing. | |
Expected: Tags added to contact at index 1. Details of the tags added to contact are shown in the status message. | ||
|
||
1. Test case: `tag 2 t/friends`<br> | ||
Expected: No changes to the contact. Warning details are shown in the status message. | ||
Expected: No changes to the contact. Warning details about existing tag(s) are shown in the status message. | ||
|
||
1. Test case: `tag 2 t/party t/friends`<br> | ||
Expected: New tag is added to the contact. Warning details are shown in the status message. | ||
Expected: New tag is added to the contact. Warning details about existing tag(s) are shown in the status message. | ||
|
||
1. Other incorrect tag commands to try: `tag`, `tag -1 t/<valid tag name>`, `tag 1 t/<tag name longer than 60 characters>`, `...`.<br> | ||
Expected: No changes to contacts. Error details are shown in the status message. | ||
|
@@ -1336,8 +1330,14 @@ testers are expected to do more *exploratory* testing. | |
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Extra space |
||
1. Prerequisites: Filter contacts using the `find` command. | ||
|
||
1. Test case: `mailingList` as above<br> | ||
Expected: Same result as exporting full contact list, but with only the contacts in the filtered list | ||
1. Test case: variations on `mailingList` as above<br> | ||
Expected: Same result as exporting full contact list, but with only the contacts displayed in the filtered list | ||
|
||
1. Export Empty contact list | ||
1. Prerequisites: Filter contacts using the `find` command. | ||
|
||
1. Test case: `mailingList`<br> | ||
Expected: Exporting a mailing list of 0 contacts is not allowed. Error details are shown in the status message. | ||
|
||
### Saving data | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 block belonged to mailingList and was left behind at the bottom here