Selectively prompt for additional details on diaper changes
Opened this issue · 1 comments
Being prompted by Alexa on every diaper change with "Do you want to add more details like amount and color?" is a little tedious after every diaper change if you're not interested in recording that information (this is especially comical if you specify "Alexa, tell Baby Buddy to record an empty diaper change").
I'd like to propose the following changes:
- Do not prompt for additional information if it's an empty diaper change.
- If the contents are known in the initial prompt (ie, "Alexa, tell Baby Buddy to record a {wet, solid, full, empty} diaper change"), and the previous N[1] diapers have not included color or amount, don't prompt for additional information - just record the diaper change. If the contents are not known in the initial prompt, still prompt for wet / solid, and then again for additional information in accordance with the rules above.
- If there are diaper changes with amount / color - ask if the user would like to record those.
- Do not prompt for color if it's not a solid (or full) diaper change
Thoughts? I can take this work on, but I want to make sure I've got the flow chart correct. I'm a relatively new parent, but the doctors have made it seem like they only want to record the information above in selective circumstances, of which currently do not apply to us, and I'd like to simplify the process of recording diaper changes a bit.
1 - My first instict here is to either do simply the last diaper change (easy enough to retrieve - and prompt if there hasn't been any yet) or simply look at some duration, like last 24 / 48 hours or week or something like that. There are more complicated options, but AFAICT they'd require coordination with the main project and that feels like a bigger lift and for not much gain.
Flow and reasoning sounds good to me 👍