By: CS2103T-W12-2 Since: Feb 2020 Licence: MIT

1. Introduction

1.1. About TeaPet

Greetings, and welcome to TeaPet!

Looking for an all-in-one solution for your teaching needs? Look no further!

TeaPet is an integrated platform fully customized for Form Teachers in Primary, Secondary and Tertiary institutions, with the aim of helping you manage your classroom effectively. The application allows you to keep track of your students' personal particulars, daily administration, behavioural notes and academic progress with a few simple commands. Furthermore, TeaPet also comes with an in-built personal scheduler to help with your weekly planning needs. It looks like you’ll never have to worry about missing your next coffee appointment anymore!

All your important information is comfortably compartmentalized on our simple and clean Graphical User Interface (GUI). We are optimized for users who are very comfortable working on the Command Line Interface (CLI).

Are you are looking for a way to easily manage your administrative classroom matters and have quick fingers? If so, then TeaPet is definitely for you!

Explore this User Guide to find out more. Enjoy!

The aim of this User Guide is to provide you with all the information you need to fully utilise TeaPet. We understand the pains of using a Command Line Interface (CLI) program and have bested our efforts into ensuring a very readable guide on how to use our program.

If you need help setting up TeaPet, you can go to the Section 2, “Quick Start [Done By Gerren Seow]” section.

If you want to find out more about TeaPet’s features and commands, you can go to the Section 4, “Features” section.

If you need an overview regarding the usage of TeaPet’s commands, head on to the Section 5, “Command Summary” section.

Take note of the following symbols and formatting used in this document:

Table 1. A Summary of symbols used in our User Guide.

Symbol/
Format

Meaning

Enter

This symbol indicates the enter button on the keyboard.

command

A grey highlight indicates that this is a command that can be executed by the program. Some [command] will have brackets around them, this indicates that the command is optional.

This symbol indicates notes.
This symbol indicates warnings.
This symbol indicates tips.

2. Quick Start [Done By Gerren Seow]

This section will serve to explain the various components of the TeaPet, which you can interact with. You can also follow our step-by-step guide on how to install the application into your Computer. Quickly now, let’s get started!

2.1. TeaPet’s Layout

TeaPet’s User Interface can be divided into 5 main components, each performing a specific functionality.

TeaPetLayout
Figure 1. User Interface of TeaPet
  1. Feature Tabs
    These tabs display some of TeaPet features so that you tell easily which section of TeaPet you are in. There is a drop-down menu in each tab to select and perform various feature functionality, if you intend to use your mouse instead of the command line to access the features.

  2. Main Panel
    The main panel is the display window of Student List, Student Administration, Student Academics and Personal Schedule information. Depending on which feature you are currently using, the main panel will display corresponding information.

  3. Notes Panel
    The notes panel is specifically used to displays all the notes stored in TeaPet.

  4. Command Box
    The command box is where you will be entering commands into TeaPet.

  5. Result Display Box
    The result display box is where TeaPet’s server replies to every command input. Any success, error or information messages will be displayed in this box.

2.2. Installation

The details below indicate the step-by-step process on getting started with TeaPet.

  1. The Computer you are using should either be of Windows or Mac operating system.

  2. Ensure you have Java 11 or above installed in your Computer.

  3. Download the latest TeaPet.jar here.

  4. Copy the TeaPet.jar file to the folder you want to use as the root directory for TeaPet.

  5. Double-click the file to start the app. The Graphical User Interface (GUI) should appear in a matter of seconds.

    Ui
    Figure 2. Home View of TeaPet
  6. Type the command in the command box and press Enter to execute it.
    For example, typing help and pressing Enter will open the help window.

  7. Some example commands you can try:

    • student add name/Kelvin Klein : adds a contact named Kelvin Klein to the class List

    • student delete 3 : deletes the 3rd student shown in the current list of students

    • exit : exits the app

  8. Refer to Section 4, “Features” for details of each command.

If you have any questions, please check out our Section 7, “FAQ [Done by Zhang Yuanyu]” section.

3. Overview of Features

This section will provide you a brief overview of TeaPet’s cool features and functionality for you to better familiarise yourself with TeaPet.

  1. Manage your students easily

    1. Include student’s particulars. e.g. address, contact number, next of kin (NOK).

    2. Include administrative details of the students. e.g. attendance, temperature.

  2. Manage your class academic progress easily

    1. Include students' grades for homework and examinations.

    2. Easy to track progress using helpful tools. e.g. tables, export tools.

  3. Add Notes to act as lightweight, digital reminders easily

    1. Include reminders for yourself to help you remember important information.

    2. Search keywords in your notes.

    3. Save the notes as administrative or behavioural.

  4. Plan your schedule easily

    1. Create and manage your events with a single calendar.

    2. View calendar at a glance.

  5. Data is saved onto your hard disk automatically

    1. Any changes made will be saved onto your computer so you don’t have to worry about data being lost.

