From 75a101dfc03dc014db40cebcb35bc6b8b7d0a59d Mon Sep 17 00:00:00 2001 From: Rishit02 Date: Mon, 15 Apr 2024 17:41:39 +0800 Subject: [PATCH 1/4] Update DG --- docs/DeveloperGuide.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 19984815962..468d64c1dc9 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -428,6 +428,41 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli Use case ends. + +**Use case: Schedule an event** + +**MSS** + +1. User requests to schedule an event +2. ConnectCare schedules the event + + Use case ends. + +**Extensions** + +* 1a. The details of the event are incorrect + + * 1a1. ConnectCare shows an error message. + + Use case ends. + +**Use case: Delete an event** + +**MSS** + +1. User requests to delete an event +2. ConnectCare deletes the event + + Use case ends. + +**Extensions** + +* 1a. The details of the event are incorrect + + * 1a1. ConnectCare shows an error message. + + Use case ends. + **Use case: Exit the application** **MSS** From 630cbbbe9fade2febe8e0b9ce8a79d01e988bd2b Mon Sep 17 00:00:00 2001 From: Rishit02 Date: Mon, 15 Apr 2024 17:42:29 +0800 Subject: [PATCH 2/4] Update DG --- docs/DeveloperGuide.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 468d64c1dc9..d6ed92d6aeb 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -428,7 +428,6 @@ Priorities: High (must have) - `* * *`, Medium (nice to have) - `* *`, Low (unli Use case ends. - **Use case: Schedule an event** **MSS** From e52f50fa27a2915299613211c48a90c8a7eabfb7 Mon Sep 17 00:00:00 2001 From: Rishit02 Date: Mon, 15 Apr 2024 17:50:53 +0800 Subject: [PATCH 3/4] Update DG --- docs/diagrams/DeleteSequenceDiagram.puml | 20 ++++++++++---------- docs/diagrams/ParserClasses.puml | 8 ++++---- docs/diagrams/UndoSequenceDiagram-Logic.puml | 14 +++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/diagrams/DeleteSequenceDiagram.puml b/docs/diagrams/DeleteSequenceDiagram.puml index d25f530467d..7cc8c9289ad 100644 --- a/docs/diagrams/DeleteSequenceDiagram.puml +++ b/docs/diagrams/DeleteSequenceDiagram.puml @@ -4,7 +4,7 @@ skinparam ArrowFontStyle plain box Logic LOGIC_COLOR_T1 participant ":LogicManager" as LogicManager LOGIC_COLOR -participant ":AddressBookParser" as AddressBookParser LOGIC_COLOR +participant ":CommandParser" as CommandParser LOGIC_COLOR participant ":DeleteCommandParser" as DeleteCommandParser LOGIC_COLOR participant "d:DeleteCommand" as DeleteCommand LOGIC_COLOR participant "result:CommandResult" as CommandResult LOGIC_COLOR @@ -17,17 +17,17 @@ end box [-> LogicManager : execute("delete 1") activate LogicManager -LogicManager -> AddressBookParser : parseCommand("delete 1") -activate AddressBookParser +LogicManager -> CommandParser : parseCommand("delete 1") +activate CommandParser create DeleteCommandParser -AddressBookParser -> DeleteCommandParser +CommandParser -> DeleteCommandParser activate DeleteCommandParser -DeleteCommandParser --> AddressBookParser +DeleteCommandParser --> CommandParser deactivate DeleteCommandParser -AddressBookParser -> DeleteCommandParser : parse("1") +CommandParser -> DeleteCommandParser : parse("1") activate DeleteCommandParser create DeleteCommand @@ -37,14 +37,14 @@ activate DeleteCommand DeleteCommand --> DeleteCommandParser : d deactivate DeleteCommand -DeleteCommandParser --> AddressBookParser : d +DeleteCommandParser --> CommandParser : d deactivate DeleteCommandParser 'Hidden arrow to position the destroy marker below the end of the activation bar. -DeleteCommandParser -[hidden]-> AddressBookParser +DeleteCommandParser -[hidden]-> CommandParser destroy DeleteCommandParser -AddressBookParser --> LogicManager : d -deactivate AddressBookParser +CommandParser --> LogicManager : d +deactivate CommandParser LogicManager -> DeleteCommand : execute(m) activate DeleteCommand diff --git a/docs/diagrams/ParserClasses.puml b/docs/diagrams/ParserClasses.puml index ce4c5ce8c8d..8ae6033ead8 100644 --- a/docs/diagrams/ParserClasses.puml +++ b/docs/diagrams/ParserClasses.puml @@ -9,7 +9,7 @@ Class XYZCommand package "Parser classes"{ Class "<>\nParser" as Parser -Class AddressBookParser +Class CommandParser Class XYZCommandParser Class CliSyntax Class ParserUtil @@ -19,12 +19,12 @@ Class Prefix } Class HiddenOutside #FFFFFF -HiddenOutside ..> AddressBookParser +HiddenOutside ..> CommandParser -AddressBookParser .down.> XYZCommandParser: <> +CommandParser .down.> XYZCommandParser: <> XYZCommandParser ..> XYZCommand : <> -AddressBookParser ..> Command : <> +CommandParser ..> Command : <> XYZCommandParser .up.|> Parser XYZCommandParser ..> ArgumentMultimap XYZCommandParser ..> ArgumentTokenizer diff --git a/docs/diagrams/UndoSequenceDiagram-Logic.puml b/docs/diagrams/UndoSequenceDiagram-Logic.puml index 68300d53858..9ff40098a6c 100644 --- a/docs/diagrams/UndoSequenceDiagram-Logic.puml +++ b/docs/diagrams/UndoSequenceDiagram-Logic.puml @@ -4,7 +4,7 @@ skinparam ArrowFontStyle plain box Logic LOGIC_COLOR_T1 participant ":LogicManager" as LogicManager LOGIC_COLOR -participant ":AddressBookParser" as AddressBookParser LOGIC_COLOR +participant ":CommandParser" as CommandParser LOGIC_COLOR participant "u:UndoCommand" as UndoCommand LOGIC_COLOR end box @@ -14,18 +14,18 @@ end box [-> LogicManager : execute(undo) activate LogicManager -LogicManager -> AddressBookParser : parseCommand(undo) -activate AddressBookParser +LogicManager -> CommandParser : parseCommand(undo) +activate CommandParser create UndoCommand -AddressBookParser -> UndoCommand +CommandParser -> UndoCommand activate UndoCommand -UndoCommand --> AddressBookParser +UndoCommand --> CommandParser deactivate UndoCommand -AddressBookParser --> LogicManager : u -deactivate AddressBookParser +CommandParser --> LogicManager : u +deactivate CommandParser LogicManager -> UndoCommand : execute() activate UndoCommand From 616594687bff7c9a5a032cfd2c27f123aa182518 Mon Sep 17 00:00:00 2001 From: Rishit02 Date: Mon, 15 Apr 2024 17:54:04 +0800 Subject: [PATCH 4/4] Update DG --- docs/DeveloperGuide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index d6ed92d6aeb..39cd39c7f30 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -543,6 +543,8 @@ testers are expected to do more *exploratory* testing. ### Planned Enhancements +Team size: 5 + 1. Currently, names must be unique and must only contain alphanumeric characters. This means different languages and special characters are not allowed, and we are planning to include these in the future. 2. There is currently no method for new user to clear or find schedules quickly. We are planning to add these commands and expand the capability of this feature in the future.