Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #211 from rayshawntan/Update-DG
Browse files Browse the repository at this point in the history
Update Use Cases
  • Loading branch information
Cloud7050 authored Nov 13, 2023
2 parents b147b7a + 4d82446 commit da7b0ef
Showing 1 changed file with 70 additions and 11 deletions.
81 changes: 70 additions & 11 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli

**MSS**

1. User request to add a contact
2. ConText adds the contact
1. User requests to add a contact.
2. ConText adds the contact.

Use case ends.

Expand All @@ -271,33 +271,92 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli

**MSS**

1. User requests to view the list of contacts (UC03)
2. User requests to delete a specific contact in the list
3. ConText deletes the contact
1. User requests to view the list of contacts (UC03).
2. User requests to delete a specific contact in the list.
3. ConText deletes the contact.

Use case ends.

**Extensions**

* 2a. The given index is invalid.
* 2a. An invalid contact to edit is specified.

* 2a1. ConText shows an error message.

Use case resumes at step 2.
* 2a1. ConText shows an error message.
Use case resumes at step 2.

**Use case: UC03 - List all contacts**

**MSS**

1. User requests to list contacts
2. ConText shows a list of contacts
1. User requests to list contacts.
2. ConText shows a list of contacts.

**Extensions**

* 2a. The list is empty.

Use case ends

**Use case: UC04 - Edit a contact**

**MSS**

1. User requests to view the list of contacts (UC03).
2. User requests to edit a contact.
3. ConText edits the contact.

Use case ends.

**Extensions**

* 2a. An invalid contact to edit is specified.

* 2a1. ConText shows an error message.

Use case resumes at step 2.

* 2b. The given data is incorrect.

* 2b1. ConText shows an error message.

Use case resumes at step 2.

**Use case: UC05 - Clear all contacts**

**MSS**

1. User requests to clear all contacts.
2. ConText clears all contacts.

Use case ends.

**Use case: UC06 - Find a contact**

**MSS**

1. User requests to find a contact.
2. ConText displays a list of contacts matching the given data.

Use case ends.

**Extensions**

* 2a. The filtered list is empty.

Use case ends

**Use case: UC07 - Filter tags**

1. User requests to filter the list of contacts by a given tag.
2. ConText displays a filtered list of contacts based on the given tag.

**Extensions**

* 2a. The filtered list is empty.

Use case ends

*{More to be added}*

### Non-functional Requirements
Expand Down

0 comments on commit da7b0ef

Please sign in to comment.