4. Features

This section aims to provide you with in-depth details of TeaPet’s main features, as well as how to get started with them.

TeaPet General Command Syntax:

Feature + Feature Function + Prefix/Field
Examples of Feature: student, notes, academics
Examples of Feature Function: add, edit, export
Examples of Prefix/Field: name/Kelvin Klein, phone/9000 8000, att/Present
Example of a Valid Command: student add name/Kelvin Klein
Most commands have multiple Prefix/Field combinations to fill.
Prefix/Field combinations with enclosing [] braces refers to it being OPTIONAL.

4.1. Student Particulars [Done by Simon Lam]

TeaPet records down personal particulars of students such as address, contact number and Next of Kin (NOK) particulars. Thereafter, you are able to view, update or delete those information of specific students when deemed necessary.

4.1.1. Display default student view: student

TeaPet syncs the images of students found in the image folder into the student list. More information about updating student images can be found here. TeaPet then displays a summarised list of the student details.

Format: student

Expected Outcome:

The student list now displays DEFAULT details.
[HELP ON STUDENT COMMANDS]
1. Display detailed list: student detailed
2. Add student: student add name/NAME [phone/PHONE] [email/EMAIL] [adr/ADDRESS] [temp/TEMPERATURE] [att/ATTENDANCE] [nok/NAME-RELATIONSHIP-PHONE] [tag/TAG]
3. Edit student: student edit INDEX [name/NAME] [phone/PHONE] [email/EMAIL] [adr/ADDRESS] [temp/TEMPERATURE] [att/ATTENDANCE] [nok/NAME-RELATIONSHIP-PHONE] [tag/TAG]
4. Delete student: student delete INDEX
5. Find student: student find NAME
add student
Figure 3. After using student command

4.1.2. Display detailed student view: student detailed

Displays a detailed version of the class list with all information.

Format: student detailed

Expected Outcome:

The student list now displays ALL details.
detailed display
Figure 4. After using student detailed command

4.1.3. Add Student: add

Adds a student into the student list.

Format:

student add name/NAME [phone/PHONE] [email/EMAIL] [adr/ADDRESS] [temp/TEMPERATURE] [att/ATTENDANCE] [nok/NAME-RELATIONSHIP-PHONE] [tag/TAG]
  • Adds a new student with the given attributes.

  • The student name cannot be empty.

The address of student is not restricted as it can be subjective to the student and teacher.
Next-of-kin relationships allowed: Father, Mother, Sister, Brother, Grandfather, Grandmother

Example:

  • student add name/Jim phone/90045722 email/jim@example.com adr/Bishan St 13 Blk 154 #08-18 tag/monitor nok/James-Father-91234567 temp/36.6 att/Present
    Adds a student named Jim into the student list along with his details.

Expected Outcome:

New student added: Jim Phone: 90045722 Email: jim@example.com Address: Bishan St 13 Blk 154 #08-18 Temperature: 36.6 Attendance: Present NextOfKin: James-Father-91234567 Tags: [monitor]
add student jim
Figure 5. After using student add command

4.1.4. Edit Student: edit

Edits personal details of students.

Format:

student edit INDEX [name/NAME] [phone/PHONE] [email/EMAIL] [adr/ADDRESS] [temp/TEMPERATURE] [att/ATTENDANCE] [nok/NAME-RELATIONSHIP-PHONE] [tag/TAG]

Example:

  • student edit 1 phone/90023413
    Edits the student phone number in index 1 to a new phone number.

Expected Outcome:

Edited Student: Simon Lam Phone: 90023413 Email: simonlam@example.com Address: Blk 30 Geylang Street 29,
#06-40 Temperature: 36.5 Attendance: Sick Remark:  Tags: [Sheares]

4.1.5. Delete Student: delete

Deletes the student and all his personal details from the student list.

Format:

student delete INDEX

Example:

  • student delete 1 Deletes the student at index 1.

Expected Outcome:

Deleted Student: Simon Lam Phone: 90023413 Email: simonlam@example.com Address: Blk 30 Geylang Street 29, #06-40 Temperature: 36.5 Attendance: Sick Remark:  Tags: [Sheares]

4.1.6. Clear Student List: clear

Clears all data from the student list.

Format:

student clear

Example:

`student clear` Deletes the entire student list

Expected Outcome:

Student list has been cleared!

4.1.7. Find Student: find

Finds the student information from the student list and displays it.

Format:

student find NAME

Example:

  • student find Simon Finds the information a student named Simon.

Expected Outcome:

1 students listed!

4.2. Student Administration [Done by Zhang Yuanyu]

TeaPet’s Class Administration feature is used to keep track of administrative details such as daily attendance and temperature recordings.

