Skip to content

Commit 73f2a39

Browse files
authored
Merge pull request #163 from rionshocker/branch-update-ui
Fix user guide
2 parents cb0ac34 + e943886 commit 73f2a39

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

docs/UserGuide.md

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ that you might not remember and organise your tasks neatly.
8585

8686
## Features
8787

88-
<box type="info" seamless></box>
88+
<box type="info" seamless>
8989

9090
**Notes about the command format:**<br>
9191

@@ -188,20 +188,19 @@ Format: `find_contact KEYWORD [MORE_KEYWORDS]`
188188
Examples:
189189
* `find_contact John` returns `john` and `John Doe`.
190190
* `find_contact alex david` returns `Alex Yeoh`, `David Li`.
191+
* `find_contact doe` after `find_contact john` will return `John Doe` and not `john` who was originally in the result.
191192
<br><br>
192193

193194
![result for 'find_contact alex david'](images/findAlexDavidResult.png)
194195

195-
* `find_contacts doe` after `find_contacts john` will return `John Doe` and not `john` who was originally in the result.
196-
197196
### Adding a tag : `add_tag`
198197

199198
Adds a tag with the specified name to JobFestGo.
200199

201200
Format: `add_tag t/TAG_NAME`
202201

203202
* The tag name **must not already exist** in JobFestGo.
204-
* The tag name` must be alphanumeric, i.e, should consist only of alphabets and numbers, and no other characters.
203+
* The tag name must be alphanumeric, i.e, should consist only of alphabets and numbers, and no other characters.
205204

206205
Examples:
207206
* `add_tag t/vendor`
@@ -220,7 +219,7 @@ Deletes the specified tag name from JobFestGo.
220219

221220
Format: `delete_tag t/TAG_NAME`
222221

223-
* The tag name **must be an existing tag** vendor, personal, customer, …​
222+
* The tag name **must be an existing tag**. e.g. vendor, personal, customer, …​
224223

225224
Examples:
226225
* `delete_tag` followed by `t/vendor` deletes the tag: `vendor` in JobFestGo.
@@ -231,17 +230,17 @@ Displays contacts tagged by any of the specified tags.
231230

232231
Format: `filter_by_tag TAG_NAME [MORE_TAG_NAMES]`
233232

234-
* Tag names are case-insensitive. e.g `Vendor` will match `vendor`.
233+
* Tag names are case-insensitive. e.g. `Vendor` will match `vendor`.
235234
* Only full words will be matched e.g. `ven` will not match `vendor`.
236-
* Contacts tagged by at least one of the given tags will be returned (i.e. `OR` search).
235+
* Contacts tagged by at least one of the given tags will be returned (i.e. `OR` search).
237236
e.g. `vendor customer` will return all contacts tagged by `vendor` and
238237
all contacts tagged by `customer`.
239-
* The contacts found will be based on the list that is currently displayed e.g If the current event that is selected is not linked to `Hans` who is tagged by `vendor`, `filter_by_tags vendor` will not display `Hans` in the result.
238+
* The contacts found will be based on the list that is currently displayed e.g. If the current event that is selected is not linked to `Hans` who is tagged by `vendor`, `filter_by_tags vendor` will not display `Hans` in the result.
240239

241240
Examples:
242241
* `filter_by_tag vendor` returns all contacts tagged by the tag: vendor in JobFestGo.
243-
* `filter_by_tag vendor customer` returns all contacts tagged by the tag: vendor and
244-
all contacts tagged by the tag: customer in JobFestGo. The image below illustrates the result of this command.<br><br>
242+
* `filter_by_tag vendor customer` returns all contacts tagged by the tag: `vendor` and
243+
all contacts tagged by the tag: `customer` in JobFestGo. The image below illustrates the result of this command.<br><br>
245244

246245
![result for 'filter_by_tag vendors customers'](images/filterByRoleResult.png)
247246

@@ -276,7 +275,7 @@ Format: `delete_event INDEX`
276275

277276
* Deletes the event specified at the `INDEX` from the list of events of JobFestGo.
278277
* The index refers to the index number shown in the displayed event list.
279-
* The index` **must be a positive integer** 1, 2, 3, …
278+
* The index **must be a positive integer** 1, 2, 3, …
280279

