Skip to content

v1.3

Choose a tag to compare

@NicholasT1 NicholasT1 released this 17 Oct 12:15
9fbbcdd

What's Changed

Adding a person: add

  • Fields have been updated to be more relevant for NUS students and TAs
  • Some fields are now optional (Indicated with [ ])

Updated Syntax: add n/NAME id/NUS_STUDENT_ID [nid/NUS_NET_ID] [m/MAJOR] [y/YEAR]
Example: add n/Bob id/a1234567p nid/e1234567 m/Computer Science y/2

Screenshot 2024-10-17 195404

Finding a person: find

  • Now supports finding a person using their Student ID
  • Works with only one field provided

Updated Syntax: find n/NAME id/NUS_STUDENT_ID
Example: find id/a1234567p

After list command:

Screenshot 2024-10-17 200019

After find id/a1234567p command:

Screenshot 2024-10-17 200036

Deleting a person: delete

  • Customized feedback for delete when the list is empty
  • Customized feedback for delete when index is larger then list size
  • Customized feedback for delete incorrect format has been made more verbose

Example: delete 1 , from an empty list
image
Example: delete 2 , from a list which has a size of 1
image
Example: delete , which is not correctly formatted
image

Listing students: list

  • Special error message when list command is used when list is empty
image

Editing a student: edit

  • Edit command now supports editing a student's name, student ID, NUS NET id, major or year
  • Must have at least 1 optional field (indicated with '[ ]')

Updated Syntax: edit INDEX [n/NAME] [id/NUS_STUDENT_ID] [nid/NUS_NET_ID] [m/MAJOR] [y/YEAR]
Example: edit 1 n/bob

Before edit command:

image

After edit command:

image

New Contributors

Full Changelog: https://github.com/AY2425S1-CS2103T-W10-1/tp/commits/v1.3