4.2.1. Displaying of the class’s last updated administrative information: admin

Shows the last updated administrative information in the student list.

Format:

admin

Expected Outcome:

The Student list now displays last updated ADMIN details.
[HELP ON ADMIN COMMANDS]
1. Save date: admin save
2. Show dates: admin dates
3. Delete date: admin delete YYYY-MM-DD
4. Fetch date: admin fetch YYYY-MM-DD
adminDisplay
Figure 6. After using admin command

4.2.2. Displaying of the dates with administrative information of the class: admin dates

Shows a list of dates that contains administrative information of the class.

Format:

admin dates

Expected Outcome:

List of dates with admin details of the class displayed!
adminDates
Figure 7. After using admin dates command

4.2.3. Fetching of administrative information of the class at the specified date: admin fetch

Retrieves the administrative information of the class at the date provided.

Format:

admin fetch DATE
Date should be written in YYYY-MM-DD format. If date provided is not in data base, an error message will be shown.

Example:

  • admin fetch 2020-04-02
    Retrieves the administrative information of the class at on April 2 2020.

Expected Outcome:

Class admin details for Apr 2 2020 listed!

4.2.4. Saves today’s administrative information of the class: admin save

Saves today’s administrative information of the class.

Format:

admin save
  • Takes a screenshot of the most updated class administrative details and saves it as today’s date.

  • If the class administrative information has been saved before earlier on the same day, saving it again will result duplicates, resulting in an error and an error message.

  • If there are changes to the class administrative information today and you wish to save it again, you would have to delete today’s date from the list of dates and save it again.

  • Old dates and their administrative details cannot be edited to prevent mutation of data.

Example:

  • admin save: Saves the administrative information of the class with today’s date, taking April 8 2020 as an example.

Expected Outcome:

This admin list has been saved for Apr 8 2020

4.2.5. Deleting of administrative information of the class at the specified date: admin delete

Deletes the administrative information of the class at the specified date.

Format:

admin delete DATE
Date should be written in YYYY-MM-DD format. If date provided is not in data base, an error message will be shown.

Example:

  • admin delete 2020-04-08: Deletes the administrative information of the class at on April 8 2020.

Expected Outcome:

Admin list has been deleted for Apr 8 2020

4.3. Student Academics [Done by Lee Hui Ting]

TeaPet’s Class Progress Tracker is able to keep tabs on the class' academic progress. You will be able to store data of every student’s subject grades with this feature. Thereafter, there will be a csv file available for export displaying the progress of individual students as well as the entire class.

4.3.1. Display all Assessments and Academics Help: academics

Shows all assessments in the academics list and a guide for academic commands.

Format:

academics

Expected Outcome:

The Academics tracks all your assessments and student submissions.
[HELP ON ACADEMICS COMMANDS]
1. Add assessment: academics add desc/ASSESSMENT_DESCRIPTION type/TYPE date/DATE
2. Edit assessment: academics edit INDEX [desc/ASSESSMENT_DESCRIPTION] [type/TYPE] [date/DATE]
3. Delete assessment: academics delete INDEX
4. Submit assessment: academics submit INDEX [stu/STUDENT_NAME]...
5. Mark assessment: academics mark INDEX [stu/STUDENT_NAME-SCORE]...
6. Filter assessment BY TYPE: academics ASSESSMENT_TYPE (only homework or exam)
7. View academics report: academics report
8. Export academics report: academics export
Type the following commands for more info!
academics view
Figure 8. After using the academics command

4.3.2. Add Assessment: academics add

Adds an assessment into the academics list.

Format:

academics add desc/ASSESSMENT_DESCRIPTION type/TYPE date/DATE

Adds a new assessment with the given attributes.

The assessment description cannot be empty. Date should be written in YYYY-MM-DD format.

Example:

  • academics add desc/Math Graphs Homework type/homework date/2020-05-02
    Adds an assessment "Math Graphs Homework" into the academics list along with its deadline.

Expected Outcome:

Added assessment:
Homework: Math Graphs Homework
Due by: 2020-05-02

4.3.3. Edit Assessment: academics edit

Edits an assessment from the academics list.

Format:

academics edit INDEX [desc/ASSESSMENT_DESCRIPTION] [type/TYPE] [date/DATE]

Edits the assessment with the given attributes.

The assessment description cannot be empty. Date should be written in YYYY-MM-DD format.

Example:

  • academics edit 4 desc/Chemistry Compounds Assignment
    Edits assessment in the academics list with the new description "Chemistry Compounds Assignment".

Expected Outcome:

Edited Assessment:
Homework: Chemistry Compounds Assignment
Due by: 2020-04-30

4.3.4. Delete Assessment: academics delete

Deletes an assessment from the academics list.

Format:

