diff --git a/docs/UserGuide.md b/docs/UserGuide.md index e88c0069e13..576c8ae6183 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -271,10 +271,10 @@ As the commands given were invalid, there would be no changes to the client list
- Figure 1.2: After the invalid `add` command without all parameters is executed + Figure 1.3: After the invalid `add` command without all parameters is executed - Figure 1.3: After the invalid `add` command with incorrect parameters is executed + Figure 1.4: After the invalid `add` command with incorrect parameters is executed
@@ -574,6 +574,28 @@ _This command allows you to add an appointment with the specified parameters._ Once the command is entered, the event should be added to the events panel on the right of the application. + +**Examples:** +- `schedule add h/Meeting with Client t/Wednesday, January, 24, 2024 - 09:00 AM d/Discuss project details n/John Doe` +- `schedule add h/Discharge plan meeting t/Wednesday, January, 24, 2024 - 09:00 AM d/Discuss discharge n/Jack Doe` + + +**Walkthrough:** + +The screenshots show what you should expect on your screen while executing this command: `schedule add h/Meeting with Client t/Wednesday, January, 24, 2024 - 09:00 AM d/Discuss project details n/John Doe`. +Once the command is entered, the event should be deleted on the events panel on the right of the application. + +
+ + Figure 1.1: Before the `schedule add` command is executed + + + Figure 1.2: After the `schedule add` command is executed + +
+ +  + ### Deleting Appointments : `schedule delete` _This command allows you to remove an appointment with the specified parameters._ @@ -591,6 +613,29 @@ _This command allows you to remove an appointment with the specified parameters. Once the command is entered, the event should be removed from the events panel on the right of the application. +**Examples:** +- `schedule delete h/Meeting with Client` +- `schedule delete h/Discharge plan meeting` + +It is only possible to delete an event if the heading exists in the events panel on the right of the application. + + +**Walkthrough:** + +The screenshots show what you should expect on your screen while executing this command: `schedule delete h/Client Checkin`. +Once the command is entered, the event should be added to the events panel on the right of the application. + +
+ + Figure 1.1: Before the `schedule delete` command is executed + + + Figure 1.2: After the `schedule delete` command is executed + +
+ +  + ## Program Controls ConnectCare provides the following commands for navigating the application: * Undoing a command: `undo` diff --git a/docs/images/user-guide/schedule_command/schedule-add-after.png b/docs/images/user-guide/schedule_command/schedule-add-after.png new file mode 100644 index 00000000000..eed94acbc2e Binary files /dev/null and b/docs/images/user-guide/schedule_command/schedule-add-after.png differ diff --git a/docs/images/user-guide/schedule_command/schedule-add.png b/docs/images/user-guide/schedule_command/schedule-add.png new file mode 100644 index 00000000000..2a5977a2456 Binary files /dev/null and b/docs/images/user-guide/schedule_command/schedule-add.png differ diff --git a/docs/images/user-guide/schedule_command/schedule-delete-after.png b/docs/images/user-guide/schedule_command/schedule-delete-after.png new file mode 100644 index 00000000000..1c791d368b9 Binary files /dev/null and b/docs/images/user-guide/schedule_command/schedule-delete-after.png differ diff --git a/docs/images/user-guide/schedule_command/schedule-delete.png b/docs/images/user-guide/schedule_command/schedule-delete.png new file mode 100644 index 00000000000..ea9ad91d99b Binary files /dev/null and b/docs/images/user-guide/schedule_command/schedule-delete.png differ