Joseph Lim Wei Jie - Project Portfolio Page
Overview
Restaurant Daily Report
is a CLI app that generates a whitepaper, summarizing the internals of a restaurant. It’s aim is to provide restaurant owners a quick overview of how their restaurant is performing daily so that restaurant owners can better manage their business operations.
Summary of Contributions
Code contribution: You can view my code contribution for this project here:
- Enhancement added:
Add
functionality:- Allows flexibility in the ordering of the parameters specified from the user. For example: Entering
add stock; i/tomato; q/10; p/1.00;
andadd stock; i/tomato; p/1.00; q/10;
are both acceptable. - Customizes error messages according to the input supplied from the user. For example: Entering
add stock; i/;
will display the message:"The user's input must specify the ingredient's name!"
. Enteringadd stock; i/tomato; q/-10; p/1.00;
will display the message:"Please enter a positive value for the quantity to be added!"
- Displays a reminder to the user if the user input a similar ingredient name that exists in the stock. This is inform the user if he/she has made a typo that was undesired.
For example: Entering
add stock; i/ToMATo; q/10; p/1.00;
will display the following result, if tomato already exists in the stock:
- Allows flexibility in the ordering of the parameters specified from the user. For example: Entering
Delete
functionality:- Allows flexibility in the ordering of the parameters specified from the user. For example: entering
delete stock; i/tomato; q/10;
anddelete stock; i/tomato;
are both acceptable. - Allows the user to delete the ingredient by quantity count or remove from the stock entirely. For example: Entering
delete stock; i/tomato;
removes tomato entirely from the stock. Enteringdelete stock; i/tomato; q/1;
reduces the quantity of tomatoes in the stock by 1. - Customizes error messages according to the input supplied from the user. For example: Entering
delete stock; i/;
will display the message:"The user's input must specify the ingredient's name!"
while enteringdelete stock; i/tomato; q/-10;
will display the message:"Please enter a positive value for the quantity to be added!"
- Allows flexibility in the ordering of the parameters specified from the user. For example: entering
List
functionality- Lists ingredients in the stock from the highest quantity to the lowest quantity.
Search
functionality- Takes into account case-sensitivity of the keyword supplied from the user when searching against the stock.
Load
functionality- Loads the stock-related data from the
report.txt
file.
- Loads the stock-related data from the
-
Contributions to documentations:
- User guide contribution:
- Anchoring using Table of Content at the top of the user guide.
Section 1: Introduction
,Section 2: Quick Start
,Stock
related commands fromSection 3 - Section 4
and all images used in the User Guide.
- Developer guide contribution:
- Anchoring using Table of Content at the top of the developer guide.
1.1 Search stock feature
and1.2 List stock ingredients in descending quantity
- Stock-related
User Stories
inAppendix B
andInstructions for Manual Testing
forDish
andStock
inAppendix E
.
- User guide contribution:
- Team-based Task
- Automate testing by incorporating test cases using text-ui-test.
- Release
Restaurant Daily Report v2.0
andRestaurant Daily Report v2.1
.
Review/Mentoring contributions: Troubleshoot failing CI-Test in issue #74