academics delete INDEX
  • Deletes the assessment with at the given index.

    Index should be a positive integer and be a valid index.

Example:

  • academics delete 5 Deletes the student at index 5.

Expected Outcome:

Deleted Assessment:
Homework: Chemistry Compounds Assignment
Due by: 2020-04-30

4.3.5. Submit Assessment: academics submit

Submits student(s) work for a specific assessment.

Format:

academics submit INDEX [stu/STUDENT_NAME]...

Submits work for the assessment with at the given index.

Index should be a positive integer and be a valid index.
Student whose work has already been submitted cannot be submitted again.

Example:

  • academics submit 3 stu/Freddy Zhang
    Submits "Freddy Zhang" for the assessment at index 3.

  • academics submit 3 stu/Freddy Zhang stu/Gerren Seow
    Submits "Freddy Zhang" and "Gerren Seow" for the assessment at index 3.

Expected Outcome:

Academics submitted following submissions:
Freddy Zhang
Gerren Seow

4.3.6. Mark Assessment: academics mark

Marks student(s) work for a specific assessment.

Format:

academics mark INDEX [stu/STUDENT_NAME-SCORE]...

Marks work for the assessment with at the given index.

Index should be a positive integer and be a valid index.
Only the submissions of students whose work has already been submitted can be marked.

Example:

  • academics mark 3 stu/Freddy Zhang
    Marks "Freddy Zhang" for the assessment at index 3.

  • academics mark 3 stu/Freddy Zhang-90 stu/Gerren Seow-80
    Marks "Freddy Zhang" and "Gerren Seow" for the assessment at index 3.

Expected Outcome:

Academics marked following submissions:
Gerren Seow: 80
Freddy Zhang: 90

4.3.7. Filter Assessments by type: academics homework/exam

Filters assessment list by either homework or exam.

Format:

academics ASSESSMENT_TYPE

Example:

  • academics homework

Expected Outcome:

Academics now displays all HOMEWORK assessments

Example:

  • academics exam

Expected Outcome:

Academics now displays all EXAM assessments
academics exam view
Figure 9. After using the academics exam command

4.3.8. View Academics Report: academics report

Generates an academic report for each assessment.

Format:

academics report

Expected Outcome:

Academics now displays the report of each assessment.
academics report view
Figure 10. After using the academics report command

4.3.9. Export Academics Report: academics export

Exports the academic report into a csv file.

Format:

academics export
  • Academics report will be exported to a .csv file format, which is located in the data folder in the same directory. The file is named "studentAcademics.csv".

Expected Outcome:

Academics are exported to studentAcademics.csv in the data folder.

4.4. Notes [Done by Gerren Seow]

TeaPet’s Notes feature performs like the ones we all use in our everyday lives, aiming to help form teachers keep track of important information of their students spontaneously. This feature allows you to label each note with different priority to better manage tasks. Every note is specifically tagged to a student, such you will be able to better keep track of the stakeholder and information.

4.4.1. Display all Notes and Help notes

Shows all notes currently stored in TeaPet, and displays help on the usage of this feature.

Format:

notes

Expected Outcome:

The Column on the right displays all your notes.
[HELP ON NOTES COMMANDS]
1. Display all Notes: notes
2. Add Note: notes add name/STUDENT_NAME cont/CONTENT pr/PRIORITY
3. Edit Note: notes edit INDEX [name/UPDATED_STUDENT_NAME] [cont/UPDATED_CONTENT] [pr/UPDATED_PRIORITY]
4. Delete Note: notes delete INDEX
5. Filter Search Notes: notes filter KEYWORD(S)
6. Export Notes: notes export
notesDisplay
Figure 11. After using the notes command

4.4.2. Add Notes notes add

Adds a note into TeaPet.

Format:

notes add name/STUDENT_NAME cont/CONTENT pr/PRIORITY
  • Create and add a new note with the following fields.

  • An automatic timestamp is generated for each note added.

None of the fields can be empty. Priority must either be LOW, MEDIUM or HIGH.
Student’s name (case-sensitive) indicated in the name field must be already present in the class-list. Please refer to Section 4.1.3, "Add Student" should you need help on adding a student.

Example:

  • notes add name/Freddy Zhang cont/Reminder to inform his parents about Freddy’s exemplary behaviour. pr/LOW
    Adds a note for student "Freddy Zhang" into the list of notes, together with content and priority.

Expected Outcome:

New Student Note added! Wonderful!
[NOTE]
Student: Freddy Zhang
Content: Reminder to inform his parents about Freddy’s exemplary behaviour.
Priority: LOW
notesAdd
Figure 12. After using the notes add command

4.4.3. Edit Notes notes edit

Edits a note in TeaPet.

Format:

