Code Monkey home page Code Monkey logo

pe's People

Contributors

tlyi avatar

Watchers

 avatar

pe's Issues

Inaccurate error message for deleting with negative index

Steps to reproduce:

  1. Input delete command with negative index

Expected:
Error message saying index number cannot be negative

Actual:
Error message saying command format is invalid, but not mentioned anywhere that index number cannot be negative (though it is stated in the UG, it should probably be mentioned in the app as well)

image.png

Unnecessary warehouse shelf automatically loaded

Not sure if it was intended but the warehouse shelf is automatically created.
Perhaps it would be a good idea to tell the user about that in the UG, as now it seems like it was unintentionally left inside the app.

Able to create shelf with leading whitespace but unable to delete it

Steps to reproduce:

  1. Create shelf with name " Potato"
  2. Delete shelf with name " Potato"

Expected:
Able to delete " Potato", since the message tells me that shelf with " Potato" has been created.

Actual:
Shelf with name " Potato" cannot be found.

image.png

Edit: Realised that " Potato" was created as "Potato", so I could delete it by deleting "Potato". However, I think the message Shelf " Potato" has been created is very misleading, since the name here includes the leading whitespace.

Very big numbers not handled properly for delete command

Steps to reproduce:

  1. Try the delete command with a very big number as the index, e.g 3294324947324373

Expected:
Error message as item with index 3294324947324373 is not found.

Actual: Error message that seems unintentional and does not provide any information:
image.png

Error messages for invalid command format throughout the app is very general.

Especially for commands where multiple parameters are accepted, it is hard to tell which parameter I provided wrongly, since the error messages are the same every time (invalid format).

E.g: add command

First error: Selling price negative number

Second error: Quantity parameter missing

In both cases, same error message is shown; not very helpful to the user.

image.png

UI feels very unbalanced

Not sure if this was intended but all the messages seem to be pushed to the right. This made the viewing experience less pleasant.

image.png

Storage component lacking elaboration

The sequence diagrams contains a lot of information but they were not explained properly. Some of the methods in the sequence diagram is not trivial, and more details could have been provided to explain the logic.

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.