By: Team W09-B3
Since: Mar 2018
Licence: MIT
- 1. Welcome to Codeducator!
- 2. Quick Start
- 3. Features
- 3.1. The Command Format
- 3.2. Basic User Interface Commands
- 3.3. AddressBook
- 3.3.1. Adding a student:
add
- 3.3.2. Listing all students :
list
- 3.3.3. Editing a student :
edit
- 3.3.4. Locating students by name:
find
- 3.3.5. Locating students by tags:
findTag
- 3.3.6. Adding a student to favourites :
fav
- 3.3.7. Removing a student from favourites :
unfav
- 3.3.8. Clearing all entries :
clear
- 3.3.9. Deleting a student :
delete
- 3.3.10. Selecting a student :
select
- 3.3.1. Adding a student:
- 3.4. Schedule
- 3.5. Syncing with your Google Account
- 3.6. Dashboard
- 3.6.1. Showing the dashboard of a student:
showDB
- 3.6.2. Adding a milestone to a student’s dashboard:
addMS
- 3.6.3. Deleting a milestone from a student’s dashboard:
deleteMS
- 3.6.4. Adding a task to a milestone:
addTask
- 3.6.5. Deleting a task from a milestone:
deleteTask
- 3.6.6. Marking a task as completed:
checkTask
- 3.6.1. Showing the dashboard of a student:
- 3.7. Student Profile Page
- 3.8. Coming in v2.0
- 4. Interacting using free-form English
- 5. FAQ
- 6. Command Summary
Codeducator is a desktop address book and scheduling application for private programming language tutors who prefer to use a desktop app for managing the contacts of students.
You can also use Codeducator to track the progress of your students, manage your tutoring schedule and other important information about your students. More importantly, Codeducator is optimized for those who prefer to work with a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, Codeducator can get your contact management tasks done faster than traditional GUI apps.
Interested? Jump to the Section 2, “Quick Start” to get started.
You may want to read Section 1.1, “Quick Overview” to check out the User Interface, or Section 1.2, “How to use this User Guide” to find out about the format of our help guide
Enjoy using Codeducator!
Codeducator’s user interface is split into a few sections. These sections are highlighted in the image below.
-
Command Box
Where you type your commands -
Command Result Box
The message result of executing your command -
Contact List
Where you keep your contacts -
Infopanel
A small but powerful multi-use window to view your Schedule, Full Information Page and Student Dashboards -
Status Bar
Tells you when you last updated Codeducator data
The Infopanel has three screens, depending on the task you are trying to execute.
Everything you need to know about Codeducator is in this user guide.
You can quickly navigate the user guide by clicking on the links found in the table of contents at the top of the user guide.
An example of the user guide for the features is shown below. You can identify the feature’s title, description, format and easy to follow step by step instructions. The instructions will follow this certain format
-
Feature Title
This is the name of the feature or command being explained -
Description and use case
This describes the potential situations that you might need to use this command. -
Format of command
The defined structure of the command. See Section 3.1, “The Command Format” for more information -
Steps Taken
A few example steps to show you how we might do things and what you will see You should have a similar user interface of Codeducator when following the step by step instructions.
-
Ensure you have Java version
1.8.0_60
or later installed in your Computer. You can download the latest Java release here.ℹ️Having any Java 8 version is not enough.
This app will not work with earlier versions of Java 8. -
Download the latest
W09-B3-Coeducator.jar
here. -
Copy the file to the folder you want to use as the home folder for your Codeducator app.
💡
|
You may use create a folder called Codeducator on your Desktop , or in My Documents folder
|
-
Double-click the file to start the app. You should see the application open in a appear in a few seconds.
-
Type the command in the command box and press Enter to execute it.
e.g. typinghelp
and pressing Enter will open the help window. -
Some example commands you can try:
-
list
: lists all contacts -
add
n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01
: adds a contact namedJohn Doe
to the Address Book. -
delete
3
: deletes the 3rd contact shown in the current list -
exit
: exits the app
-
-
Refer to Section 3, “Features” for details of each command.
Codeducator has many awesome features to help out coding tutors, it may be pretty scary for a first time user.
Don’t fret! This user guide will show you the many simple commands that will help you go from zero to a Codeducator hero!
The subsequent sections of the user guide provides a step by step walk-through of all the commands that Codeducator has to offer.
-
Words in
UPPER_CASE
are the parameters to be supplied by the user e.g. inadd n/NAME
,NAME
is a parameter which can be used asadd n/John Doe
. -
Items in square brackets are optional e.g
n/NAME [t/TAG]
can be used asn/John Doe t/friend
or asn/John Doe
. -
Items with
…
after them can be used multiple times. In addition, the item be left out completely. e.g.[t/TAG]…
can be used ast/friend
ort/friend t/family
etc. -
Parameters can be in any order e.g. if the command specifies
n/NAME p/PHONE_NUMBER
,p/PHONE_NUMBER n/NAME
is also acceptable.
Got it? Good! Let’s get started on Codeducator!
Let’s start slow. This are the basic commands that Codeducator offers.
Feeling lost and not sure what to do? Can’t remember the usage of the command?
You can type the help command and Codeducator will open this user guide in-application for your convenience. Don’t be afraid to ask for help!
If you wish to execute a command you have entered before, you can use the history
command to lists all the commands that you have entered in reverse chronological order.
Format: history
ℹ️
|
Pressing the ↑ and ↓ arrows will display the previous and next input respectively in the command box. |
If you have mistakenly entered a command and wish to revert it, you can use the undo
command to restore the address book to the state before.
Format: undo
ℹ️
|
|
Examples:
-
delete 1
list
undo
(reverses thedelete 1
command) -
select 1
list
undo
Theundo
command fails as there are no undoable commands executed previously. -
delete 1
clear
undo
(reverses theclear
command)
undo
(reverses thedelete 1
command)
If you have mistakenly used the undo
command to revert a previous command, you can execute that command again by using the redo
command.
Format: redo
Examples:
-
delete 1
undo
(reverses thedelete 1
command)
redo
(reapplies thedelete 1
command) -
delete 1
redo
Theredo
command fails as there are noundo
commands executed previously. -
delete 1
clear
undo
(reverses theclear
command)
undo
(reverses thedelete 1
command)
redo
(reapplies thedelete 1
command)
redo
(reapplies theclear
command)
If you wish to exit Codeducator, you can use the exit
command.
Format: exit
If you wish to add a student to your address book, you can use the add
command.
Format: add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS pl/PROGRAMMING_LANGUAGE [t/TAG]…
💡
|
A student can have any number of tags (including 0) |
Examples:
-
add n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01 pl/Java
-
add n/Betsy Crowe t/friend e/betsycrowe@example.com a/Newgate Prison p/1234567 pl/C t/criminal t/NoLife
If you wish to view a list of all your students in the address book, you can use the list
command.
Format: list [-f]
💡
|
Use the -f flag to view all student in favourites |
Examples:
-
list -f
List only all student that you added to favourites -
list
List all students
Step 1: Type list
into the command box and press Enter to execute it.
Step 2: The result box will display "Listed all students".
Step 3: You will see at the left panel a list of every student contact in your address book. You can scroll down to view more contacts in the list.
Steps taken to view all students in favourites:
Step 1: Type list -f
into the command box and press Enter to execute it.
Step 2: The result box will display "Listed all favourite students".
Step 3: You will see at the left panel a list of student contacts that are in your favourites. You can scroll down to view more contacts in this favourite list.
If you wish to edit the information of your student in the address book, you can use the edit
command.
Format: edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [pl/PROGRAMMING_LANGUAGE] [t/TAG]…
-
Edits the student at the specified
INDEX
. The index refers to the index number shown in the last student listing. The index must be a positive integer 1, 2, 3, … -
At least one of the optional fields must be provided.
-
Existing values will be updated to the input values.
-
When editing tags, the existing tags of the student will be removed i.e adding of tags is not cumulative.
-
You can remove all the student’s tags by typing
t/
without specifying any tags after it.
ℹ️
|
The edit command currently does not support editing of student’s dashboard.
|
Examples:
-
edit 1 p/91234567 e/johndoe@example.com
Edits the phone number and email address of the 1st student to be91234567
andjohndoe@example.com
respectively. -
edit 2 n/Betsy Crower t/
Edits the name of the 2nd student to beBetsy Crower
and clears all existing tags.
If you wish to locate a student in your address book, you can use the find
command to find and list students whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
-
The search is case insensitive. e.g
hans
will matchHans
-
The order of the keywords does not matter. e.g.
Hans Bo
will matchBo Hans
-
Only the name is searched.
-
Only full words will be matched e.g.
Han
will not matchHans
-
Persons matching at least one keyword will be returned (i.e.
OR
search). e.g.Hans Bo
will returnHans Gruber
,Bo Yang
💡
|
If you wish to locate a student by their tag instead, you can use the findTag command (see Section 3.3.5, “Locating students by tags: findTag ”)
|
Examples:
-
find John
Returnsjohn
andJohn Doe
-
find Betsy Tim John
Returns any student having namesBetsy
,Tim
, orJohn
If you wish to locate a student in your address book by their tag, you can use the findTag
command.
Format: findTag KEYWORD [MORE_KEYWORDS]
-
The search is case insensitive. e.g
Friends
will matchfriends
-
The order of the keywords does not matter. e.g. ` friends owesMoney` will match
owesMoney
andfriends
-
Only the tag is searched.
-
Only full words will be matched e.g.
friend
will not matchfriends
-
Persons matching at least one keyword will be returned (i.e.
OR
search). e.g.friends owesMoney
will return a student with tagsfriends
andrich
, as well as a student with tagsowesMoney
andpoor
💡
|
If you wish to locate a student by their name instead, you can use the find command (see Section 3.3.4, “Locating students by name: find ”)
|
Examples:
When your AddressBook has a student named John Doe, which you have tagged t/friends and t/owesMoney, and a student named Betsy which you have tagged t/owesMoney and t/poor,
* findTag friends
Returns John Doe
* findTag friends owesMoney
Returns any student having tags friends
, owesMoney
, i.e. John Doe
and Betsy
If you wish to access a student quickly, you can simply add the student as "favourite" using the fav
command.
Format: fav INDEX
-
INDEX
refers to the index number of the student in the most recent listing. -
INDEX
must be a positive integer 1, 2, 3, …
ℹ️
|
You can view the list of your favourite students using the command list -f (see Section 3.3.2, “Listing all students : list ”).
|
Example:
-
list
fav 1
Adds the 1st student in the address book to favourites.
Step 1: First, find the student you wish to add to favourites using the list
command (see Section 3.3.2, “Listing all students : list
”).
Step 2: Once you have found the student you want to add to your favourites, type fav
into the command box, followed by the INDEX
of the student in the list. Press Enter to execute it.
Step 3: You have succeeded in adding the student as favourite when you see "Student added to favourites: [STUDENT’S NAME]" in the result box and the student’s name being highlighted in orange.
|
The student INDEX provided must be valid. Otherwise, an error message "The student index provided is invalid" will be displayed in the result box at Step 3.
|
If you want to remove a student from favourites, you can simply use the unfav
command.
Format: unfav INDEX
-
INDEX
refers to the index number of the student in the most recent listing. -
INDEX
must be a positive integer 1, 2, 3, …
Example:
-
list
unfav 1
Removes the 1st student in the address book from favourites.
Step 1: First, find the student you wish to remove from your favourites using the list -f
command (see Section 3.3.2, “Listing all students : list
”).
Step 2: Once you have found the student you want to remove from your favourites, type unfav
into the command box, followed by the INDEX
of the student in the list. Press Enter to execute it.
unfav
command followed by the INDEX
1 of the student to remove from favourites.Step 3: You have succeeded in removing the student from favourites when you see "Student removed from favourites: [STUDENT’S NAME]" in the result box.
|
The student INDEX provided must be valid. Otherwise, an error message "The student index provided is invalid" will be displayed in the result box at Step 3.
|
If you wish to remove all your student contacts in your address book, you can use the clear
command.
Format: clear
If you wish to remove a student contact from the address book, you can use the delete
command.
Format: delete INDEX
-
Deletes the student at the specified
INDEX
. -
The index refers to the index number shown in the most recent listing.
-
The index must be a positive integer 1, 2, 3, …
Examples:
-
list
delete 2
Deletes the 2nd student in the address book. -
find Betsy
delete 1
Deletes the 1st student in the results of thefind
command.
If you wish to view the address of your student on google map, you can use the select
command.
Format: select INDEX
-
Selects the student at the specified
INDEX
and loads their location on Google Maps. -
The index refers to the index number shown in the most recent listing.
-
The index must be a positive integer
1, 2, 3, …
Examples:
-
list
select 2
Selects the 2nd student in the address book. -
find Betsy
select 1
Selects the 1st student in the results of thefind
command.
Scheduling is a major feature of Codeducator. To help tutors manage their student lessons, Codeducator has implemented a Schedule component that keeps track of your student lessons on a weekly basis. Codeducator assumes you have regular lessons on a weekly basis.
The Schedule comprises of Lessons. A Lesson represents the tutoring lesson session you will have with a Student in your Contacts List.
The Lesson is displayed with
-
The displayed Lesson Index
-
The Student with whom you wil be having the Lesson with.
A quick refresh of what lessons you have in the week is a simple command away. You can easily view your Schedule with a simple command.
If your student needs extra lessons or you have new students that want lessons, Codeducator will allow you to add Lessons to your schedule.
Adds a lesson for the Student identified by their INDEX
, for a certain DAY
, starting at START_TIME
and ending at END_TIME
-
Adds a lesson for the student at the specified
INDEX
. The index refers to the index number shown in the last student listing. The index must be a positive integer 1, 2, 3, … -
The day for the input is the abbreviated first three letters (non-case sensitive) of the name of day, i.e.
mon
for Monday,fri
for Friday. -
The time input must be in the format
HH:MM
, seperated by a colon:
-
The time input must be a valid 24-hour time within the range of
00:00
to23:59
-
Input lesson cannot clash with existing lessons already in the
Schedule
-
Lessons will be added in chronological order to your
Schedule
ℹ️
|
|
Examples:
-
list
addLesson 1 d/mon st/10:00 et/10:30
Adds a lesson for the 1st student of thelist
command. Lesson will be held on the day ofmon
and starting time will be10:00
and ending time will be10:30
. -
find Betsy
addLesson 1 d/tue st/12:00 et/13:30
Adds a lesson for the 1st student of thefind Betsy
command. Lesson will be held on the day oftue
and starting time will be12:00
and ending time will be13:30
.
Let’s say that you may want to add a Lesson for Bernice (index 2
). The lesson time slot would be Sunday, 10:00am to 12:00pm.
-
Type
schedule
into the command box. Press enter to execute. -
Visually find a free time slot. Sunday, 10:00 to 12:00 looks free!
-
Type
addLesson 2 d/sun st/10:00 et/12:00
. Press enter to execute the command -
The lesson will be added to your Schedule!
==== Deleting a Lesson in your Schedule
You may wish to remove lessons because students drop out. Let’s use Codeducator’s deleteLesson
command to do that for you.
Deletes an existing lesson in your schedule identified by the index number in the last schedule listing. of day, i.e. mon
for Monday, fri
for Friday.
-
Deletes a lesson for the student at the specified
INDEX
. -
The index refers to the displayed Lesson Index shown in the title. The index must be a positive integer 1, 2, 3, …
Let’s say you want to delete Charlotte’s Lesson, on Tuesday, 10:00am-12:00pm
-
Type
schedule
into the command box. Press enter to execute. -
Type
deleteLesson
into the command box. Press enter to execute the command -
The lesson will be removed from your schedule!
You probably want to view your contacts and schedule across your devices. With today’s pervasive use of cloud services, Codeducator takes advantage of Google’s Contacts and Calendar. Outside of Codeducator, you may view your contacts and schedule data in Google’s mobile and web applications.
Codeducator uploads both contact list and schedule data to your Google Account. Your contact list is synced with Google Contacts: contacts.google.com. Your schedule is synced with Google Calendar: calendar.google.com
Associate your Google account with Codeducator and authorise Codeducator to upload data to your Google account’s cloud services
ℹ️
|
Ensure you have a Google account! Take advantage of Google’s cloud services |
Logs in to your Google Account. Authorizes your Google Account to communicate with our app and gives
Codeducator permission to modify your data.
Opens a new window in your default browser to the Oauth2 screen
ℹ️
|
You must first be logged out to log in |
-
Type
login
in the command box. We will use theschedule
screen, but it will work from any screen. -
Execute the command using enter.
-
Your default browser will redirect to Google’s login screen. Follow the OAuth2 procedure by typing your Google username and password into the login screen.
-
After logging in, you will see this window. Authorise Codeducator by clicking "Allow"
-
If you have successfully logged in. Your browser will display this message as a sign of login success.
-
Open the Codeducator window again. You will see that the message displays that you are logged in
You are now ready to sync your account!
ℹ️
|
|
Updates both Google Contacts and Google Calendar with Addressbook and Schedule. Deletes the old data that Codeducator
has uploaded previously, and uploads the updated data, correct as of time of entering the sync
command.
Google Contacts will create a new Contact Label group called "Students". Contacts from your Codeducator app will be uploaded here.
Your Student’s Name, Phone Number and Address will be uploaded.
Google Calendar will create a Calendar group called "Student Lessons". Lessons from your Calendar will be uploaded here.
The name of the event will be "Lesson with <Student>", using the Start and End times of the Lesson, location will be using the address associated with the Student.
The Calendar will only start syncing from the first Lesson occurring after the current day that you perform the sync.
ℹ️
|
If you have synced before, future syncs will
|
Currently, Google Calendar will create a recurring weekly event per lesson, repeated over 4 weeks. If you have no edits to your Schedule within the month, do a sync at the end of the month to refresh your Calendar data.
|
|
Format: sync
-
Ensure that you have logged in to your account. See Section 3.5.1, “Logging in to your Google Account”
-
View the schedule that you want to sync. See [Viewing your schedule]
-
Type
sync
in the command box. Press enter to execute -
Codeducator will now try to upload the current data. If you had previously used
sync
, Codeducator will delete the old data in you Google Contacts and CalendarFigure 29. Viewing your schedule in Week and Month View in calendar.google.com. Note the new Calendar "Student Lessons"Figure 30. Viewing your contacts list in Google Contacts in contacts.google.com. Note the new Label "Students" -
Your data has been synchronised! You are free to use them across your devices in anyway that Google Contacts and Calendar supports!
ℹ️
|
If you have many contacts or lessons, it will take some time to synchronise your data. Be patient as Codeducator uploads your data! |
For security purposes, Codeducator allows you to log out of your Google Account. Codeducator will ecurely delete the OAuth2 credential stored in the App.
ℹ️
|
You must first be logged in to log out. |
Format: logout
-
Ensure that you are logged in. See Section 3.5.1, “Logging in to your Google Account”
-
If you are not logged in, you are already logged out!
-
-
Type
logout
in the command box. Press enter to execute the command. -
You should see the following window
-
You have successfully logged out of your account! Log in again if you want to sync your contacts and schedule.
In Codeducator, you can track the learning progress of your students easily by utilising our Dashboard feature.
Each of your student in your contact list has their own dashboard which you can view and manage easily.
What’s in a dashboard?
-
Milestones:
Each dashboard will have a list of milestones. A milestone signifies a major step in the learning progress of your student. Codeducator allows you to create and add milestones in your students' dashboards so that you can keep track of learning objectives you have set for them. -
Tasks:
Each milestone can contain a list of tasks. A task signifies a piece of work to be done to meet the milestone’s objective. Codeducator allows you to create and add tasks to each milestone so that you can keep track of what has already been done and what still needs to be done to reach the milestone.
You can view the dashboard of a student by using the showDB
command.
Format: showDB STUDENT_INDEX
-
STUDENT_INDEX
refers to the index number of the student shown in the most recent listing. -
STUDENT_INDEX
must be a positive integer 1, 2, 3, …
Example:
-
list
showDB 1
Shows the dashboard of the 1st student in the address book.
Step 1: First, find the student whose dashboard you wish to view using the list
command (see Section 3.3.2, “Listing all students : list
”).
Step 2: Once you have found the student, type showDB
into the command box, followed by the STUDENT_INDEX
of the student in the list. Press Enter to execute it.
showDB
command followed by the STUDENT_INDEX
1 of the student whose dashboard you wish to viewStep 3: You have succeeded in viewing the student’s dashboard if you see the message "Selected Dashboard of Student: STUDENT_INDEX
" in the result box, with the dashboard containing the student’s name appearing on the right panel.
|
The student INDEX provided must be valid. Otherwise, an error message "The student index provided is invalid" will be displayed in the result box at Step 3.
|
If you want to keep track of a learning objective you want your student to fulfil, you can add a milestone to your student’s dashboard using the addMS
command.
Format: addMS i/STUDENT_INDEX d/MILESTONE_DUE_DATE o/DESCRIPTION_OF_MILESTONE
-
STUDENT_INDEX
refers to the index number of the student shown in the most recent listing. -
STUDENT_INDEX
must be a positive integer 1, 2, 3, … -
MILESTONE_DUE_DATE
must be in this format: DD/MM/YYYY hh:mm where DD/MM/YYYY is the calendar date and hh:mm is the time in 24-hour notation -
MILESTONE_DUE_DATE
can be a date in the past (before the current day)
Example:
-
list
showDB 1
addMS i/1 d/23/05/2018 23:59 o/Learn Arrays
Adds a milestone to the dashboard of the 1st student in the address book. The milestone is due on 23/05/2018 23:59 and the objective is "Learn Arrays".
Step 1: First, view the dashboard of the student where you want to add the milestone to (see [Show the dashboard of a student: showDB
]).
Step 2: Once you can view the student’s dashboard, type addMS
in the command box, followed by the STUDENT_INDEX
, MILESTONE_DUE_DATE
and DESCRIPTION_OF_MILESTONE
. Press Enter to execute it.
addMS
command, followed by the STUDENT_INDEX
as "1", MILESTONE_DUE_DATE
as "23/05/2018 23:59" and DESCRIPTION_OF_MILESTONE
as "Learn Arrays"Step 3: You have succeeded in adding the milestone to the student’s dashboard if you see the message "Milestone added to Student’s Dashboard:" followed by the description of the milestone you have added in the result box. The new milestone will also appear on the student’s dashboard.
|
The STUDENT_INDEX provided must be valid. Otherwise, an error message "The student index provided is invalid" will be displayed in the result box at Step 3.
|
STUDENT_INDEX
10 is entered. There are less than 10 students in the student contact list.
|
The MILESTONE_DUE_DATE provided must have a valid calendar date and follows the specified format. Otherwise, an error message shown in the figure below will be displayed in the result box at Step 3. |
If you wish to remove a milestone you no longer need from a student’s dashboard, you can use the deleteMS
command.
Format: deleteMS i/STUDENT_INDEX m/MILESTONE_INDEX
-
The milestone is in the dashboard of a student at the specified
STUDENT_INDEX
-
STUDENT_INDEX
refers to the index number of the student shown in the most recent listing. -
MILESTONE_INDEX
refers to the index number of the milestone in the dashboard shown in the most recent listing. -
Both
STUDENT_INDEX
andMILESTONE_INDEX
must be positive integers 1, 2, 3, …
Examples:
-
list
showDB 1
deleteMS i/1 m/1
Deletes the 1st milestone from the dashboard of the 1st student in the address book.
Step 1: First, view the dashboard of the student where you want to remove the milestone from (see [Show the dashboard of a student: showDB
]).
Step 2: Once you can view the student’s dashboard, type deleteMS
in the command box, followed by the STUDENT_INDEX
and MILESTONE_INDEX
. Press Enter to execute it.
deleteMS
command, followed by the STUDENT_INDEX
as "1" and MILESTONE_INDEX
as "1"Step 3: You have succeeded in deleting the milestone if you see the message "Deleted milestone:" followed by the description of the milestone in the result box. The milestone will also no longer be on the dashboard of the student.
|
The STUDENT_INDEX and MILESTONE_INDEX provided must be valid. Otherwise, an error message "One or more of the provided indexes are invalid" will be displayed in the result box at Step 3.
|
If you wish to keep track of a piece of work that needs to be done to complete a milestone’s objective, you can add a task to the milestone in the student’s dashboard using the addTask
command.
Format: addTask i/STUDENT_INDEX m/MILESTONE_INDEX n/NAME_OF_TASK o/DESCRIPTION_OF_TASK
-
STUDENT_INDEX
refers to the index number of the student shown in the most recent listing. -
MILESTONE_INDEX
refers to the index number of the milestone in the dashboard shown in the most recent listing. -
The milestone is in the dashboard of the student at the specified
STUDENT_INDEX
-
STUDENT_INDEX
andMILESTONE_INDEX
must be positive integers 1, 2, 3, …
Examples:
-
list
showDB 1
addTask i/1 m/1 n/Learn Array Syntax o/Student to refer to the textbook
Adds a task to the 1st milestone in the dashboard of the 1st student in the address book. The name of the task is "Learn Array Syntax" and the description is "Student to refer to the textbook".
Step 1: First, view the dashboard of the student where you want to add the task to (see [Show the dashboard of a student: showDB
]).
Step 2: Once you can view the student’s dashboard, type addTask
in the command box, followed by STUDENT_INDEX
, MILESTONE_INDEX
, NAME_OF_TASK
and DESCRIPTION_OF_TASK
. Press Enter to execute it.
addTask
, followed by the STUDENT_INDEX
as "1", MILESTONE_INDEX
as "1", NAME_OF_TASK
as "Learn Array Syntax" and DESCRIPTION_OF_TASK
as "Student to refer to the textbook"Step 3: You have succeeded in adding the task to the milestone if you see the message "New task added:" followed by the description of the task you have added in the result box. The new task will also appear in the task list of the milestone.
|
The STUDENT_INDEX and MILESTONE_INDEX provided must be valid. Otherwise, an error message "One or more of the provided indexes are invalid" will be displayed in the result box at Step 3.
|
If you wish to remove a task you no longer need in a milestone of a dashboard, you can use the deleteTask
command.
Format: deleteTask i/STUDENT_INDEX m/MILESTONE_INDEX tk/TASK_INDEX
-
STUDENT_INDEX
refers to the index number of the student shown in the most recent listing. -
MILESTONE_INDEX
refers to the index number of the milestone in the dashboard shown in the most recent listing. -
TASK_INDEX
refer to the index number of the task in the milestone shown in the most recent listing. -
The task is in the milestone at the specified
MILESTONE_INDEX
-
The milestone is in the dashboard of a student at the specified
STUDENT_INDEX
-
STUDENT_INDEX
,MILESTONE_INDEX
andTASK_INDEX
must be positive integers 1, 2, 3, …
Examples:
-
list
showDB 1
deleteTask i/1 m/1 tk/1
Deletes the 1st task in the 1st milestone. The milestone is in the dashboard of the 1st student in the address book.
Step 1: First, view the dashboard of the student where you want to delete the task from (see [Show the dashboard of a student: showDB
]).
Step 2: Once you can view the student’s dashboard, type deleteTask
in the command box, followed by STUDENT_INDEX
, MILESTONE_INDEX
and TASK_INDEX
. Press Enter to execute it.
deleteTask
, followed by the STUDENT_INDEX
as "1", MILESTONE_INDEX
as "1" and TASK_INDEX
as "1"Step 3: You have succeeded in deleting the task from the milestone if you see the message: "Deleted task:" followed by the description of the task you deleted in the result box. The task will also no longer be in the task list of the milestone.
|
The STUDENT_INDEX , MILESTONE_INDEX , and TASK_INDEX provided must be valid. Otherwise, an error message "One or more of the provided indexes are invalid" will be displayed in the result box at Step 3.
|
If your student has completed a task and you wish to mark it as completed, you can use the checkTask
command.
Format: checkTask i/STUDENT_INDEX m/MILESTONE_INDEX tk/TASK_INDEX
-
STUDENT_INDEX
refers to the index number of the student shown in the most recent listing. -
MILESTONE_INDEX
refers to the index number of the milestone in the dashboard shown in the most recent listing. -
TASK_INDEX
refer to the index number of the task in the milestone shown in the most recent listing. -
The task is in the milestone at the specified
MILESTONE_INDEX
-
The milestone is in the dashboard of a student at the specified
STUDENT_INDEX
-
STUDENT_INDEX
,MILESTONE_INDEX
andTASK_INDEX
must be positive integers 1, 2, 3, …
💡
|
Marking a task as completed updates the progress of the milestone. |
Examples:
-
list
showDB 1
checkTask i/1 m/1 tk/1
Marks the 1st task in the 1st milestone as completed. The milestone is in the dashboard of the 1st student in the address book.
Step 1: First, view the dashboard of the student where the task is (see [Show the dashboard of a student: showDB
]).
Step 2: Once you can view the student’s dashboard, type checkTask
in the command box, followed by STUDENT_INDEX
, MILESTONE_INDEX
and TASK_INDEX
. Press Enter to execute it.
checkTask
, followed by the STUDENT_INDEX
as "1", MILESTONE_INDEX
as "1" and TASK_INDEX
as "1"Step 3: You have succeeded in marking the task as completed if you see the message "Task TASK_INDEX
marked as completed in milestone MILESTONE_INDEX
".
The task’s "Completed" field will become "Yes" and the progress of the milestone will be updated.
|
Marking an already completed task as complete will cause the message "Task is already marked as completed" to be displayed in the result box at Step 3. |
|
The STUDENT_INDEX , MILESTONE_INDEX , and TASK_INDEX provided must be valid. Otherwise, an error message "One or more of the provided indexes are invalid" will be displayed in the result box at Step 3.
|
Displays the full information of a student on the browser panel. The full information of a student consists of 3 elements, main information, miscellaneous information and his/her profile picture. You will be able to view his/her profile picture if one exists.
Format: moreInfo INDEX
|
The moreInfo command cannot work if there is no existing XML data of students. Should you encounter this warning,you can either:1) Simply enter clear and start out with an empty student list.2) Add, edit or delete a student using their corresponding commands to generate XML data of the students. |
Suppose you wish to view the profile page of the 1st student of the current student list
-
Enter the command as shown below:
-
You will then be able to view the profile page of the student. Enter the same command with a different number for viewing the profile page of other students (e.g.
moreInfo 2
).
💡
|
You will be able to attain the profile page style in Figure 5 if your OS zoom scale is set to 125% . The profile photo may seem of a different size for other configurations. Search you computer settings should you wish to change this.
|
-
Displays the full information of a student with the specified
INDEX
. -
The index refers to the index number shown in the last schedule listing. The index must be a positive integer 1, 2, 3, …
Allows you to edit the current profile picture of a student to a new picture from a specific file path indicated by you.
Format: editPicture i/STUDENT_INDEX pa/FILE_PATH_OF_PICTURE
ℹ️
|
The image file you wish to use must exist and have extensions either of |
Suppose you wish to have this picture, with the file name of animal.jpg
as a new profile picture as your student:
-
Enter the command as shown below:
-
You will edit the profile picture of the 1st student of the latest student list to a picture existing in the same folder as the jar file with the name
animal.jpg
. You will then see the following:
-
By calling the
moreInfo
command (found in the section above), you will be able to view the student’s profile page with the updated picture as shown below:
💡
|
The ideal aspect ratio of the picture is 1.25 from height to width. |
-
Changes the profile photo of a student with the specified
INDEX
to a new one which has a file path ofFILE_PATH_OF_PICTURE
-
The index refers to the index number shown in the last schedule listing. The index must be a positive integer 1, 2, 3, …
-
The file path of the picture is either relative to the folder which the jar application is or can be speicifed from the hard drive.
Allows you to edit the miscellaneous information of a student. This includes his/her allergies, Next-Of-Kin name, Next-Of-Kin contact number and remarks for the student.
Format: editMisc INDEX [al/ALLERGIES] [nokn/NEXT_OF_KIN_NAME] [nokp/NEXT_OF_KIN_PHONE] [r/REMARKS]
Suppose you wish to edit the allergies information of a student to Allergic to nuts
.
-
Enter the command as shown below:
-
You will edit the
allergies
portion of the miscellaneous information of the 1st student of the student list to "Allergic to nuts". You will then see the following:
-
By calling the
moreInfo
command (found in the section above), you will be able to view the student’s profile page with the updated allergies information as shown below:
-
Edits the student’s miscellaneous info at the specified
INDEX
. The index refers to the index number shown in the last student listing. The index must be a positive integer 1, 2, 3, … -
At least one optional field must be provided.
-
Existing values will be updated to and overwritten by the input values.
CodEducator also allows you to use features of the applications using everyday english sentences, without the need to remember specific command words.
|
An active internet connection is required for this to work. |
You can refer to the table below to see which are the features that you are able to invoke using conversational English.
💡
|
The examples below are just for your reference. Any phrase or sentence can be used, so long as your intention is precise and clear. |
Command | Examples | |
---|---|---|
|
|
"Empty everything" |
|
|
"reuse previous" |
|
|
"negate the previous action" |
|
|
"I need assistance" |
|
|
"i wish to quit" |
|
|
"archives of commands entered" |
|
|
"enumerate everyone" |
|
|
"show me my timetable" |
|
|
"Remove Jason" |
|
|
"Single out Jason" |
Important
|
Currently, the commands Delete and Select only detects English names!
|
-
Be sure to check for spelling errors in your sentences.
|
Spelling errors can be mis-interpreted and the wrong command might be invoked. |
-
Be as precise as possible in specifying your intentions in the sentences, to prevent mis-interpretation of commands.
-
If the wrong feature is invoked, you can always use the
undo
command revert any undesired changes.
Q: How do I transfer my data to another Computer?
A: 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 Address Book folder.
Purpose | Format | Example |
---|---|---|
Contact List Commands |
||
Adding a student |
|
|
Clearing your entire contact list |
|
|
Deleting a student |
|
|
Edit |
|
|
Find |
|
|
List |
|
|
Help |
|
|
Select |
|
|
History |
|
|
Undo |
|
|
Redo |
|
|
Dashboard Commands |
||
Show Dashboard |
|
|
Add Milestone |
|
|
Delete Milestone |
|
e.g. |
Add Task |
|
e.g. |
Delete Task |
|
e.g. |
Mark Task As Completed |
|
e.g. |
Schedule related commands |
||
View your Schedule |
|
|
Add a Lesson |
|
e.g. |
Delete a Lesson |
|
e.g. |
Login to your Google Account |
|
|
Synchronize data with Google Account |
|
|
Logout of your Google Account |
|
|
Full information page Commands |
||
Full information page |
|
|
Edit the profile picture |
|
e.g. |
Edit the miscellaneous info of a student |
`editMisc INDEX [al/ALLERGIES] [nokn/NEXT_OF_KIN_NAME] [nokp/NEXT_OF_KIN_PHONE] [r/REMARKS] |
e.g. |