Giter Site home page Giter Site logo

pe's People

Contributors

zatkiller avatar

Watchers

 avatar

pe's Issues

Add order command fails on quantity 0

When quantity for a dish is specified as 0, the command throws an error message. However 0 is a valid number for a quantity. Error message does not capture it either as the message is "Non-negative integer must be specified" when integer is a non-negative integer

Command: order add n/hello dt/2020-02-27 d/1 q/0

Expected: Command to be valid

Actual: Error message shown "Non-negative integer must be specified"

Screenshot:

image.png

Missing edit ingredient user story

DG has no user story which is about editing or changing the quantity of the ingredients, even though there is a feature to edit the ingredient and decrease the ingredient quantity

User stories regarding ingredients:

image.png

Typo in UG

No details provided.

Feature list indicates 'Mark order as completed' while actual header is 'Mark order as complete'. Believe there's is a typo and should be completed

Feature List:
image.png

Actual Header:
image.png

Invalid date allowed for add order command

Invalid date of 31 Feb allowed

Command: order add n/1 dt/31-02-2021 18:30 d/1 q/1

Expected: Invalid date error message:

Actual: Order added with date 28-02-2021

Command:
image.png

Result:
image.png

Traces of AB3 found

Log file still named after addressbook. Traces of AB3 should be removed now that the app has been renamed to JJIMY

image.png

Incorrect error message for invalid time

Invalid datetime value throws invalid datetime format error message instead of invalid datetime value
when timing of 18:70 is used. Still adheres to DD-MM-YYYY -HH:MM format.

Command: order add n/2 dt/14-02-2021 18:70 d/1 q/1 d/3 q/1

Expected: Expected error message like "Invalid datetime / invalid time"

Actual: "Invalid datetime format" error message

image.png

Invalid quantity allowed when editing data files

Editing ingredientbook.json quantity value to -100 is reflected in the UI even though it is an invalid value for quantity. Ideally, the app should throw an error but the UI reflects it an nothing happens

ingredientbook.json:
image.png

UI:

image.png

Invalid name on add customer successful

Invalid name of Alan T\nan used. However command is successful instead of error message

Command: customer add n/Alan T\nan p/81236789 e/[email protected] a/21 Lower Kent Ridge

Expected: Invalid name error message

Actual: Successfully added person

image.png
image.png

Invalid time for add order allowed

Timing specified for midnight should be 00:00. However when 24:00 value is used as timing, command is successful and adds the order as the following day

Command: order add n/1 dt/14-02-2021 24:00 d/1 q/1 d/3 q/1

Expected: Invalid time value

Actual: Command is sucessful

Command with datetime of 14-02-2021:
image.png

Order added as 15 Feb 00:00
image.png

Invalid dish price allowed when editing data file

Editing the dishbook.json file price to a negative double is allowed. Here, I went to the dishbook.json file and edited the price to be -11.5, which is reflected in the app. Ideally, app should throw an error that there is an invalid price but the negative price is allowed

dishbook.json:
image.png

UI:
image.png

Quantity error message incorrect

Command: inventory decrease 6 q/2

When trying to decrease quantity below 0, error message received is "The quantity entered is invalid, please enter a positive number only!". However, the quantity input is valid since 2 is a positive number.

Expected: Error message where quantity cannot go below 0

Actual: Error message - "The quantity entered is invalid, please enter a positive number only!"

image.png

Example for valid datetime format can be better

UG specifies datetime format as DD-MM-YYYY HH:MM format. However the example given is in the DD-MM-YYYY format. While this may be valid, I think a better example using the full DD-MM-YYYY HH:MM format should be used for a clearer demonstration

image.png

Missing edit dishes user story in DG

In the user guide, there is are features to edit the dish information. However under the user stories, there is no such user story about these features. Only add and remove dishes are present

DG navigation link not working

Clicking on Setting up, getting started in the table of content of the PDF does not navigate me to that section. However, it does on the Developer Guide website

image.png

UG example cut off

Many of the UG examples here are cut off, does not show full command format. User will be unable to know the full command format to use the command correctly

image.png

image.png

image.png

image.png

Wrong error message for find ingredient

Using a negative value for the quantity throws an invalid command format error message when it should be an invalid quantity value

Command: inventory find n/tomato q/-1

Expected: Invalid quantity error message

Actual: Invalid command format error message

Error message:
image.png

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.