Skip to content

v1.2

Compare
Choose a tag to compare
@sdevih sdevih released this 21 Mar 15:58
· 293 commits to master since this release
00448a2

Here's the key features and what's new in Version 1.2 of Elder Scrolls

LIST: Elder Scrolls now displays volunteers and befriendees separately
You can now view the volunteer and befriendee contacts using split view in order for to easily use the commands pair, unpair, delete, which requires the specification of indexes.

List:

image

FIND: Elder Scrolls also supports searching Persons via keyword
You can search for specific persons using keywords with the find command, which shows both volunteer and befriendee contacts that match the keyword. This is used closely with list, to return to the global list of all persons.

Example Usage:
find Jack

find

ADD: Adding a Person designated as a volunteer or a befriendee role

You can add new Persons to the Elder Scrolls application. When adding a new contact, you need to indicate whether they are a volunteer or a befriendee using r/volunteer or r/befriendee. A contact is either volunteer or befriendee, and cannot be both.

add n/NAME r/ROLE p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…​

Example Usage:
add n/John Doe p/98765432 e/[email protected] a/John street, block 123, #01-01 r/volunteer

add

PAIR/UNPAIR: Elder Scrolls can now pair and unpair volunteers and befriendees

You can now pair a volunteer and befriendee together by specifying their respective indexes in their lists using the command pair INDEX_BEFRIENDEE INDEX_VOLUNTEER. When the pairing is successful, the contacts will reflect the name of the contact they are newly paired with within their contact card in the Paired with field.

Example Usage:
pair 1 1

pair

Similarly, you can unpair a volunteer and befriendee who are already paired, by specifying their respective indexes in their lists using the command unpair INDEX_BEFRIENDEE INDEX_VOLUNTEER. When the unpairing is successful, the contacts will reflect the name of the contact they are newly paired with within their contact card in the Paired with field.

Example Usage:
unpair 1 1

unpair

DELETE: You can now delete a contact only if the contact is not paired
You can now only delete a contact if it is not already paired with another contact. You have to unpair the paired contacts before deleting the specified contact.

Example Usage (Throws an Error):
remove 1 r/volunteer

image

You can now use delete, del, rm, remove as commands to delete a contact
The command keywords delete, del, rm, remove are all now recognised commands for the deletion of contacts.

remove

EDIT: You can now edit contacts
You can edit existing persons' information in the Elder Scrolls application. The edit command allows you to modify various fields including the name, phone number, email, address, and tags. Additionally, when editing a contact's name, it will also update the name displayed for the paired contact if they are currently paired.

edit INDEX [r/ROLE] [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [t/TAG]

Example Usage:
edit 1 r/befriendee n/David Tan

edit

Note: The index must be a positive integer. At least one field must be provided for editing. Existing values will be updated to the input values.

This allows users to efficiently modify the details of contacts, within the Elder Scrolls application, without the need to delete and re-add to modify the details.