Skip to content

MVP

Compare
Choose a tag to compare
@AgentHagu AgentHagu released this 17 Oct 15:55
· 382 commits to master since this release
b80bcbd

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:

  1. 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
  2. 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
  3. 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:
      1. /name: Filters contacts by name
      2. /class: Filters contacts by class
      3. /email: Filters contacts by email
      4. /phone: Filters contacts by phone number
      5. /address: Filters contacts by address
      6. t/: Filters contacts by any associated tag
  4. 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:
      1. clear /name John /class 7A: This will remove contacts where the name contains "John" or the contact is in class "7A".
  5. 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:
      1. sort name: will sort the contact list alphabetically by name.
      2. sort subject: will sort contacts based on their associated subject.
      3. sort classes: will organise contacts by their classes.
  6. 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.

Screenshots

photo_2024-10-17_23-42-18