Lim Jun Cheng's Project Portfolio Page
Project: ZooKeep
ZooKeep is a desktop app for managing animals under a zookeeper’s care, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI), created with JavaFX. It is written in Java, and has about 10 kLoC.
Given below are my contributions to the project.
- New Feature: Added the ability to redo commands that were undone by the undo command: #147
- What it does: allows the user to reverse all the preceding undo commands one at a time.
- Justification: If there exists an undo function that rectifies mistakes made by users, then there should also be a redo function in case users make mistakes again, accidentally undoing too many commands and want a convenient way to restore them.
- Highlights: This enhancement, similar to undo, was added as an extension and did not require any modifications to be made to existing commands (other than undo) since redo only needs to track the changes in the state of the ZooKeepBook following an undo command. It was difficult to decide on an appropriate way for redo to keep track of commands that change the ZooKeepBook state since commands go through several processes from user to execution.
- Credits: Similar to the undo feature, the redo command was implemented using a stack (which stores states of the ZooKeepBook that were undone by the undo command).
-
Code contributed: RepoSense link
- Enhancements to existing features:
- Documentation:
- User Guide:
- Added information on data saving in FAQ: #199
- Added documentation to clarify constraints for ID entries: #199
- Changed ‘feeding times’ to ‘feed times’ to be consistent with code base: #199
- Clarified format for feed time and addressed issues about leading zeroes in ID: #270
- Confirmed that find command supports both substring matching and full word matching: #304
- Developer Guide:
- Added implementation details of the
redo
feature: #144 - Added relevant UML diagrams to complement the implementation details of
redo
: #144 - Changed some instances of ‘person’ in various sections to ‘animal’: #199
- Modified the ‘Deleting an animal’ section of the Appendix: #199
- Appended 2 new scenarios to the ‘Saving Data’ section of the Appendix: #199
- Added implementation details of the
- User Guide:
- Team-based tasks:
- [DG] Added relevant Non-Functional Requirements (NFRs) and Glossary: #20
- [UG] Modified the descriptions of all available features to be more user-centric: #222
- [UG] Included different screenshots of ZooKeep to complement the examples given for all the features: #268, #313
- [DG] Modified entries in NFRs and added some new Glossary entries: #305
- Added relevant documentation issues to the repository: (#217, #218, #219)