From 66ae6f1fe58fe2241e816dfc6ac85d340a3d5793 Mon Sep 17 00:00:00 2001 From: Rachael-Chan Date: Tue, 12 Nov 2024 10:33:36 +0800 Subject: [PATCH 1/3] docs: Add invalid use case for list --- docs/DeveloperGuide.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index dea887d813a..8f8a626fca9 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -295,6 +295,12 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli Use case ends. +* 2b. The given list command has extraneous parameters. + + * 2b1. SocialBook shows an error message. + + Use case ends. + ##### **Use case: UC02 - Add a contact** **MSS** From d696356c083ddf5b34f2163ef52faf120ff92e9f Mon Sep 17 00:00:00 2001 From: Rachael-Chan Date: Tue, 12 Nov 2024 10:46:34 +0800 Subject: [PATCH 2/3] docs: Update duplicate tags handling --- docs/UserGuide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 92c03ed29d4..311507f7e56 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -92,6 +92,7 @@ SocialBook is a **desktop app designed for social workers in Singapore, optimize * You can include hyphens and spaces as necessary between words for tags that are multiple words long! * To indicate no tags for a contact, you can `add` a contact without any `t/` prefixes. * Take note that `add`ing a contact with a `t/` prefix followed by whitespace is not supported. Omit the `t/` tag for contacts without tags. +* Take note that tags are case sensitive i.e `financial` and `FINANCIAL` would not be considered as duplicates. ### Remarks * Remarks are optional for contacts, and are denoted by the `r/` prefix. @@ -360,6 +361,7 @@ Furthermore, certain edits can cause the SocialBook to behave in unexpected ways This is due to the way that parsing is handled: any text matching special prefixes will be identified as such. To work around this, please prepend a `_`, or any other accepted special character, in front of any input fields that contain a special prefix. 5. Entering an invalid emergency contact will produce the same error message as an invalid phone number. When receiving an error message about phone numbers, check both the `ec/` and `p/` field, if both are present. +6. When adding multiple tags in `add` and `edit`, there is no check for duplicates. -------------------------------------------------------------------------------------------------------------------- From 2e3cab36774343a22f76cfad574d3b16ca685f3b Mon Sep 17 00:00:00 2001 From: Rachael-Chan Date: Tue, 12 Nov 2024 10:50:41 +0800 Subject: [PATCH 3/3] docs: Fix sentence structure of tags in known issue --- docs/UserGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 311507f7e56..8b329bca99c 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -361,7 +361,7 @@ Furthermore, certain edits can cause the SocialBook to behave in unexpected ways This is due to the way that parsing is handled: any text matching special prefixes will be identified as such. To work around this, please prepend a `_`, or any other accepted special character, in front of any input fields that contain a special prefix. 5. Entering an invalid emergency contact will produce the same error message as an invalid phone number. When receiving an error message about phone numbers, check both the `ec/` and `p/` field, if both are present. -6. When adding multiple tags in `add` and `edit`, there is no check for duplicates. +6. Tags with the same name but with different cases are considered two different tags i.e `free` and `FREE` are not considered duplicates. --------------------------------------------------------------------------------------------------------------------