notes edit INDEX [name/UPDATED_STUDENT_NAME] [cont/UPDATED_CONTENT] [pr/UPDATED_PRIORITY]
  • Edits a current note in the list by index. Index chosen must be an integer within the total number of notes.

At least 1 of the three prefix fields must be indicated. Priority must either be LOW, MEDIUM or HIGH.
Updated student’s name (case-sensitive) indicated in the name field must be already present in the class-list. Please refer to Section 4.1.3, "Add Student" should you need help on adding a student.

Example:

  • notes edit 4 cont/Reminder to inform his parents about Freddy’s exemplary behaviour TONIGHT. pr/HIGH
    Edits a note for student "Freddy Zhang" in the list of notes, together with updated content and updated priority.

Expected Outcome:

Student's Note Edited. Wonderful!
[NOTE]
Student: Freddy Zhang
Content: Reminder to inform his parents about Freddy’s exemplary behaviour TONIGHT.
Priority: HIGH
notesEdit
Figure 13. After using the notes edit command

4.4.4. Delete Notes notes delete

Deletes a note in TeaPet.

Format:

notes delete INDEX
  • Deletes a current note in the list by index. Index must be an integer within the total number of notes.

Example:

  • notes delete 4
    Deletes the 4th note in the list. In this example, the note is the one we created for student "Freddy Zhang".

Expected Outcome:

Student Note deleted.
[NOTE]
Student: Freddy Zhang
Content: Reminder to inform his parents about Freddy’s exemplary behaviour TONIGHT.
Priority: HIGH

4.4.5. Filter Notes notes filter

Displays a list of filtered notes based on specific keywords.

Format:

notes filter KEYWORD(S)
  • Filters the list of notes based on the presence of keywords given.

  • This notes filter feature will perform a comparison of name of student, content, priority and timestamp of the notes.

  • Filtering is done based on character match, not full-word match.

Example 1:

  • notes filter low
    Displays only notes with the keyword "low" present.

Expected Outcome:

Displaying Notes with Keywords: [low]
notesFilter
Figure 14. After using the notes filter low command

Example 2:

  • notes filter high 29
    Displays only notes with the keyword "high" and "29" present.

Expected Outcome:

Displaying Notes with Keywords: [high, 29]

4.4.6. Export Notes notes export

Exports all notes in TeaPet into a .csv file.

Format:

notes export
  • Exports all notes into studentNotes.csv, which can be located in the data folder of the same directory as the TeaPet application.

  • The .csv file’s column headers are Student, Priority, DateTime and Content, in that order.

Example:

  • notes export

Expected Outcome:

Notes are exported to studentNotes.csv in the data folder

4.5. Personal Scheduler [Done by Simon Lam and Gary Lim]

TeaPet’s Personal Scheduler allows you to record down your events, which will be sorted according to date and time. You will then be able to easily view your schedule as you need it.

4.5.1. Display your scheduler: schedule [Done by Simon Lam and Gary Lim]

Displays your schedule in this current week.

Format: schedule

Expected Outcome:

This is your schedule for the week
Schedule helps you to keep track of your events.
[HELP ON SCHEDULE COMMANDS]
add event: schedule add eventName/EVENT_DESCRIPTION startDateTime/YYYY-MM-DDTHH:MM endDateTime/YYYY-MM-DDTHH:MM recur/RECUR_DESCRIPTION color/COLOR_CODE
edit event: schedule edit INDEX [eventName/EVENT_DESCRIPTION] [startDateTime/YYYY-MM-DDTHH:MM] [endDateTime/YYYY-MM-DDTHH:MM] [recur/RECUR_DESCRIPTION] [color/COLOR_CODE]
delete event: schedule delete INDEX
get index of a event: schedule indexGet/EVENT_DESCRIPTION
get all indexes of events in schedule: schedule indexAll
change view mode of schedule: schedule view mode/SCHEDULE_MODE date/YYYY-MM-DD
export schedule: schedule export
Type the following commands for more info!
display schedule
Figure 15. After using schedule command

4.5.2. Adding an event to schedule: schedule add [Done by Simon Lam and Gary Lim]

Adds an event to your personal scheduler.

Format: schedule add eventName/EVENT_DESCRIPTION startDateTime/START_DATETIME endDateTime/END_DATETIME recur/RECUR_DESCRIPTION color/COLOR_CODE

The format of startDateTime and endDateTime is in YYYY-MM-DDThh:mm format, where time is in the 24-hour format.
Example: 7th April 2020 10AM will be 2020-04-07T10:00
RECUR_DESCRIPTION can only be either of these: none, daily or weekly.
Events which are further away in the future have a darker color code. This is intentional.
The prefixes are meant to be longer due the the emphasis on clarity as there are other features in this application which uses similar prefixes as well.
COLOR_CODE is from 0 to 23 inclusive.
color code
Figure 16. Color code for TeaPet’s calendar

 

