Fang Hui Hui - Project Portfolio Page
Overview
Fitr is a command-line application, helping you keep track of your food intake and exercises.
Summary of Contributions
Code contributed
Enhancements implemented
- Implemented Goal feature
- This feature allows users to keep motivated to complete their goals
- Implemented smart goals to link the user’s calories with their goals, where Fitr will update the status of their goal with the user’s calorie consumed and calories burnt data (from the goal’s created date)
- Allow user to mark goals as complete, including overriding the smart goals function to ensure the user has control over the progress of the goals
- Allow user to manipulate goals data (including editing, deleting, clearing goal list)
- Ordered goals based on date created and status of goals when viewed so that the user is more encouraged to complete an uncompleted/old goal
- Implemented UI class
- This class prints all the messages the user sees, including colour coded words (e.g. red for errors, blue for additional feature tips etc.) and reads user inputs
- Consolidated the formats of all commands so that the user can know what commands and formats are available through the help command
- Added a format error method to print customised format errors for the various commands
- Added JUnit tests
- Added some JUnit tests to the goal components
Contributions to user guide
Contributed the following sections in the user guide:
- Adding goals (food, smart food, exercise and smart exercises)
- Viewing goal entries
- Editing a goal entry
- Clearing all goal entry
- Marking a goal as complete
Contributions to developer guide
Contributed the following sections in the developer guide:
- Ui component
- Parser component
- Help command
- View goal command
Contributions to team-based tasks
- Approved and merged some PRs
Reviewing/mentoring contributions
- Suggested some code improvements after reviewing my team’s PRs