Giter VIP home page Giter VIP logo

ped's People

Contributors

stevenlimhw avatar

Watchers

 avatar

ped's Issues

Cannot clear tag and edit phone number

  • UG said that at least one of the optional fields must be included, but it doesn't work with tag
  • cannot clear tag and edit phone number even though number is valid and message is wrong

Phone numbers should only contain numbers, and it should be at least 3 digits long.png

Email .com validation

add n/John Doe p/98765432 e/johnd@gmail a/John street, block 123, #1-01 d/Administer 3ml of example medicine | 16-10-22 t/Severe

is accepted, even without the .com at the end

Find command shows wrong entries

The command

find t

should not show John Doe and Betsy Crowe (only Tom pitt) should be shown. Unless, this might be intended behaviour as the UG states that find accepts a variety of inputs (not only name). This could be made clearer.

Pasted Graphic 12.png

Clear command does not have confirmation

It is too easy to accidentally clear the whole data from the app by simply using the command.

Perhaps, additional confirmation can be done before clearing as this is a high-risk operation.

Some ideas include:

  • Pop-up messages can be added
  • Add more flags that are difficult to type to prevent accidental clears

Non-leap year invalid date inputs

Some examples of the commands ran:

add n/John Doe4 p/98765432 e/[email protected] a/John street, block 123, #1-01 d/Administer 3ml of example medicine | 29-02-22 t/Severe

add n/John Doe5 p/98765432 e/[email protected] a/John street, block 123, #1-01 d/Administer 3ml of example medicine | 30-02-22 t/Severe

add n/John Doe6 p/98765432 e/[email protected] a/John street, block 123, #1-01 d/Administer 3ml of example medicine | 31-02-22 t/Severe

For all of the commands above, 28 Feb 22 is recorded instead instead of showing an error message.

Example Image

Added Patient.png

Leap year invalid date input

add n/John Doe p/98765432 e/[email protected] a/John street, block 123, #1-01 d/Administer 3ml of example medicine | 30-02-20 t/Severe

30 Feb 2020 should not be valid although 2020 is a leap year.

Output shows 29 Feb 2020 instead of an error message.

Added Patient.png

Date check is too restrictive

Only a single format is allowed for date inputs. Some users may want to use a whitespace or a forward-slash instead of a hyphen.

Email validation

The command

add n/John Doe p/98765432 e/johnd@fjkldjfkldsjflsdlfsjd a/John street, block 123, #1-01 d/Administer 3ml of example medicine | 16-10-22 t/Severe

should not be accepted since it is invalid.

Perhaps, there can be a check on valid strings after the "@" symbol?

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.