281280
Examples:
282281
* `delete_event` followed by `1` deletes the 1st event in the displayed event list.
@@ -345,14 +344,6 @@ Format: `add_task td/TASK_DESCRIPTION d/DEADLINE ev/EVENT_NAME`
345344
Examples:
346345
* `add_task td/Book Venue d/2023-12-23 ev/NUS Career Fair 2023` adds a `Book Venue` by `2023-12-23` task to the event `NUS Career Fair 2023`.
347346

348-
### Viewing help : `help`
349-
350-
Shows a message explaining how to access the help page.
351-
352-
![help message](images/helpMessage.png)
353-
354-
Format: `help`
355-
356347
### Deleting a task: `delete_task`
357348

358349
Deletes the task specified by the task description from its associated event in JobFestGo.
@@ -382,6 +373,7 @@ Format: `mark_task td/TASK_DESCRIPTION ev/EVENT_NAME`
382373
will perform the same operation.
383374
* Errors will be raised if the specified event does not exist or the event does not have the specified task.
384375
If such situation happens, you may double-check the task description and the event name and reenter valid inputs.
376+
* Errors will also be raised if the specified task has already been marked as completed.
385377

386378
Examples:
387379
* `mark_task td/Book Venue ev/NUS Career Fair 2023` marks the task `Book Venue` from the task list of the event `NUS Career Fair 2023` as completed.
@@ -394,10 +386,19 @@ Format: `unmark_task td/TASK_DESCRIPTION ev/EVENT_NAME`
394386

395387
* It works exactly the same way as `mark_task` except for the fact that `unmark_task` marks a completed task as not completed.
396388
* You may `unmark_task` a task when you realize that you have not completed the task but have wrongly marked it as completed.
389+
* Errors will be raised if the specified task has already been marked as completed.
397390

398391
Examples:
399392
* `unmark_task td/Book Venue ev/NUS Career Fair 2023` marks the task `Book Venue` from the task list of the event `NUS Career Fair 2023` as not completed.
400393

394+
### Viewing help : `help`
395+
396+
Shows a message explaining how to access the help page.
397+
398+
![help message](images/helpMessage.png)
399+
400+
Format: `help`
401+
401402
### Clearing all entries : `clear`
402403

403404
Clears all entries from JobFestGo.
@@ -424,7 +425,7 @@ JobFestGo data are saved in the hard disk automatically after any command that c
424425

425426
JobFestGo data are saved automatically as a JSON file `[JAR file location]/data/jobfestgo.json`. Advanced users are welcome to update data directly by editing that data file.
426427

427-
<box type="warning" seamless></box>
428+
<box type="warning" seamless>
428429

429430
**Caution:**
430431
If your changes to the data file makes its format invalid, JobFestGo will discard all data and start with an empty data file at the next run. Hence, it is recommended to take a backup of the file before editing it.
@@ -450,7 +451,7 @@ _Details coming soon ..._
450451
<br>
451452
1. Open the command prompt
452453
1. Navigate to the directory where the JAR file is located using cd [JAR file location]
453-
1. Type java -jar jobfestgo.jar and press enter
454+
1. Type `java -jar jobfestgo.jar` and press enter
454455
1. JobFestGo should launch
455456