Example:

  • Non-Recurring Event schedule add eventName/Teachers Meeting startDateTime/2020-04-02T08:00 endDateTime/2020-04-07T10:00 recur/none color/21

Creates an event in the schedule with the description "Teachers Meeting" from "2nd Apr 2020, 0800" to "7th Apr 2020, 1000" with "no recurrence" and a color group of "21".

schedule add
Figure 17. Adding an event to the schedule

4.5.3. Editing an event in schedule: schedule edit [Done by Gary Lim]

Edits an event in your personal scheduler.

Format: schedule edit INDEX [eventName/EVENT_DESCRIPTION] [startDateTime/START_DATETIME] [endDateTime/END_DATETIME] [recur/RECUR_DESCRIPTION] [color/COLOR_CODE]

INDEX is the index of the event that you wish to edit. This can be obtained using the indexGet Command. More details here
INDEX should be a positive integer and be a valid index.
You must edit at least 1 field. The rest of the fields are optional.
The format of startDateTime and endDateTime is in YYYY-MM-DDThh:mm format, where time is in the 24-hour format.
Example: 7th April 2020 10AM will be 2020-04-07T10:00
RECUR_DESCRIPTION can only be either of these: none, daily or weekly.
Events which are further away in the future have a darker color code. This is intentional.
The prefixes are meant to be longer due the the emphasis on clarity as there are other features in this application which uses similar prefixes as well.
Use the indexGet/indexAll Command to check the index of the event before you edit to ensure you always correctly edit events.
COLOR_CODE is from 0 to 23 inclusive. Refer here for the colour codes

 

Example:

  • schedule edit 2 eventName/Teachers Meeting
    Edits event with index 2 in the schedule to the new description "Teachers Meeting".

Expected Outcome:

Successfully edited Event 2 into: Event Name: Teachers Meeting , Start DateTime: 2020-04-02T08:00 , End DateTime: 2020-04-07T10:00

4.5.4. Delete an event in schedule: schedule delete [Done by Gary Lim]

Deletes an event in your personal scheduler.

Format: schedule delete INDEX

INDEX is the index of the event that you wish to delete. This can be obtained using the indexGet Command. More details here
INDEX should be a positive integer and be a valid index.
Use the indexGet/indexAll Command to check the index of the event before you delete to ensure you always correctly delete events.

Example:

  • schedule delete 2
    Deletes event with index 2 in the schedule.

Expected Outcome:

Deleted Event: Event Name: Teachers Meeting , Start DateTime: 2020-04-02T08:00 , End DateTime: 2020-04-07T10:00

4.5.5. Get index of an event in schedule: schedule indexGet [Done by Gary Lim]

Get the index of an event in your personal scheduler.

Format: schedule indexGet/EVENT_DESCRIPTION

EVENT_DESCRIPTION is the name of the event.
In the unlikely event that you mistype the EVENT_DESCRIPTION, our smart application will help you find the closest matching event to the EVENT_DESCRIPTION that you entered
In the even more unlikely event that you type an EVENT_DESCRIPTION that does not match ANY of the events in the schedule, the event with index 1 will be shown.
Index is used to identify events and help you edit and delete events.

Example:

  • schedule indexGet/consult
    Gets the index of the event with the EVENT_DESCRIPTION "consult".

Expected Outcome:

Could not find specified event. This is the closest event we can find based on what you've entered:
Index: 5 - Event Name: Consultation , Start DateTime: 2020-03-30T08:00 , End DateTime: 2020-03-30T10:00

Example 2 :

  • schedule indexGet/consultation
    Gets the index of the event with the EVENT_DESCRIPTION "consultation".

Expected Outcome:

Event found:
Index: 5 - Event Name: Consultation , Start DateTime: 2020-03-30T08:00 , End DateTime: 2020-03-30T10:00

4.5.6. Get all indexes of events in schedule: schedule indexAll [Done by Gary Lim]

Get all indexes of your events in your personal scheduler.

Format: schedule indexAll

Index is used to identify events and help you edit and delete events.

Example:

  • schedule indexAll
    Gets all indexes of all events currently in your schedule.

Expected Outcome:

These are all the events in your scheduler:
 Index: 1 - Event Name: Consultation , Start DateTime: 2020-03-30T08:00 , End DateTime: 2020-03-30T10:00
 Index: 2 - Event Name: Consultation , Start DateTime: 2020-04-10T08:00 , End DateTime: 2020-04-10T10:00
 Index: 3 - Event Name: Family Dinner , Start DateTime: 2020-03-30T19:00 , End DateTime: 2020-03-30T20:00

4.5.7. Change view mode of schedule: schedule view [Done by Gary Lim]

Change the view mode of your Personal Schedule as how you need it.

Format: schedule view mode/SCHEDULE_MODE date/YYYY-MM-DD

