forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Justify the rules for duplicate
- Loading branch information
Showing
2 changed files
with
14 additions
and
5 deletions.
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
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 |
---|---|---|
|
@@ -77,6 +77,7 @@ any traditional point-and-click management app. | |
|
||
**Notes about duplicate contacts:**<br> | ||
* A contact is considered a duplicate of another if it has the same Name, Phone or Email as the other contact. | ||
* | ||
|
||
**Notes about case sensitivity:**<br> | ||
* Names, emails and tags are case-sensitive. | ||
|
@@ -136,6 +137,8 @@ Format: `add n/NAME p/PHONE_NUMBER e/EMAIL [t/TAG]…` | |
|
||
* The phone number must follow the Singaporean convention: have 8 digits, start with 6, 8, or 9, and consist only of numbers. | ||
* Duplicate contacts cannot be added to the list. | ||
* Names are case-sensitive. For example, “Alice” and “alice” are considered distinct names. | ||
* Names should only contain alphanumeric characters and spaces, and it should not be blank. | ||
|
||
Examples: | ||
* `add n/John Doe p/98765432 e/[email protected]` | ||
|
@@ -319,6 +322,8 @@ _Details coming soon ..._ | |
**Q**: How do I transfer my data to another Computer?<br> | ||
**A**: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous CampusConnect home folder. | ||
|
||
**Q**: How can I add contacts with the same name?<br> | ||
**A**: If two contacts share the same name, you can differentiate them by adding a number or adjusting the capitalization. For example, use “Mary” and “Mary 2” or “John” and “john” to keep each entry unique. | ||
-------------------------------------------------------------------------------------------------------------------- | ||
|
||
## Known Issues | ||
|