Skip to content

Commit

Permalink
Merge branch 'AY2425S1-CS2103T-W10-2:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
rxchell authored Nov 11, 2024
2 parents 091e0aa + 71dba04 commit 9905827
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1059,8 +1059,8 @@ testers are expected to do more *exploratory* testing.
- For a simple example, use the appointment added in the test case for adding a person.
2. Test case:`find appt n/[NAME]`
3. Expected: The list is updated to show all the appointments with names containing "[NAME]", non-case-sensitive.
- The status bar shows the following: "Found `n` appointments".
- The `n` refers to the amount of appointment for people with names containing "elmo".
- The status bar shows the following: "Found `x` appointments".
- The `x` refers to the amount of appointment for people with names containing "elmo".
- The list of appointments should now only show appointments matching the criteria.

### Clearing person list
Expand Down
9 changes: 5 additions & 4 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ and clearing persons/appointments.

Here are some **key points** to keep in mind when you are using the commands:

- Appointments are sorted by date and Patients are sorted in chronological order.
- You should supply **all** the fields (words in **`UPPER_CASE`**) that are needed for a command.<br>
_**Example:** In `add person n/NAME`, **`NAME`** is a field which can be used as `add person n/John Doe`._

Expand Down Expand Up @@ -425,7 +426,7 @@ Edits an existing patient in DocTrack.

<box type="tip" light>

**Tip:** When trying to add tags while keeping existing tags, remember to type in all the pre-existing tags with your new tags
**Tip:** When trying to add tags while keeping existing tags, remember to type in all the pre-existing tags with your new tags.

</box>

Expand Down Expand Up @@ -497,7 +498,7 @@ Note that deleting a person will also delete all related appointments.

<box type="tip" light>

**Tip:** Make you have the correct index of the patient before deleting. Use `list person` to check
**Tip:** Make sure you have the correct index of the patient before deleting. Use `list person` to check.

</box>

Expand Down Expand Up @@ -565,7 +566,7 @@ You can manage the appointments through different commands, which can be seen in

**Notes:**

1. The date and time inputs are resolved "smartly" - meaning that certain incorrect dates will be allowed, e.g. `2025-02-29 12:00` will be parsed as `2024-02-28 12:00`.
1. The date and time inputs are resolved "smartly" - meaning that certain incorrect dates will be allowed, e.g. `2025-02-29 12:00` will be parsed as `2025-02-28 12:00`.

<br>

Expand Down Expand Up @@ -697,7 +698,7 @@ You can find appointments whose person names and / or dates contain any of the g

<box type="tip" light>

**Tip:** Use the `find appt` command to filter out appointments for a certain day or patient
**Tip:** Use the `find appt` command to filter out appointments for a certain day or patient.

</box>

Expand Down

0 comments on commit 9905827

Please sign in to comment.