ndb-core icon indicating copy to clipboard operation
ndb-core copied to clipboard

make BMI feature more resilient and flexible

Open sleidig opened this issue 6 years ago • 3 comments

The Heigh & Weight tracking is used regularly already and from the user observation some possible improvements came up:

  • users are currently manually calculating their measurements (which they do in feet and inch) to centimeters before entering them. We could offer an option to enter heigh in inches directly (and convert it to centimeters before saving it to the database so that we always have the same unit in storage)
  • weight is tracked more often than height. can we calculate the BMI anyway, using the last recorded height? Or find some other nice way to adapt our UX to this real life workflow?

sleidig avatar Nov 25 '19 22:11 sleidig

Would the input in feet and inches be a string or a number? Can you get some information wether the users would make an input like 6'2" oer 6,2?

I would implement a toggle button to switch input. I think transforming the input will be quite stressfull while using the entity subrecord component but I think there's some workaround to figure it out. Any thoughts?

codingfabi avatar Feb 19 '20 19:02 codingfabi

i made a WIP PR for a basic workaround inside the EntitySubrecordComponent. I would love to hear your feedback because I think this solution has got several smells

codingfabi avatar Feb 19 '20 20:02 codingfabi

Would it be a good idea for this to allow the user to have some sort of "settings" where he can set what kind of unit he wants to use for weight & health-tracking?

Schottkyc137 avatar Apr 01 '21 11:04 Schottkyc137