MVP
What’s New
In this release, we have implemented the basic set of features required for our MVP. Here are the key changes and new features compared to AB3:
-
Add Teacher command
- The
teacher
command allows you to add teacher’s contact information to the address book. You can specify the name, contact, email, address, subjects, classes and tags to make it comprehensive. - Example usage:
teacher /name John Doe /gender male /contact 98765432 /email johnd@example.com /address 311, Clementi Ave 2, #02-25 /subject Physics /classes 7A,7B t/hardworking
- The
-
Add Student command
- The
student
command allows you to add student’s contact information to the address book. You can specify the name, contact, email, address, subjects, classes and tags to make it comprehensive. - Example usage:
student /name John Doe /contact 98765432 /email johnd@example.com /address 311, Clementi Ave 2, #02-25 /subject Physics /classes 7A,7B t/hardworking
- The
-
Find command
- The
FindCommand
has been upgraded to allow more flexible and targeted searching of contacts. You can now use parameters with the find command in the following format:find /[TAG] [KEYWORD]
- This enables you to search for contacts based on specific keywords in corresponding attributes. You can also combine multiple tag-keyword pairs to search for contacts matching any of the given criteria.
- Find by multiple attributes: find
/name John /class 7A
- This command will return all contacts where the name contains "John" or the contact is in class "7A"
- Supported tags:
/name
: Filters contacts by name/class
: Filters contacts by class/email
: Filters contacts by email/phone
: Filters contacts by phone number/address
: Filters contacts by addresst/
: Filters contacts by any associated tag
- The
-
Clear command
- The existing
clear
command has been upgraded to allow more flexible and targeted clearing of contacts. - You can now use parameters with the
clear
command in the following format:clear /[TAG] [KEYWORD]
- This allows you to clear only the contacts that contain the specified keyword in the corresponding attribute.
- Example usage:
clear /name John /class 7A
: This will remove contacts where the name contains "John" or the contact is in class "7A".
- The existing
-
Sort command
- The
sort
command can be used to sort contacts based on various attributes. You can specify parameters to sort the contact list by name, subject or classes in the following format:sort [parameter]
- This allows you to quickly organise your contacts.
- Example usage:
sort name
: will sort the contact list alphabetically by name.sort subject
: will sort contacts based on their associated subject.sort classes
: will organise contacts by their classes.
- The
-
GUI Changes
- The colour of each contact label is determined by the role of the individual. For teachers, the labels are coloured green, while for students, they are blue.