brunobeeee / drinklog

A habit tracker for tracking water intake.
0 stars 0 forks source link

Make logs on the same day „add up“ #61

Closed brunobeeee closed 6 months ago

brunobeeee commented 6 months ago

When submitting a second log for the same day: Instead of saving two log entries of the same date, make the intensity add up and do a logical OR of overdrive. This would allow to write logs throughout the day instead of submitting one at the end of the day.

For this it would be beneficial that one could choose between „today“ and „yesterday“ as mode for adding new logs.

brunobeeee commented 6 months ago

The "today" and "yesterday" modes will be ignored for now bc in Issue #62 it is planned to add categories to logs. It is a bit difficult to do some kind of log merging between categories, where the merging of intensity and overdrive is fairly simple. So this log merging feature is for now only some kind of error correction and should not be used to add drinks to logs one-at-a-time.