SCHEDULE_MODE can only be of these: daily or weekly.
Date is in YYYY-MM-DD format.
Change the view mode to daily to help you see all the events you have on that day!

Example:

  • schedule view mode/daily date/2020-04-12
    View all the events you have on "12th Apr 2020".

Expected Outcome:

Showing your daily schedule on reference date 2020-04-12

4.5.8. Export all events in schedule: schedule export [Done by Gary Lim]

Exports all events currently in schedule into a ".ics" file. The .ics file type can easily be used with Google Calendar and other calendar applications.

Format: schedule export

The file will be exported into the data folder with the file name "mySchedule.ics". Every export command run replaces the existing file.

Example:

  • `schedule export'
    Exports all your events into the data folder with the file name "mySchedule.ics".

Expected Outcome:

Schedule is exported to mySchedule.ics in the data folder

4.6. Additional Features [Done by Simon Lam]

4.6.1. Update Profile Picture

TeaPet’s student list allows you to upload image of your students into your application. The following steps will help you upload photos of your students into the student list.

Step 1. Locate the image folder. It is in the root directory folder!

locating image folder
Figure 18. Location of image folder

 

Step 2. Open the image folder and drag the image of your student into the folder.

The filename of your image must of this format:
1. Filename of the image must be the same as the student.
4. File is in .png format.
For example, a student with name Simon Lam must have a image file with name Simon Lam in .png format.
For ideal optimization of the image, its dimensions for its length and width should be roughly equal.
images in folder
Figure 19. Dragging png file into image folder

 

Step 3. Type in the student command in the user interface. TeaPet will update the images and now you can see pictures of your students in your student list!

Editing the name of the student will change the student image back to the default image. To solve this, you have to edit the png file in the Image folder as well after you edit the name of the student and then enter the student command.
before picture upload
Figure 20. Before using the student command

 

after picture upload
Figure 21. After using the student command

4.6.2. All in one help window

Suppose you are lost and you need help regarding the many commands in TeaPet, you can easily type in help or simply press your F1 key to bring up this user guide!

Format: help

Expected Outcome:

Opened help window.
help window
Figure 22. Displayed help window

5. Command Summary

This section provides a summary on all of the commands that we use in TeaPet.

5.1. Display Commands

Here are the default commands available for use. They do not require prefixes.

Table 2. Default commands of TeaPet.

Command

Format

Expected outcome

help

help

Opens up the User Guide

exit

exit

Safely exits the application

student

student

Displays the student list

admin

admin

Displays all administrative details of the class

academics

academics

Displays all academic records of the class

notes

notes

Displays all notes of the class

schedule

schedule

Displays your personal schedule

5.2. Student Particulars Commands

Here are the commands to manage students. They require the prefix student.

Table 3. Student commands of TeaPet

Command

Format

Expected outcome

student detailed

student detailed

Displays the detailed details of the class

student add

student add name/NAME [phone/PHONE] [email/EMAIL] [adr/ADDRESS] [nok/NOK] [temp/TEMPERATURE] [att/ATTENDANCE]

Adds a student into the class with the respective particulars

student edit

student edit INDEX [phone/PHONE] [email/EMAIL] [adr/ADDRESS] [nok/NOK] [temp/TEMPERATURE] [att/ATTENDANCE]

Edits the student at the index with the respective particulars

student delete

student delete INDEX

Deletes the student at the index

student clear

student clear

Deletes the entire class list

student find

student find KEYWORD

Searches through the class list and filter students whose names have the specified KEYWORD

5.3. Student Administration Commands

Here are the commands to manage student administration. They require the prefix admin.

Table 4. Student Administration commands of TeaPet

Command

Format

Expected outcome

admin dates

admin dates

Shows the dates with admin information of the class

admin save

admin save

Saves the most updated administrative information of the class as today’s date

admin fetch

academics fetch DATE

Fetches the administrative information of the class at the specified date

admin delete

admin delete DATE

Deletes the administrative information of the class at the specified date

5.4. Student Academics Commands

Here are the commands to manage student academics. They require the prefix academics.

Table 5. Student Academics commands of TeaPet.

Command

Format

Expected outcome

academics add

academics add desc/DESCRIPTION type/TYPE date/DATE

Adds an assessment into the academics list

academics edit

academics edit INDEX [desc/DESCRIPTION] [type/TYPE] [date/DATE]

Edits an assessment in the academics list

academics delete

academics delete INDEX

Deletes the assessment at the given index

academics submit

academics submit INDEX [stu/STUDENT_NAME]…​

Submits student(s) work for the assessment at the given index

academics mark

academics mark INDEX [stu/STUDENT_NAME-SCORE]…​

Marks student(s) work and stores the scores for the assessment at the given index

academics filter

academics homework/exam

Displays either all homework or exam assessments in the academics list

academics report

academics report

Displays the report for all assessments

academics export

academics export

Exports the academics report into a .csv file

5.5. Notes Commands

Here are the commands to manage notes. They require the prefix notes.

Table 6. Notes commands of TeaPet

Command

Format

Expected outcome

notes add

notes add name/STUDENT_NAME cont/CONTENT pr/PRIORITY

Adds a note into TeaPet

notes edit

notes edit INDEX [name/UPDATED_STUDENT_NAME] [cont/UPDATED_CONTENT] [pr/UPDATED_PRIORITY]

Edits a note in TeaPet.

notes delete

notes delete INDEX

Deletes a note in TeaPet.

notes filter

notes filter KEYWORD(S)

Displays a list of filtered notes based on presence of keywords.

notes export

notes export

Exports all notes in TeaPet into a .csv file

5.6. Personal Scheduler Commands

Here are the commands to manage scheduler. They require the prefix schedule.

Table 7. Personal Scheduler commands of TeaPet

Command

Format

Expected outcome

schedule edit

schedule edit INDEX [eventName/EVENT_DESCRIPTION] [startDateTime/YYYY-MM-DDTHH:MM] [endDateTime/YYYY-MM-DDTHH:MM] [recur/RECUR_DESCRIPTION] [color/COLOR_CODE]

Edits an event in your personal scheduler.

schedule add

schedule add eventName/EVENT_DESCRIPTION startDateTime/YYYY-MM-DDTHH:MM endDateTime/YYYY-MM-DDTHH:MM recur/RECUR_DESCRIPTION color/COLOR_CODE

Adds an event into the scheduler.

schedule delete

schedule delete INDEX

Deletes an event in your personal scheduler.

schedule indexGet

schedule indexGet/EVENT_DESCRIPTION

Get the index of an event in your personal scheduler.

schedule indexAll

schedule indexAll

Get all indexes of your events in your personal scheduler.

schedule view

schedule view mode/SCHEDULE_MODE date/YYYY-MM-DD

Change the view mode of your Personal Schedule as how you need it.

schedule export

schedule export

Exports all events currently in schedule into a ".ics" file. The .ics file type can easily be used with Google Calendar and other calendar applications.

6. Glossary [Done by Zhang Yuanyu]

The table below provides the prefixes used in certain commands. The definitions are provided for you to reference easier and have a better understanding of what they do.

Table 8. Command Prefix
Prefix Attributes Used in the following Command(s)

name/

Name of student

Student Particulars, Notes

phone/

Phone number

Student Particulars

email/

Email address

Student Particulars

adr/

Address

Student Particulars

tag/

Tag

Student Particulars

nok/

Next of Kin details

Student Particulars

temp/

Temperature

Student Particulars

att/

Attendance

Student Particulars

stu/

Student name and score obtained

Student Academcis

desc/

Assessment description

Student Academcis

type/

Assessment type

Student Academcis

date/

Date

Student Academcis, Personal Scheduler

eventName/

Event name

Personal Scheduler

startDateTime/

Starting date and time of event

Personal Scheduler

endDateTime/

Ending date and time of event

Personal Scheduler

recur/

Recurring type

Personal Scheduler

color/

Color code

Personal Scheduler

indexGet/

Get index of event

Personal Scheduler

mode/

Event view mode

Personal Scheduler

cont/

Content of note

Notes

pr/

Note priority level

Notes

7. FAQ [Done by Zhang Yuanyu]

This section will provide answers to all Frequently Asked Questions by our users.

  1. How do I transfer my data to another Computer?

    Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous TeaPet folder.

  2. How do I transfer the information in TeaPet to the co-form teacher?

    Right now, TeaPet does not support the transfer of data, but the feature will be coming soon in the near future!

  3. Why can’t I see my personal schedule from a while back?

    To see the schedule for a specific week, you could use the command schedule view mode/weekly date/DATE, where date is one of the date in the week you are seeking for.

  4. How do I retrieve back all the class list in TeaPet if I accidentally cleared all the content?

    Right now TeaPet does not support a backup feature, hence it would be best if you do not accidentally use the clear command. The backup feature will be coming soon in the near future!

  5. TeaPet is not working on my computer. How do I fix it?

    Ensure that your computer is running on Java 11 and not other versions. TeaPet does not support other versions of Java.

  6. Sometimes the text size of TeaPet is too small. How do I fix it?

    TeaPet runs best on full screen mode. Hence, it is strongly encouraged that you maximise the screen when using TeaPet for clarity.

  7. Sometimes I forget the various commands to use, where can I find the list of commands?

    You could view enter help tab by clicking F1, or by pressing the help button in the tabs section located at the top of TeaPet, which will then lead you to this user guide to provide you with the help you need!