Insura-Connect v1.2 Release
Existing features
These features were already implemented in the previous release.
Viewing help : help
Shows a message explaining how to access the help page.
Format: help
Adding a person: add
Adds a person to the address book.
Format: add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…
Alert: This feature was changed in this release. Refer to the update below for more details.
Listing all persons : list
Shows a list of all persons in the address book.
Format: list
Editing a person : edit
Edits an existing person in the address book.
Format: edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [t/TAG]…
Alert: This feature was changed in this release. Refer to the update below for more details.
Locating persons by name: find
Finds persons whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
Alert: This feature was changed in this release. Refer to the update below for more details.
Deleting a person : delete
Deletes the specified person from the address book.
Format: delete INDEX
Clearing all entries : clear
Clears all entries from the address book.
Format: clear
Exiting the program : exit
Exits the program.
Format: exit
New Features
New feature: Policy
Clients now have a field policy that describes the insurance policy currently assigned to that client. By default, when adding a new client no policy will be assigned. Users can assign a policy to a client by using the policy command with the format policy INDEX po/POLICY_NAME.
The client’s card will now display the assigned policy.
Users can remove the policy by leaving POLICY_NAME empty using the same command.
Partners will not have an assigned policy and users cannot assign a policy to a partner.
New feature: Undo/Redo
Undo
Typing in the command undo will undo the previous command if it affects the data; previous commands such as delete 1 or add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 r/client t/friends t/owesMoney are undoable while commands such as list are not.
For example, the above add command has been executed as shown in the diagram below

Typing in the undo command will result in the previous add command to be undone and the person to be removed as shown in the diagram below. The undo command will show if the undo has been a success or if the undo is unable to undo

Redo
The redo command only works after an undo command has been performed. For example, the redo command after performing the above undo command adds back the person John doe as shown in the diagram below.

New Feature: Enhanced Find Command
The find feature in InsuraConnect has been upgraded to provide more robust search functionality. You can now search for clients not only based on their names but also using relationships and assigned tags, allowing for a more comprehensive and refined search to locate client information quickly.
Find by Multiple Criteria
With the improved find command, you can specify multiple criteria across different fields. For instance, if you want to find a client named John Doe who is tagged as a "VIP" and is your "client", the command would be:
For example, find n/John Doe t/VIP r/client will be executed as follows:
This command will filter the list to show only persons who match any of the provided criteria: name containing "Alex", having the tag "colleagues", and with the relationship status of "partner".
New feature: Relationship
Each contact information now have a field relationship indicates the relationship of the person with the users. The relationship field is mandatory when adding a new contact into the contact list. Users can add a new contact information into the contact list by using the add command with the format add n/NAME p/PHONE e/EMAIL a/ADDRESS r/RELATIONSHIP [t/TAG]....
The new add contact will now display in the contact list with the relationship showed.
The relationship field can only be client or partner.





