Wu Haohui's Project Portfolio Page
Project: bobaBot
bobaBot is a desktop application for managing customers’ membership details. It is optimized for Command Line Interface (CLI) while retaining some benefits of the Graphical User Interface (GUI). If you are a cashier working at a bubble tea shop and can type fast, bobaBot can help you easily find and manage your customers’ membership information as compared to other GUI applications.
bobaBot contains a database of customers’ information and supports operations to add, update, delete and even find customers based on various inputs. Every entry in the database contains the customer’s name, phone number, email address, birthday month, reward points and membership tags.
bobaBot is written in Java and has about 13 kLoC.
Given below are my contributions to the project.
- New Feature: CLI Calculator
- In: PR #151, PR #247
- What it does: Allows the cashiers to perform arithmetic calculation (+, -, *, /) within bobaBot
- Justification: This feature improves the product significantly because cashiers can type arithmetic in command line much more faster than on normal calculators.
- Highlights: It supports multiple combined arithmetic operations and precedence (parenthesis in the expression). The implementation involved lexical analysis and calculator language parsing. It parse the expression string into a list of tokens with a certain order that the program can understand and perform calculation correctly base on it
- Credits: Adapted from logic from https://www.daniweb.com/programming/software-development/threads/442690/java-expression-parser-calculator
- New Feature: GUI Calculator
- In: PR #153, PR #261
- What it does: Launch a build-in calculator in GUI. The calculator is a normal one with keys of numbers and operators.
- Justification: This feature improves the product significantly because cashiers do not need to switch their hands to a separate physical calculator. This speed up the process of calculating order amount and changes in reward
- Highlights: The implementation involved works on JavaFX such as creating new controller, fxml for the new calculator window
- Credits: Reused from https://gist.github.com/argius/08834fab73b91de8d79b with modifications and bug fixes
-
Code contributed: RepoSense link
- Project management:
- Enhancements to existing features:
- Documentation:
- Community:
- Contributed to forum discussions (examples: 1, 2)
- Reported bugs and suggestions for other teams in the class during PE dry run. #Bugs Reported