From 4ecc210cbcea4385beea144667fd384ddac2861f Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Fri, 21 Oct 2022 04:46:47 +0800 Subject: [PATCH 01/11] Refactor FoodRem CSS --- docs/_sass/foodrem.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/_sass/foodrem.scss b/docs/_sass/foodrem.scss index 8966b7a9d70..f2325e97b51 100644 --- a/docs/_sass/foodrem.scss +++ b/docs/_sass/foodrem.scss @@ -207,6 +207,8 @@ html { } } -article.post a { - color: #00769a; +article.post { + a { + color: #00769a; + } } From dc93ba4c80aa16ad540d8ff2ddf8093c899c1e10 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Fri, 21 Oct 2022 04:47:13 +0800 Subject: [PATCH 02/11] Fix chopped off elements when printing --- docs/_sass/minima/_base.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/_sass/minima/_base.scss b/docs/_sass/minima/_base.scss index fd476d17df8..b2dd7b5ca70 100644 --- a/docs/_sass/minima/_base.scss +++ b/docs/_sass/minima/_base.scss @@ -280,7 +280,8 @@ table { /** * Prevents page break from cutting through content when printing */ - body { + body, + main.page-content { display: block; } /** From 61681a508fe22eece147090923fec18003d7da13 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Fri, 21 Oct 2022 04:48:10 +0800 Subject: [PATCH 03/11] Remove bottom margin for children of list items --- docs/_sass/foodrem.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/_sass/foodrem.scss b/docs/_sass/foodrem.scss index f2325e97b51..b002d804caa 100644 --- a/docs/_sass/foodrem.scss +++ b/docs/_sass/foodrem.scss @@ -211,4 +211,8 @@ article.post { a { color: #00769a; } + + li p { + margin-bottom: 0; + } } From 8eaa7b8ef523ea558a093bd18f397b9b59fc944a Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Fri, 21 Oct 2022 04:48:34 +0800 Subject: [PATCH 04/11] Add utility class for letter-ordered lists --- docs/_sass/foodrem.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/_sass/foodrem.scss b/docs/_sass/foodrem.scss index b002d804caa..10254b01437 100644 --- a/docs/_sass/foodrem.scss +++ b/docs/_sass/foodrem.scss @@ -215,4 +215,8 @@ article.post { li p { margin-bottom: 0; } + + .lower-alpha { + list-style-type: lower-alpha; + } } From 1251aa236813e1e94924d7cd2168903332e746c1 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Fri, 21 Oct 2022 04:50:04 +0800 Subject: [PATCH 05/11] Fix list formatting of future extensions * Use proper ordered lists with letters as markers * Make formatting consistent --- docs/UserGuide.md | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 7e42ef681a7..59772f6f379 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -157,15 +157,36 @@ Something goes here... (NOT COMPLETED) 1. Food expiring soon / Date food bought - **Glorified search and sort** - a. Upgrade sort and search b. Sort food items by quantity c. Sort food items by name d. Sort food items by expiry - date e. Sort food items by purchase date -1. Food buffer a. Rainbow UI / Dashboard b. Optional : Minimum acceptable quantity c. Optional : Percentage of stock - expiring + +1. Glorified search and sort + + 1. Upgrade sort and search + 1. Sort food items by quantity + 1. Sort food items by name + 1. Sort food items by expiry date + 1. Sort food items by purchase date + {: .lower-alpha} + +1. Food buffer + + 1. Rainbow UI / Dashboard + 1. Optional : Minimum acceptable quantity + 1. Optional : Percentage of stock expiring + {: .lower-alpha} + 1. Purchasing (Hard -> Will not see benefit immediately) - a. History + Statistics b. Inventory need a price of items -1. (Last priority) Order management a. Grouping of items b. Creation of menu with specific items c. Record menu items - bought d. Statistics + + 1. History + Statistics + 1. Inventory need a price of items + {: .lower-alpha} + +1. (Last priority) Order management + + 1. Grouping of items + 1. Creation of menu with specific items + 1. Record menu items bought + 1. Statistics + {: .lower-alpha} ## Acknowledgements From 1f960c67135e922975eea06f7f16ad0d0e425a6d Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Fri, 21 Oct 2022 04:51:04 +0800 Subject: [PATCH 06/11] Use bold text for future extensions' items --- docs/UserGuide.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 59772f6f379..a535b8208a1 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -156,9 +156,9 @@ Something goes here... (NOT COMPLETED) -1. Food expiring soon / Date food bought +1. **Food expiring soon / Date food bought** -1. Glorified search and sort +1. **Glorified search and sort** 1. Upgrade sort and search 1. Sort food items by quantity @@ -167,20 +167,20 @@ Something goes here... 1. Sort food items by purchase date {: .lower-alpha} -1. Food buffer +1. **Food buffer** 1. Rainbow UI / Dashboard 1. Optional : Minimum acceptable quantity 1. Optional : Percentage of stock expiring {: .lower-alpha} -1. Purchasing (Hard -> Will not see benefit immediately) +1. **Purchasing (Hard -> Will not see benefit immediately)** 1. History + Statistics 1. Inventory need a price of items {: .lower-alpha} -1. (Last priority) Order management +1. **(Last priority) Order management** 1. Grouping of items 1. Creation of menu with specific items From 6d66cd3474f1550a77332d990e4e0b21e16fec64 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Fri, 21 Oct 2022 04:59:46 +0800 Subject: [PATCH 07/11] Remove hard breaks from UserGuide.md --- docs/UserGuide.md | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index a535b8208a1..c71767fa738 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -5,18 +5,14 @@ show-toc: true --- ## About -We want you to spend less time keeping track of perishable goods in your daily operations. -FoodRem is a command line application that enables you to efficiently record, update and categorise food items. -It is a convenient administrative tool that can answer the following questions in a flash: +We want you to spend less time keeping track of perishable goods in your daily operations. FoodRem is a command line application that enables you to efficiently record, update and categorise food items. It is a convenient administrative tool that can answer the following questions in a flash: * What food items are about to expire? * How much of each condiment do I have? * Which food items are newly purchases? * ...and many more! -With a few quick commands, you can have complete control of your perishable goods, so you can focus on what -is important: serving your customers, improving menu recipes, and transforming your business into the next -success story. +With a few quick commands, you can have complete control of your perishable goods, so you can focus on what is important: serving your customers, improving menu recipes, and transforming your business into the next success story. ## Key Features @@ -43,8 +39,7 @@ This app is targeted at small F&B businesses which may struggle in inventory man This guide is targeted at users using FoodRem who wants to find out more about the different commands to manage their inventory in a quicker and more efficient manner. -Readers do not have to be familiar with the command line to use this guide effectively. -The only expectation we have of you is to carefully read through the different sections. +Readers do not have to be familiar with the command line to use this guide effectively. The only expectation we have of you is to carefully read through the different sections. {% include page-break.html %} @@ -54,8 +49,7 @@ The only expectation we have of you is to carefully read through the different s Thank you for choosing FoodRem! We are delighted to have you as a user and aim to serve you well! -To gain the most out from this User Guide, start off with the [Quick Start](#quick-start) section. -This will give you a brief overview about how to use this application. +To gain the most out from this User Guide, start off with the [Quick Start](#quick-start) section. This will give you a brief overview about how to use this application. It is **highly recommended** that you read through the User Guide in a **sequential order** up until the section [Features](#features) where you can find all the information you need for each command. @@ -74,17 +68,14 @@ It is **highly recommended** that you read through the User Guide in a **sequent * Important syntax you will come across while reading the user guide such as `n/`, `bgt/` or `INDEX`, `ITEM_NAME`. -If you are confident, you can immediately refer to the [Command Summary](#command-summary) -after completing the [Quick Start](#quick-start). +If you are confident, you can immediately refer to the [Command Summary](#command-summary) after completing the [Quick Start](#quick-start). Meaning of icons: * ℹ️ : additional info * ❗ : warning -If you are stuck, refer to [Troubleshooting](#troubleshooting) or [FAQ](#faq). -There is also a [Glossary](#glossary) that contains definitions of what common words -used in this application mean. +If you are stuck, refer to [Troubleshooting](#troubleshooting) or [FAQ](#faq). There is also a [Glossary](#glossary) that contains definitions of what common words used in this application mean. It is time for you to unleash the potential of a command line application! From 8686d7252607bb0eeb26d45963c8b50daed63ac8 Mon Sep 17 00:00:00 2001 From: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Date: Fri, 21 Oct 2022 05:02:17 +0800 Subject: [PATCH 08/11] Remove hard breaks from DeveloperGuide.md --- docs/DeveloperGuide.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index cc2758df555..fd8b062ff84 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -215,8 +215,7 @@ Step 4. The user now decides that adding the item was a mistake, and decides to ![UndoRedoState3](images/UndoRedoState3.png) -