From f3108c087030aaef27deb0a71db06ca58e906160 Mon Sep 17 00:00:00 2001 From: redcolorbicycle Date: Wed, 6 Mar 2024 22:10:42 +0800 Subject: [PATCH 1/2] Add UC for viewing home-buyer and home-seller requirements --- docs/DeveloperGuide.md | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 9471a09ef69..2194a255133 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -543,7 +543,43 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli Use case ends. -**Use case: UC06 - Delete a person** +**Use case: UC06 - View home-buyer requirements** + +**MSS:** + +1. User enters the command to view the specific buyer's requirements. +2. EstateEase processes the view command with home-buyer as filter. +3. EstateEase displays the home-buyer's requirements. + Use case ends. + +**Extensions** + +* 2a. EstateEase detects an invalid name. + * 2a1. EstateEase shows an error message regarding an invalid entry. + Use case ends. +* 2b. Command does not match EstateEase's registered command spelling. + * 2b1. EstateEase shows an error message regarding an invalid command. + Use case ends. + +**Use case: UC07 - View home-seller requirements** + +**MSS:** + +1. User enters the command to view the specific seller's requirements. +2. EstateEase processes the view command with home-seller as filter. +3. EstateEase displays the home-seller's requirements. + Use case ends. + +**Extensions** + +* 2a. EstateEase detects an invalid name. + * 2a1. EstateEase shows an error message regarding an invalid entry. + Use case ends. +* 2b. Command does not match EstateEase's registered command spelling. + * 2b1. EstateEase shows an error message regarding an invalid command. + Use case ends. + +**Use case: UC08 - Delete a person** **MSS:** @@ -566,7 +602,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli Use case resumes at step 2. -**Use case: UC07 - Load contact data from file** +**Use case: UC09 - Load contact data from file** **Actor: EstateEase** @@ -611,7 +647,7 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli * 1d3b. EstateEase proceeds to load contact and address data from the newly created JSON file. Use case continues from step 2. -**Use case: UC08 - Save to storage** +**Use case: UC10 - Save to storage** **Actor: EstateEase** From edfdce29e955df58012c109811bc4db4d1623745 Mon Sep 17 00:00:00 2001 From: redcolorbicycle Date: Wed, 6 Mar 2024 22:37:35 +0800 Subject: [PATCH 2/2] Add UC for home-seller requirement filtering --- docs/DeveloperGuide.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 2194a255133..67550c4086d 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -555,11 +555,11 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli **Extensions** * 2a. EstateEase detects an invalid name. - * 2a1. EstateEase shows an error message regarding an invalid entry. - Use case ends. + * 2a1. EstateEase shows an error message regarding an invalid entry. + Use case ends. * 2b. Command does not match EstateEase's registered command spelling. - * 2b1. EstateEase shows an error message regarding an invalid command. - Use case ends. + * 2b1. EstateEase shows an error message regarding an invalid command. + Use case ends. **Use case: UC07 - View home-seller requirements** @@ -579,6 +579,26 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli * 2b1. EstateEase shows an error message regarding an invalid command. Use case ends. +**Use case: UC08 - Differentiate home-seller requirements** + +**MSS:** + +1. User opens the app +2. User filters for home-sellers +3. EstateEase displays home-sellers. Free home-sellers are highlighted in green. + + Use case ends. + +**Extensions** + +* 3a. Pending home-sellers are displayed in red. + * 3a1. User clicks on one of the pending home-sellers. The home-seller's status is set to pending. + Use case ends. + +* 3b. User clicks on one of the free home-sellers. The home-seller's status is set to free. + Use case ends. + + **Use case: UC08 - Delete a person** **MSS:**