Skip to content

Commit

Permalink
Update user guide on functionality of fav and unfav
Browse files Browse the repository at this point in the history
  • Loading branch information
tsulim committed Apr 11, 2024
1 parent aec2307 commit de40f2b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,15 @@ Examples:
![Result of deletion](images/AfterDeleteCommand1.png)
<br>**List all persons and Bernice is deleted:**<br>
![Result of deletion](images/AfterDeleteCommand2.png)

### Setting a person as favourite: `fav`

Sets the specified person from the contacts as favourite.

<div markdown="block" class="alert alert-info">:information_source: **Note:**
The displayed view in StaffConnect will reset to the default view after the `fav` command is called.
</div>

Format: `fav INDEX`

* Sets the person at the specified `INDEX`.
Expand All @@ -336,12 +341,17 @@ Examples:
* `list` followed by `fav 2` sets the 2nd person as favourite in the contacts.
* `sort p/` followed by `fav 1` sets the 1st person as favourite in the contacts in the results of the `sort` command, which should be the person with the smallest phone number.
* `find Betsy` followed by `fav 1` sets the 1st person as favourite in the results of the `find` command.

![Result of fav command](images/AfterFavCommand.png)

### Removes a person as favourite: `unfav`

Removes the specified person from the contacts as favourite.

<div markdown="block" class="alert alert-info">:information_source: **Note:**
The displayed view in StaffConnect will reset to the default view after the `unfav` command is called.
</div>

Format: `unfav INDEX`

* Removes the person at the specified `INDEX`.
Expand Down

0 comments on commit de40f2b

Please sign in to comment.