-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feeding U/X - entry intersection handling #806
Comments
There has been enough issues and feedback around intersection that I think it's worth a harder look now. Here are the issues that have been raised over time:
Plus various bugfixes that happened around the feature. Some of those ask for a more complex "submit anyway" type of solution but I also wonder if the intersection check should just be scrapped? The idea initially was just to help sleepy caregivers avoid data entry errors so I'd be curious to hear from users who do find this feature useful (if any happen to land here). Otherwise I am feeling a bit more open to just dropping this feature. We'll need to figure what the impact would be on oyther aspects of the app (like graphing?) but it may be more minimal than I think. |
The feature has saved me many times from forgetting to update one of the times, having the wrong date during the late night feeds, etc. To recap the various options, from easiest to hardest (assuming so, I'm not as familiar with Django):
From the UX side, allowing the user to continue after seeing a warning is best IMO (options 2,3, or 4). But for simplicity's sake, I totally understand if you preferred to scrap it! As mentioned in #736, adding which type of event (feeding, sleep, etc.) would be nice. If you want to keep the feature, then I'd be happy to explore a PR to add that. |
Its not a big thing, but this feature prevented me from adding data incorrectly a few times in the past, but was also an annoyance a few times in the past (for example baby started eating the main meal, didnt want to eat anymore so got a fruit sachette, but after that started eating the main meal again). |
I think this one is the best fit for what we have now. It will be a bit complicated but not crazy. Happy to review a PR if you do get a chance to work on it, @MisterPhilip — thanks!
Also just realized in the interim we could a small change to set the bottle feeding end time to the same as the start time. This would help with the current overlap issue after entering a bottle feeding late. |
I think this would just be a UI-only change. If there is real need for an API option we could probably add like a |
The lack of an end time field in the bottle feeding form does make the UX inconsistent with other duration-based activities (which could create un-necessary confusion for us frazzled parents). Perhaps it might be worth confirming if this is indeed a bug, and squashing it, so no further gymnastics for the validation rules are needed (hopefully*)
Following on from, and building upon, my suggestion in #772 (comment) could we consider making the ux for the generic feeding and bottle feeding forms more consistent by:
Other ideas...
As for possible impacts on graphing...
*I'm not a developer, so I have no idea how things work under the hood. |
Per @th0mcat in #800 (comment)_
It looks like this is caused when there is another feeding that is between the start time and the time the bottle feeding is submitted. I suspect this is caused by the end time not being defined and thus defaulting to now, and
validate_unique_period
returns false.The text was updated successfully, but these errors were encountered: