Skip to content

Commit

Permalink
Merge pull request #233 from dhruvir29/branch-cs2101
Browse files Browse the repository at this point in the history
Update UG
  • Loading branch information
ItsTYtan authored Nov 15, 2023
2 parents dfdd53e + 493cf70 commit 17aa4c2
Showing 1 changed file with 37 additions and 5 deletions.
42 changes: 37 additions & 5 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ If you can type fast, [Ba]king [Br]ead can get your ingredient and recipe manage

--------------------------------------------------------------------------------------------------------------------
## Table of Contents
* [Glossary](#glossary)
* [Quick Start](#quick-start)
* [Navigating the GUI](#navigating-the-gui)
* [Features](#features)
Expand All @@ -40,8 +41,21 @@ If you can type fast, [Ba]king [Br]ead can get your ingredient and recipe manage

<div style="page-break-after: always;"></div>

## Glossary
Listed below are the definitions of the terminology used throughout the User Guide

| Term | Definition |
|:-------------------------------------|:-------------------------------------------------------------------|
| GUI (Graphical User Interface) | The visual interface of [Ba]king [Br]ead |
| Command | A set of words that execute a certain operation |
| Parameter | Specific information that a command needs for it to be run |
| UUID (Universally Unique IDentifier) | An integer that is used to identify the recipes |


## Quick start

New to [Ba]king [Br]ead? Not to worry, simply follow the instructions below to get started!

1. Ensure you have Java `11` or above installed in your Computer.

2. Download the latest `bakingbread.jar` from [here](https://github.com/AY2324S1-CS2103T-F10-3/tp/releases).
Expand All @@ -65,7 +79,7 @@ If you can type fast, [Ba]king [Br]ead can get your ingredient and recipe manage
## Navigating the GUI
![Ui](images/Ui-annotated.png)
**Input box:** This is where you will be inputting your commands.<br>
**Command result box:** Where the application will return a message regarding the outcome of command inputted.<br>
**Command result box:** Where the application will return a message regarding the outcome of command you inputted.<br>
**Ingredients list:** Contain a list view of all your ingredients with their specified quantity and unit.<br>
**Recipe list:** Contains a list view of all your recipes.<br>

Expand Down Expand Up @@ -96,9 +110,27 @@ If you can type fast, [Ba]king [Br]ead can get your ingredient and recipe manage
* If you are using a PDF version of this document, be careful when copying and pasting commands that span multiple lines as space characters surrounding line-breaks may be omitted when copied over to the application.
</box>

List of parameters:

| Parameter | Description | Constraints | Valid examples | Invalid examples |
|:----------|:-----------------------------------:|--------------------------------------------------|-----------------------|------------------|
| `n/` | Name of the ingredient | Alphanumeric characters (a to z, A to Z, 0 to 9) | Flour, Chocolate Chip | Chocolate-Chip |
| `q/` | Quantity of the ingredient | Must be numeric and more than 0 | 1000, 1, 200 | -100, hundred, 0 |
| `u/` | Unit used to measure the ingredient | Must be one of the supported units | GRAM, KILOGRAM, PIECE | ML, L, TSP |
| `i/` | UUID of recipe | UUID must be at least 1 | 1, 2, 3 | 0, -1, 0.1 |

Supported Units:

| Unit | Alias |
|----------|---------------------------------------|
| GRAM | g, gram, GRAM |
| KILOGRAM | kg, kilogram, KILOGRAM |
| PIECE | pc, pcs, piece, pieces, PIECE, PIECES |


### Viewing help : `help`

Shows a message explaining how to access the help page.
If you are not sure how to use [Ba]king [Br]ead, this command will show a pop-up with a link to access the help page.

<img src='images/helpMessage.png' width='650' align="center">

Expand All @@ -108,7 +140,7 @@ Format: `help`

### Adding an ingredient: `add`

Adds an ingredient to stock.
Adds an ingredient to the stock.

Format: `add n/NAME q/QUANTITY u/UNIT`

Expand Down Expand Up @@ -142,7 +174,7 @@ Supported Units:

### Using up ingredients : `use`

Depletes a specified amount of an ingredient from stock.
Depletes a specified amount of an ingredient from the stock.

Format: `use n/NAME [q/QUANTITY] [u/UNIT]`

Expand Down Expand Up @@ -177,7 +209,7 @@ Supported Units:

### Finding the quantity of an ingredient by name: `stock`

Lists the quantity of the specified ingredients.
Lists the quantity of the specified ingredient(s).

Format: `stock [NAME]…​`

Expand Down

0 comments on commit 17aa4c2

Please sign in to comment.