GSgiansen / OrbitalSelf-

Repo for orbital Self++
3 stars 0 forks source link

Water tracker does not have input validation #94

Closed florentianayuwono closed 1 year ago

florentianayuwono commented 1 year ago

Currently:

  1. User can input negative number that can result in negative amount. It is actually good to have mechanism where user can edit/reduce the amount of water they claim to take, however a reduce button (-) might be more intuitive and easy to restrict to not reach negative amount of water than inputting integer
  2. User can input non-integer into the water claim, though it results in nothing happening in the app. Recommended to have add button (+) instead per 100ml/1 glass of water to prevent non-integer

https://github.com/GSgiansen/OrbitalSelf-/assets/76247368/0bec9151-7d3a-4213-83fd-48bdd95a5899