Project: InternBook
InternBook is a desktop intern book application used for managing internship companies and contacts. 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.
- Added user stories and use cases in developer guide in v1.1
- Created a sort command in v1.2 to allow users to sort list in alphabetical order. This included:
- Creating a SortCommand class and integrating it with the current InternBookParser class
- Added a test case for the SortCommand class
- Integrated the Date class to AddCommand in v1.3. This included:
- Editing AddCommandParser and AddCommand to allow for adding of companies with dates
- Made dates an optional field when adding companies
- Modified the gui to display the dates when they are present
- Modified the gui to display "No phone number" when phone numbers are not present
- Modified the Messages class to show different messages when adding companies depending on whether phone or dates are present
- Further implemented sort command in v1.3 to allow for different kind of sorting. This included:
- Creating an SortType enum for the different type of sort types for Company class
- Allowing sort command to take in a sort type as argument, allowing users to choose how they want list to be sorted
3)Implemented 3 different kind of sorting,
- In ascending alphabetical order of company names
- In ascending order of company application start date
- In ascending order of company application end date