456457
**Q**: How can I check my Java version?<br>
@@ -469,25 +470,25 @@ can download it [here](https://www.oracle.com/java/technologies/downloads/#java1
469470

470471
Action | Format, Examples
471472
-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------
472-
**Add Contact** | `add_contact n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…​` <br> e.g. `add_contact n/James Ho p/22224444 e/[email protected] a/123, Clementi Rd, 12346658 t/friend t/colleague`
473+
**Add Contact** | `add_contact n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…​` <br> e.g. `add_contact n/James Ho p/22224444 e/[email protected] a/123, Clementi Rd, 12346658 t/client t/vendor`
473474
**Delete Contact** | `delete_contact INDEX`<br> e.g. `delete_contact 3`
474475
**Edit Contact** | `edit_contact INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]…​`<br> e.g. `edit_contact 2 n/James Lee e/[email protected]`
475-
**Find contact** | `find_contact KEYWORD [MORE_KEYWORDS]`<br> e.g. `find_contact James Jake`
476+
**Find Contact** | `find_contact KEYWORD [MORE_KEYWORDS]`<br> e.g. `find_contact James Jake`
476477
**View Contacts** | `view_contacts`
477478
**Add Tag** | `add_tag t/TAG_NAME` <br> e.g. `add_tag t/vendor`
478479
**Delete Tag** | `delete_tag t/TAG_NAME` <br> e.g. `delete_tag t/vendor`
479-
**Filter by tag** | `filter_by_tag TAG_NAME [MORE_TAGNAMESS]` <br> e.g. `filter_by_tag vendor`
480+
**Filter by tag** | `filter_by_tag TAG_NAME [MORE_TAGNAMES]` <br> e.g. `filter_by_tag vendor`
480481
**View Tags** | `view_tags`
481482
**Add Event** | `add_event n/NAME d/DATE a/ADDRESS` <br> e.g. `add_event n/NUS Career Fest 2023 d/2023-12-23 a/NUS`
482483
**Delete Event** | `delete_event INDEX` <br> e.g. `delete_event 1`
483-
**Link** | `link ev/EVENT_NAME C/CONTACT [C/MORE_CONTACTS]` <br> e.g. `link ev/NUS Career Fest c/Alice Black`
484-
**Unlink** | `unlink ev/EVENT_NAME C/CONTACT [C/MORE_CONTACTS]` <br> e.g. `unlink ev/NUS Career Fest c/Alice Black`
484+
**Link** | `link ev/EVENT_NAME C/CONTACT_NAME [C/MORE_CONTACT_NAMES]` <br> e.g. `link ev/NUS Career Fest c/Alice Black`
485+
**Unlink** | `unlink ev/EVENT_NAME C/CONTACT_NAME [C/MORE_CONTACT_NAMES]` <br> e.g. `unlink ev/NUS Career Fest c/Alice Black`
485486
**Select Event** | `select_event INDEX` <br> e.g. `select_event 1`
486487
**View Events** | `view_events`
487-
**Add Task** | `add_task td/TASK_DESCRIPTION d/DEADLINE ev/EVENT_NAME` <br> e.g. `add_task n/Book Venue d/2023-12-23 ev/NUS Career Fair 2023`
488-
**Delete Task** | `delete_task td/TASK_DESCRIPTION ev/EVENT_NAME` <br> e.g. `delete_task n/Book Venue ev/NUS Career Fair 2023`
489-
**Mark Task** | `mark_task td/TASK_DESCRIPTION ev/EVENT_NAME` <br> e.g. `mark_task n/Book Venue ev/NUS Career Fair 2023`
490-
**Unmark Task** | `unmark_task td/TASK_DESCRIPTION ev/EVENT_NAME` <br> e.g. `unmark_task n/Book Venue ev/NUS Career Fair 2023`
488+
**Add Task** | `add_task td/TASK_DESCRIPTION d/DEADLINE ev/EVENT_NAME` <br> e.g. `add_task td/Book Venue d/2023-12-23 ev/NUS Career Fair 2023`
489+
**Delete Task** | `delete_task td/TASK_DESCRIPTION ev/EVENT_NAME` <br> e.g. `delete_task td/Book Venue ev/NUS Career Fair 2023`
490+
**Mark Task** | `mark_task td/TASK_DESCRIPTION ev/EVENT_NAME` <br> e.g. `mark_task td/Book Venue ev/NUS Career Fair 2023`
491+
**Unmark Task** | `unmark_task td/TASK_DESCRIPTION ev/EVENT_NAME` <br> e.g. `unmark_task td/Book Venue ev/NUS Career Fair 2023`
491492
**Clear** | `clear`
492493
**Help** | `help`
493494
**Home** | `home`

0 commit comments

Comments
 (0)