Giter VIP home page Giter VIP logo

pe's People

Contributors

ivanderjmw avatar

Watchers

 avatar

pe's Issues

[CS2113T-F11-1][TheSchwarzenegger] Error with parsing duplicate arguments

Bug

When given duplicate arguments, the program will parse as if nothing is wrong.

Steps to reproduce

  1. Enter profile menu.
  2. Delete any profile that exists using delete.
  3. Input the following: add /n Name /n Name 2 /h 182 /w 90 /e 120 /c 0

Expected output

Prompts the user to reenter because there is an error

Screenshot

Screenshot 2020-11-13 at 4.37.52 PM.png

[CS2113T-F11-1][TheSchwarzenegger] Duplicate input arguments does not show parse error.

Bug

If a user specifies an argument more than once, the program will take it as a valid input.

Steps to reproduce

  1. Enter workout to enter workout session.
  2. Create a new session using new.
  3. Input the following, add Pushups /n 20 /w 8 /n 90 /w 20, or something similar.
  4. The program will proceed with no errors.

Expected output

Prompt the user to enter a valid input.

Screenshots

Screenshot 2020-11-13 at 5.21.44 PM.png

[CS2113T-F11-1][TheSchwarzenegger] Lost User Data on Runtime.

Bug

Losing a diet session data

Steps to recreate

  1. Enter the diet session.
  2. Create a Diet Session using new.
  3. Add a food in that diet session, e.g. add food /c 20000.
  4. Exit that session using exit.
  5. List the diet sessions with list.
  6. Create a new diet session with new.
  7. Type an invalid command, e.g. exit.
  8. Enter end.
  9. View the list again. Your last created diet session is gone.
    Shown as attached in the screenshots. Sorry for long post.

Expected output

User data should be preserved.

Screenshots.

Screenshot 2020-11-13 at 5.15.29 PM.png
Screenshot 2020-11-13 at 5.15.36 PM.png

[CS2113T-F11-1][TheSchwarzenegger] No Such Element Except

Bug

A thrown exception: java.util.NoSuchElementException: No value present.

Steps to reproduce

  1. Open diet menu.
  2. Create a new diet session by using new.
  3. Try to search by entering search something.
  4. Program will return the indicated exception.

Expected

Either search returns no results, or prompts the user to add a diet session.

Screenshots

Screenshot 2020-11-13 at 4.57.20 PM.png

[CS2113T-F11-1][TheSchwarzenegger] Error in UML Sequence diagram

  • The classes are missing semicolons :. They should be :Duke, :CommonUI, and etc.

  • A missing actuation bar between CommonUi and Duke seems to break the consistency of the diagram.

  • The user does not seem to receive a feedback from the program in this diagram.

Screenshot 2020-11-13 at 5.31.15 PM.png

[CS2113T-F11-1][TheSchwarzenegger] Confusing date formats

Bug

Date formatting is mixed, between dd-MM-yyyy and DD-MM-YYYY

Details

Inside diet menu, the new command uses yyyy-MM-dd, while the search command uses DD-MM-YYYY.

Expected

Both date formats should be identical to ease the user.

Screenshot

Screenshot 2020-11-13 at 4.52.18 PM.png
Screenshot 2020-11-13 at 4.53.22 PM.png

[CS2113T-F11-1][TheSchwarzenegger] DG p.5 Errors in Class diagram

The methods are not written in the correct format.

It should have been in this format: +/- methodName(signature): returnType
Screenshot 2020-11-13 at 5.56.59 PM.png

Based on the descriptions, it seems like CommonUi has static methods. Maybe you could underline the methods to indicate it as static, also if it is a static class.
Screenshot 2020-11-13 at 5.58.27 PM.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.