From 56a34f6ac68c17adc7d32c5b7e9376be694bb5b5 Mon Sep 17 00:00:00 2001 From: "APPLETEA\\Huijia" Date: Sun, 24 Sep 2017 15:33:28 +0800 Subject: [PATCH 1/2] added user stories for additional functionalities --- doc/DeveloperGuide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/DeveloperGuide.md b/doc/DeveloperGuide.md index c82c3afb9..d3eedeacb 100644 --- a/doc/DeveloperGuide.md +++ b/doc/DeveloperGuide.md @@ -47,6 +47,8 @@ Priority | As a ... | I want to ... | So that I can... `* * *` | user | find a person by name | locate details of persons without having to go through the entire list `* *` | user | hide [private contact details](#private-contact-detail) by default | minimize chance of someone else seeing them by accident `*` | user with many persons in the address book | sort persons by name | locate a person easily +`*` | user who likes to travel | be able to tell the relative distance of the contact to my position | locate contacts easily +`*` | user with many records | categorise records by tags | find the person easily ## Appendix B : Use Cases From 61406ead6ddf85519c8168c9f35209bff6e68f78 Mon Sep 17 00:00:00 2001 From: "APPLETEA\\Huijia" Date: Sun, 24 Sep 2017 15:43:57 +0800 Subject: [PATCH 2/2] add usecase --- doc/DeveloperGuide.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/DeveloperGuide.md b/doc/DeveloperGuide.md index d3eedeacb..f1b7921ab 100644 --- a/doc/DeveloperGuide.md +++ b/doc/DeveloperGuide.md @@ -76,6 +76,30 @@ Use case ends. > 3a1. AddressBook shows an error message
Use case resumes at step 2 +#### Use case: Rename a tag + +**MSS** + +1. User requests to name a tag with another +2. Addressbook searches for affected persons +3. Addressbook returns the names of persons affected, asks user for confirmation +4. User confirms the replacement +5. Addressbook replaces the tag in the taglists with the new tag + +**Extensions** + +1a. The new tag is not a valid tag + +> AddressBook shows error and asks for a new tag, resumes at step 2 + +2a. The tag does not exist + +> Use case ends + +4a. User does not confirm the replacement + +> Use case ends + ## Appendix C : Non Functional Requirements 1. Should work on any [mainstream OS](#mainstream-os) as long as it has Java 8 or higher installed.