From 31da39bac3ac858faa7db4225574c42ab986519b Mon Sep 17 00:00:00 2001 From: raydenlim Date: Fri, 10 Nov 2023 18:51:38 +0800 Subject: [PATCH 1/2] Add br lines --- docs/UserGuide.md | 63 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 59 insertions(+), 4 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index d3f857f93dc..d1f02c99f98 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -33,13 +33,17 @@ If you are new to CLI, or unfamiliar with the commands F.A.K.E.J.A.R.V.I.S. offe  1 [Introduction](#introduction)       1.1 [Table of Contents](#table-of-contents)       1.2 [How to use the User Guide](#how-to-use-the-user-guide) +  2 [Graphical User Interface](#graphical-user-interface)       2.1 [Task Card](#task-card)       2.2 [Consultation Card](#consultation-card)       2.3 [Session Card](#session-card) +  3 [Quick Start](#quick-start) +  4 [Command Format](#command-format)       4.1 [Command Parameters](#command-parameters) +  5 [Features](#features)       5.1 [General Commands](#general-commands)             5.1.1 [πŸ”€ Switching between different tabs : `tab`](#switching-between-different-tabs-tab) @@ -48,6 +52,7 @@ If you are new to CLI, or unfamiliar with the commands F.A.K.E.J.A.R.V.I.S. offe             5.1.4 [πŸ’Ύ Saving the Data](#saving-the-data)             5.1.5 [πŸ› οΈ Editing the Data File](#editing-the-data-file)             5.1.6 [πŸ’Ύ Archiving Data Files `[coming in v2.0]`](#archiving-data-files-coming-in-v2-0) +       5.2 [Student Management](#student-management)             5.2.1 [πŸ“ Adding a Student: `add`](#adding-a-student-add)             5.2.2 [πŸ‘€ Listing All Students : `list`](#listing-all-students-list) @@ -55,34 +60,44 @@ If you are new to CLI, or unfamiliar with the commands F.A.K.E.J.A.R.V.I.S. offe             5.2.4 [πŸ”Ž Locating Student by Name: `find`](#locating-student-by-name-find)             5.2.5 [❌ Deleting a Student : `delete`](#deleting-a-student-delete)             5.2.6 [πŸ—‘οΈ Clearing all Entries : `clear`](#clearing-all-entries-clear) +       5.3 [Task Management](#task-management)             5.3.1 [πŸ“ Adding a Task: `addtask`](#adding-a-task-addtask)             5.3.2 [πŸ‘€ Viewing Tasks: `viewtasks`](#viewing-tasks-viewtasks)             5.3.3 [πŸ› οΈ Updating a Task's Progress: `updateprogress`](#updating-a-task-s-progress-updateprogress)             5.3.4 [❌ Deleting a Task: `deletetask`](#deleting-a-task-deletetask) +       5.4 [Attendance Management](#attendance-management)             5.4.1 [πŸ“† Taking Attendance: `takeattendance`](#taking-attendance-takeattendance)             5.4.2 [πŸ‘€ Viewing Attendance: `viewattendance`](#viewing-attendance-viewattendance) +       5.5 [Assignment Management](#assignment-management)             5.5.1 [πŸ‘€ Viewing a list of Assignments: `viewassignments`](#viewing-a-list-of-assignments-viewassignments)             5.5.2 [πŸ› οΈ Editing an Assignment Grade: `editgrade`](#editing-an-assignment-grade-editgrade)             5.5.3 [❌ Deleting an Assignment Grade: `deletegrade`](#deleting-an-assignment-grade-deletegrade)             5.5.4 [πŸ› οΈ Editing an Assignment Comment: `editcomment`](#editing-an-assignment-comment-editcomment)             5.5.5 [❌ Deleting an Assignment Comment: `deletecomment`](#deleting-an-assignment-comment-deletecomment) +       5.6 [Graded Test Management](#graded-test-management)             5.6.1 [πŸ› οΈ Editing a Graded Test Score: `editgradedtest`](#editing-a-graded-test-score-editgradedtest) +       5.7 [Session Management](#session-management)             5.7.1 [πŸ“ Creating a Session: `createsession`](#creating-a-session-createsession)             5.7.2 [πŸ› οΈ Updating a Session's Remark: `updatesessionremark`](#updating-a-session-s-remark-updatesessionremark)             5.7.3 [❌ Deleting a Session: `deletesession`](#deleting-a-session-deletesession) +       5.8 [Consultation Management](#consultation-management)             5.8.1 [πŸ“ Creating a Consultation: `createconsult`](#creating-a-consultation-createconsult)             5.8.2 [πŸ“ Adding students to a consultation: `addtoconsult`](#adding-students-to-a-consultation-addtoconsult)             5.8.3 [❌ Removing Students from a Consultation: `removefromconsult`](#removing-students-from-a-consultation-removefromconsult)             5.8.4 [❌ Deleting a Consultation: `deleteconsult`](#deleting-a-consultation-deleteconsult) +  6 [FAQ](#faq) +  7 [Known Issues](#known-issues) +  8 [Command Summary](#command-summary) +  9 [Encountering Errors](#encountering-errors) @@ -274,7 +289,7 @@ The following describes what each panel contains: Most commands given in the user guide utilise various parameters which are also known as prefixes. To add a prefix to your command, follow this format: `PREFIX/MESSAGE`. Their prefixes and their respective constraints are given in the table below. -| **Field** | **Prefix** | **Commands** | **Description** | +| **Field** | **Prefix** | **Commands** |
**Description**
| |:--------------------:|:----------:|:-----------------------------------------------------------------------------------------------------------------:|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | NAME | `n/` | `add` `edit` `addtoconsult` `createconsult` `removefromconsult` `createsession` `takeattendance` `viewattendance` | The Name of a student. | | PHONE | `p/` | `add` `edit` | The Phone number of a student. | @@ -347,6 +362,8 @@ For the list of tab indexes to use: +
+ > **Example 1:** > > **Input:** `tab 1` Switches to the student list tab. @@ -448,6 +465,8 @@ Format: `add n/NAME p/PHONE_NUMBER e/EMAIL th/TELEGRAM_HANDLE [t/TAG]…​ [gt/ +
+ > **Example 1:** > > **Input:** `add n/John Doe p/98765432 e/johnd@u.nus.edu th/johnny01 gt/RA1:0 | RA2:0 | MidTerms:0 | Finals:0 | PE:0` Adds a person called John Doe into F.A.K.E.J.A.R.V.I.S. He has 98765432 as his phone number, johnd@u.nus.edu as his email and johnny01 as his telegram handle. All his grades are also set to `0`. @@ -476,6 +495,8 @@ Format: `add n/NAME p/PHONE_NUMBER e/EMAIL th/TELEGRAM_HANDLE [t/TAG]…​ [gt/ You can list out all students in F.A.K.E.J.A.R.V.I.S. if you need to view the complete student roster. Format: `list` +
+ > **Example 1:** > > **Input:** `list` Shows all the students currently in F.A.K.E.J.A.R.V.I.S. @@ -521,7 +542,7 @@ Format: `edit STUDENT_INDEX [n/NAME] [p/PHONE] [e/EMAIL] [th/TELEGRAM_HANDLE] [t - +
> **Example 1:** > @@ -569,6 +590,7 @@ Format: `find KEYWORD…` +
> **Example 1:** > @@ -616,6 +638,8 @@ Format: `delete STUDENT_INDEX` +
+ > **Example 1:** > > **Input:** `list` followed by `delete 2` Deletes the 2nd student in F.A.K.E.J.A.R.V.I.S. @@ -645,6 +669,8 @@ You can clear all students from F.A.K.E.J.A.R.V.I.S. if you need to reset the st Format: `clear` +
+ > **Example 1:** > > **Input:** `clear` Deletes all students in F.A.K.E.J.A.R.V.I.S. @@ -736,6 +762,7 @@ Format: `viewtasks [tn/TASK_NAME] / [td/TASK_DESCRIPTION] / [d/DUE_DATE] / [tp/T +
> **Example 1:** > @@ -796,6 +823,7 @@ Format: `updateprogress TASK_INDEX tprog/NEW_PROGRESS` +
> **Example 1:** > @@ -843,6 +871,7 @@ Format: `deletetask TASK_INDEX` +
> **Example 1:** > @@ -902,6 +931,8 @@ Format: `takeattendance n/STUDENT_NAME s/SESSION_NUMBER ap/PRESENCE` +
+ > **Example 1:** > > **Input:** `takeattendance n/Alex Yeoh s/5 ap/present` Marks Alex Yeoh as present on the 5th session. @@ -948,6 +979,7 @@ Format: `viewattendance [n/STUDENT_NAME]…` +
> **Example 1:** > @@ -1013,6 +1045,8 @@ Format: `viewassignments STUDENT_INDEX` +
+ > **Example 1:** > > **Input:** `viewassignments 1` Shows a list of the 1st student's assignment names, grades and comments. @@ -1062,6 +1096,8 @@ Format: `editgrade STUDENT_INDEX as/ASSIGNMENT g/GRADE` +
+ > **Example 1:** > > **Input:** `editgrade 1 as/Functional Expressionism g/500` Edits the grade of the 1st student's Functional Expressionism assignment to 500. @@ -1110,6 +1146,7 @@ Format: `deletegrade STUDENT_INDEX as/ASSIGNMENT` +
> **Example 1:** > @@ -1161,6 +1198,8 @@ Format: `editcomment STUDENT_INDEX as/ASSIGNMENT c/COMMENT` +
+ > **Example 1:** > > **Input:** `editcomment 1 as/Functional Expressionism c/Decent` Changes the comment on the 1st student's Functional Expressionism assignment to β€œDecent”. @@ -1211,6 +1250,8 @@ Format: `deletecomment STUDENT_INDEX as/ASSIGNMENT` +
+ > **Example 1:** > > **Input:** `deletecomment 1 as/Functional Expressionism` Deletes the comment on the 1st student's Functional Expressionism assignment if it exists. @@ -1273,6 +1314,7 @@ Format: `editgradedtest INDEX [ra1/READING_ASSESSMENT_1] [ra2/READING_ASSESSMENT +
> **Example 1:** > @@ -1331,6 +1373,8 @@ Format: `createsession s/SESSION_NUMBER n/STUDENT_NAME…` +
+ > **Example 1:** > > **Input:** `createsession s/3 n/Alex Yeoh` Creates a session, which has session number 3 with Alex Yeoh. @@ -1378,6 +1422,8 @@ Format: `updatesessionremark s/SESSION_NUMBER r/REMARK` +
+ > **Example 1:** > > **Input:** `updatesessionremark s/2 r/Teach Essence of Recursion` Updates the remark for session number 2 to "Teach Essence of Recursion". @@ -1424,6 +1470,7 @@ Format: `deletesession s/SESSION_NUMBER` +
> **Example 1:** > @@ -1479,6 +1526,8 @@ Format: `createconsult d/DATE tt/TIME n/STUDENT_NAME…` +
+ > **Example 1:** > > **Input:** `createconsult d/30/10/2023 tt/12:30 n/Alex Yeoh` Creates a consultation for Alex Yeoh on 2023-10-30 12:30. @@ -1527,6 +1576,8 @@ Format: `addtoconsult CONSULTATION_INDEX n/STUDENT_NAME…` +
+ > **Example 1:** > > **Input:** `addtoconsult 2 n/Betsy Crower` Adds Betsy Crower to the 2nd consultation on the list. @@ -1575,6 +1626,8 @@ Format: `removefromconsult CONSULTATION_INDEX n/STUDENT_NAME…` +
+ > **Example 1:** > > **Input:** `removefromconsult 2 n/Betsy Crower` Removes Betsy Crower from the 2nd consultation in the list. @@ -1611,6 +1664,8 @@ Format: `deleteconsult CONSULTATION_INDEX` +
+ > **Example 1:** > > **Input:** `deleteconsult 1` Deletes the 1st consultation in the consultation list. @@ -1652,7 +1707,7 @@ Format: `deleteconsult CONSULTATION_INDEX` ## Command summary -| **Action** | **Format** | **Examples** | +| **Action** | **Format** |
**Examples**
| |:-------------------------:|:--------------------------------------------------------------------------------------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------| | **Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL th/TELEGRAM_HANDLE [t/TAG]…​ [gt/GRADED_TESTS]` | `add n/James Ho p/12345678 e/jamesho@u.nus.edu th/james03 t/friend t/colleague gt/default` | | **Clear** | `clear` | `clear` | @@ -1693,7 +1748,7 @@ Format: `deleteconsult CONSULTATION_INDEX` ## Encountering Errors This section outlines a list of error messages that you may encounter during your usage of the application. It aims to help you better understand the messages that you may receive and what it means to you. -| Error | What it means | How to resolve | +| **Error** |
**What it means**
|
**How to resolve**
| |:-------------------------------------------------------------------------------:|-----------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------| | **Unknown command** | You have supplied a command that was unrecognisable.
E.g., Command word was given in upper case. | 1. Double-check the spelling and case of the command.
2. Refer to the [features](#features) section above for the correct commands. | | **Invalid command format!** | You have supplied a command with the incorrect format.
E.g., Command is missing the compulsory parameters. | 1. Double-check the command format and the parameters required.
2. Refer to the [features](#features) section above for the correct command formats. | From b43ee911b502af878d556695d7ea9851dad0c3d3 Mon Sep 17 00:00:00 2001 From: raydenlim Date: Fri, 10 Nov 2023 20:12:38 +0800 Subject: [PATCH 2/2] Add br --- docs/UserGuide.md | 3 +++ docs/stylesheets/main.css | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index d1f02c99f98..a5f4760f7c0 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -246,6 +246,7 @@ The following describes what each panel contains: 6. Refer to the [Features](#features) below for details of each command and the [Command Format](#command-format) for the specifications of each command. +
[Back to Table of Contents](#table-of-contents) @@ -427,6 +428,8 @@ If your changes to the data file makes its format invalid, F.A.K.E.J.A.R.V.I.S. _Stay tuned for more features and enhancements in `v2.0`, including archiving data files and more!_ +
+ [Back to Table of Contents](#table-of-contents)
diff --git a/docs/stylesheets/main.css b/docs/stylesheets/main.css index 1f1268ae8a8..e75bfd61c9b 100644 --- a/docs/stylesheets/main.css +++ b/docs/stylesheets/main.css @@ -136,7 +136,7 @@ mark { } table { - width: 60%; + width: auto; margin-left: auto; margin-right: auto; }