Skip to content

Commit

Permalink
Modify formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tsulim committed Apr 13, 2024
1 parent 34849db commit 5cd5d85
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,33 +471,50 @@ Data Field | Valid Values
`phone` | `123`, `98765432`
`email` | `[email protected]`,
`module` | `GESS1025`, `HSI1000`, `CS2103T`
`faculty` | Refer to only the `Faculty` column in [Valid Faculty Values](#Valid-Faculty-Values) table below
`faculty` | Refer to **only the `Faculty` column** in [Valid Faculty Values](#valid-faculty-values) table below
`venue` | `COM4-02-33`, `LT21`, `Kent Ridge Vale, Tulip Street, #12-34`
`tags` | `professor`, `Number1TA`
`availabilities` | `TUESDAY 12:00 13:00`, `WEDNESDAY 12:00 13:00`
`meetings` | Refer to the [Valid Data Values in meetings](#Valid-Data-Values-in-meetings) table
`meetings` | Refer to the [Valid Data Values in meetings](#valid-data-values-in-meetings) table
`favourite` | `Favourite`, `Not favourite`

#### Valid Data Values in `meetings`
#### Valid Data Values in meetings

Meeting Data Fields | Valid Values
--------|------
description | `Meeting 1`, `Finals`
date | `30/1/2024 12:12`, `2002-11-15 19:00`, `1-12-2022 9:00`, `2024/1/1 0000`

<div markdown="span" class="alert alert-primary">:exclamation: **Important:**<br>
<div markdown="span" class="alert alert-primary">

**:exclamation: Important:**<br>
Only `module`, `availabilities` and meeting `date` has additional constraints for their data values.<br>

* The values of `module` and `availabilities` must be in capital letters.<br>

* For example, `CS2103T` is a valid value for `module` whereas `cs2103t` is invalid.

* The day in `availabilities` must be in their full spelling.

* For example, `MONDAY` is valid and `MON` is invalid.

* The value of `favourite` data field is case-sensitive.

* For example, `Not favourite` is valid and `not favourite` and `not FAVOURITE` is invalid.

</div>

Example:
<div markdown="block" class="alert alert-info">

**:information_source: Notes:**<br>

* The displayed view in StaffConnect will reset to the default view after the `edit` command is called.

* The changes made are displayed in the result display above the command box.
</div>


#### Example:
```json
{
"persons" : [ {
Expand Down

0 comments on commit 5cd5d85

Please sign in to comment.