Rui En's Project Portfolio Page
Project: Serenity
Serenity is a desktop application that helps CS2101 tutors manage their tutorial groups and lessons. The user interacts with it using a CLI, and it has a GUI created with JavaFX. It is written in Java, and has about 25k LoC.
Summary of contributions
Given below are my contributions to the project.
-
New Feature 1: Implemented UI parts and added functionality accordingly.
-
What it does:
-
Adds the home page and the side bar. Modifies the tutorial group page UI and tutorial lesson page UI. Adds a title for each page so that users can navigate between the home page, tutorial group page and tutorial lesson page with greater clarity.
-
viewatt
andviewscore
- Allows users to view the attendance sheet and participation score sheet of the specified tutorial group respectively. -
viewflag
- Allows users to view the flagged attendance records.
-
-
Justification: This enhancement allows users to easily navigate within Serenity and enhances the visuals of the information presented, improving the user experience. This enhancement also encapsulates more features within the UI, allowing users to view flagged attendance, pending questions, attendance sheet and participation score sheet.
-
Highlights: This enhancement requires an in-depth understanding of the Ui, Logic and Model components. The implementation was challenging as the information handled by the Model components have to be correctly processed to be displayed in the Ui. Some Ui components also involve execution of commands and they require modifications to be made to the Logic components.
-
-
New Feature 2: Incorporated Excel XLSX file support
-
What it does:
-
Allows XLSX files to be read and written.
-
exportatt
- Allows users to export attendance sheet of a specified tutorial group as a XLSX file. -
exportscore
- Allows users to export participation score sheet of a specified tutorial group as a XLSX file.
-
-
Justification: The XLSX file support allows users to conveniently create a new tutorial group without having to manually add students into the tutorial group in the app. Furthermore, the XLSX file support helps users who work part-time (i.e. part-time CS2101 tutors) to easily export attendance sheet for submission to receive their salary claims. Being able to export attendance and participation score sheets also enable users to save the XLSX files for future reference.
-
Highlights: This implementation requires an in-depth understanding of the Logic and Model components, as well as the APACHE POI library for XLSX file support. Time was spent to think about what makes a XLSX file valid for Serenity, i.e. what are the information that must be present in the XLSX file for Serenity to successfully read and create a new tutorial group. Consequently, some time was spent to set up a series of error messages to be displayed to the user, should invalid XLSX files be supplied.
-
-
New Feature 3: Added the ability to add and delete tutorial groups through commands
-
What it does:
-
addgrp
- Allows the users to add a new tutorial group from an Excel XLSX file containing a list of students. -
delgrp
- Allows the user to delete an existing tutorial group.
-
-
Justification: This feature is integral to the core functionality of the product because it allows the user to keep track of all the tutorial groups that the user is handling. Subsequently, the user can keep track of the tutorial lessons and students inside each tutorial group.
-
Highlights: Moderate amount of effort was made as implementation of the commands was rather straightforward. Though some time was spent to fix the Ui and Storage bugs concerning the commands.
-
-
Code contributed: RepoSense link
- Project management:
- Modified and commented on parts of the code to improve code quality.
- Drafted out all the commands and added extension commands in a Google Document after the User Guide consultation with our Teaching Assistant to standardise the commands.
- Drafted out the Ui design in Google Slides to make the development process clearer.
- Brainstormed ideas for the different features and the execution of the commands.
- Contributed to the minutes during weekly team meetings and consultations for future referencing.
- Enhancements to existing features:
- Detected and fixed bugs for some features. ( Pull requests #125, #185, #196, #257, #282, #320)
- Wrote additional tests for existing features to increase test coverage. ( Pull requests #41, #320)
- Improve code quality for certain commands to adhere to coding principles. ( Pull requests #192, #320)
- Made improvements to UI. ( Pull requests #117, #160, #175, #180, #192, #195)
- Documentation:
- User Guide:
- Improved the Introduction section, added the About section, added documentation for the features
addgrp
,delgrp
,exportatt
,exportscore
edited and standardised the documentation for the other features, separated the Command Summary table into 5 tables where each table covers 1 main feature. ( Pull request #121) - Updated the table of contents and fixed a minor UG bug. ( Pull request #129)
- Added details to the Layout of the GUI section,
added documentation for the features
viewatt
,viewscore
,viewflag
, edited the other features to encapsulate the GUI changes, updated the Command Summary table. (Pull request #201)
- Improved the Introduction section, added the About section, added documentation for the features
- Developer Guide:
- Added details for the Architecture, Ui component, Logic component and Student Manager. ( Pull request #281)
- User Guide:
- Community: