Wilbur's Project Portfolio Page
Project: Trace2Gather
Trace2Gather is a desktop address book application used for managing hotel guests and rooms. The user interacts with it using a CLI, and it has a GUI created with JavaFX. It is written in Java, and has about 10 kLoC.
Given below are my contributions to the project.
- New Feature: Search for guests by name
- What it does: Gives the user the ability to search for guests by name. Mirrors the logic from AB3 to search for Persons, with a different keyword.
- Justification: This feature would allow the user check if a certain guest has indeed stayed at the hotel in question.
- Highlights: Was not very challenging as the logic was quite similar to AB3’s
findlogic. - Credit: Original AB3 team.
-
Code contributed: RepoSense link
- Enhancements to existing features:
- Changed the identification logic for Person objects.
- Persons were initially identified by an
Idfield, which was regenerated every time Trace2Gather is opened. - Changed the
Idfield to anNricfield instead, which guarantees uniqueness and may eliminate bugs. - Edited the storage such that the
Nricof a person is stored in.
- Persons were initially identified by an
- Edited logic for prevention of duplicate person objects
- Changed the way duplications are handled. Instead of being handled by comparing the names of Person objects, Trace2Gather now does it by using its Nric field.
- This allows for Person objects to have the same name, which is more realistic as compared to disallowing duplicate names.
- Changed the identification logic for Person objects.
- Documentation:
- User Guide:
- Adapted user guide to suit our project.
- Fixed example usage of code, changed the tone of language used to be more engaging.
- Fixed most of the UG bugs from the PE-D.
- Developer Guide:
- Adapted UML diagrams to suit our project.
- Adapted developer guide to suit our project.
- Fixed any DG bugs that may have come up from changing the implementation of the AB3 code to suit Trace2Gather.
- Miscellaneous
- Adapted documentation to remove traces of AB3.
- User Guide: