* add feeding method history
* Make it a specialized breastfeeding card instead.
* Minor improvements:
- don't print days for an empty card.
- make the width of the bar for each day proportional to that day's total feeding time.
* Don't make bar width proportional to feeding time, actually, it's kinda ugly.
---------
Co-authored-by: ag <ag@ag.com>
Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
* Add `nap` field, remove `napping` field.
* Default `nap` property to NULL
* Update existing tests
* Format the code!!
* Allow `Sleep.nap` to be blank
* Migrate settings from `NAP_START_MIN` AND `NAP_START_MAX`
* Remove `active` class from boolean fields
* Correct test method name and user config
* Add forms test
* Use settings for Sleep nap model tests
* Update Tempus Dominus to v6 (WIP)
* Re-add calendar input prepend container
* Normalize setting of default date values
* Migrate to Bootstrap 5 (WIP)
* Remove deprecated card columns implementation from dashboard
* Update BS5 data props
* Use Masonry layout for dashboard cards (for now)
This doesn't seem particularly ideal so may need a more involved refactor
* Update styles for Bootstrap 5 deprecations
* Remove resolutions crap
* Refactor deprecated BS4 classes
* Update list table styles
* Refactor deprecated jumbotron class usages
* Update close button structure
* Add `v2` branch to standard CI workflows
* Fix dayssince sometimes being off by 1 day depending on timezone
* Add sleep stats carousel for last 7 days
* Renamed sleep_day to sleep_recent
* Rename Today's Sleep to Recent Sleep in dashboard
If the feeding method is always the same, the last-feeding-method card
is unhelpful. Consider it "empty" so it can be hidden by user setting.
This is an alternative solution to https://github.com/babybuddy/babybuddy/issues/139.
* No change if unsupported
* If supported, still auto-refresh at the selected frequency (if any),
but only if not hidden.
This is useful for always-on displays (e.g. a "baby clock"). Fixes#253