Commit Graph

77 Commits

Author SHA1 Message Date
mwarning 4f8209b793 global: rename StatisticsActivity to LongTermStatisticsActivity
Make way for a future ShortTermStatisticsActivity.
2026-06-18 14:41:56 +02:00
mwarning ddcc2fc492 sleep: fix date picker usage
The time the date picker uses needs to be updated.
Also make some variable names more logical.
2026-06-18 14:28:36 +02:00
mwarning 16e5b39d6f notes: do not update quantity
When using the tiny arrows to switch
between older texts, do not change
the quantity field.
2026-06-12 16:10:09 +02:00
mwarning 7bbf480a7f event: add support for height 2026-06-11 21:36:14 +02:00
mwarning f01ea7f571 weight: add local unit to dialog 2026-06-11 21:20:30 +02:00
mwarning d6c79431b4 sleep: remove plus/minus buttons
Make the UI simpler.
2026-06-11 20:44:33 +02:00
mwarning 56b3418c72 MainActivity: show edit dialog for food and medicine quantity 2026-04-06 22:03:43 +02:00
mwarning d76f5cf2ce MainActivity: set unit for bottle content 2026-03-10 23:14:58 +01:00
mwarning 620e20aa2e MainActivity: inline nested function for dynamic menu 2026-03-06 12:33:57 +01:00
mwarning 8687d62bac MainActivity: generate dynamic menu from last two weeks 2026-03-06 12:33:57 +01:00
mwarning 3ae68ffa7b LunaEvent: rework sleep event
Make the UI more flexible and
slightly easier to understand.
2026-03-06 12:33:53 +01:00
mwarning dd4be8dcd7 MainActivity: rename datepicker 2026-02-19 16:41:16 +01:00
mwarning 24f48cb533 MainActivity: sort events before saving
Also replace notifyItemInserted since it does not
call the adapter to redraw the row striping when
a new event is added.
2026-02-19 16:41:16 +01:00
mwarning 672ae37049 MainActivity: do not switch logbook on reload 2026-02-09 08:23:38 +01:00
mwarning 672e58c028 LunaEvent: reorganize event text getters
Use method names that better reflect
the use of the returned text.
2026-02-09 08:23:38 +01:00
mwarning d2729af30f MainAcitivty: add dynamic header setting
The setting allows to build the menu and
popup list to be populated by the frequency
of events that has been created.
This also makes the 'no breastfeeding'
setting irrelevant.
2026-02-09 08:23:21 +01:00
mwarning 85567cce77 LunaEvent: use enum class for event types
This helps to have compile errors when some
case it not handled while adding a new type.
The enum class can also be interated over
to create a complete drop down list.
2026-01-23 06:46:11 +01:00
mwarning 80a51ea8ef MainActivity: increase bottle volume to 340ml
This is the maximum amount found in sold bottles.
2026-01-23 06:46:11 +01:00
mwarning 2af8989777 StatisticsActivity: add statistics for bottle and sleep events 2026-01-23 06:46:11 +01:00
mwarning b417fe48a6 MainActivity: show save button if any values has changed 2026-01-23 06:46:11 +01:00
mwarning a887d9f29f MainActivity: use unique templates for notes 2026-01-23 06:46:11 +01:00
mwarning 44748506ff LunaEvent: add sleep event 2026-01-23 06:46:07 +01:00
mwarning 9f8f277d75 MainActivity: allow amount for poo and pee events
An unspecified amount has also been added
to have the same semantics as before.

During these actions, the strings for title
and description of dialogs have been cleaned up.
2025-11-19 20:37:10 +01:00
mwarning fb6edf981b notes: add icons to use previous/next event as template 2025-11-19 20:37:10 +01:00
mwarning 52b23151d6 MainActivity: preset quantity of bottle, weight and temperature
Use the quantity of previous events
to initialize new events.
2025-11-19 20:37:10 +01:00
mwarning 23372408d5 events: allow editing of all used values
1. Allow to change the date/time and
other relevant values of an event
on creation and after it was created.

2. Harmonize layout file names and
variable names.
2025-11-19 20:37:01 +01:00
mwarning 6f3061974d fix puke event quantity
The LunaEvent class treats quantities of 0
as a value to set. To workaround this, the
quantity index needs to start at >0.
2025-11-06 21:49:08 +01:00
mwarning dfa64d71a8 add signature setting
For multiple users it helps to
keep track about who did what.
2025-10-26 20:38:26 +01:00
mwarning b7180068f3 DateUtils: move event details formatting to DateUtils
Also do not display seconds, because it is not
meaningful and is not selected in date picker.
2025-10-26 20:38:22 +01:00
mwarning 36b848b95e add bath event type 2025-10-26 13:54:16 +01:00
mwarning 453d838470 add puke event 2025-10-26 13:54:04 +01:00
mwarning 961e7b90e7 small code cleanup
No code behavior has been changed.
2025-09-29 03:33:30 +02:00
mwarning f4c526ff8d add previous/next event link to details dialog
The links will point to the previous/next
event of the same type
2025-09-19 12:41:51 +02:00
mwarning e1f48e6524 MainActivity: support 24h format 2025-09-16 21:11:52 +02:00
mwarning 5e1c67d52d MainActivity: small code cleanup 2025-09-16 21:11:52 +02:00
mwarning f1f73b65f7 add setting to disable breastfeeding buttons
Some women do not breastfeed. Hide the buttons
in order to have more space for log messages.
2025-09-16 21:11:49 +02:00
penguin86 0d3be20e1e Logbook event date edit 2025-04-23 08:58:32 +02:00
penguin86 4c5c7bcf1a Merge branch 'master' into develop 2025-04-19 08:53:43 +02:00
penguin86 07393faf41 Added food event 2025-04-19 08:51:16 +02:00
penguin86 9fddd37fe9 WIP editable date in event 2025-01-21 18:42:47 +01:00
penguin86 efdb8f584a Avoid reloading logbooks list when the app is resumed, for a faster and flicker-less screen update 2025-01-20 07:57:46 +01:00
penguin86 1511764497 Restored detail button string 2025-01-19 09:53:08 +01:00
penguin86 744bfef62b Better error management, check Webdav instance unavailable, fixed crash on refresh when webdav instance was unavailable 2025-01-19 09:47:14 +01:00
penguin86 b4f47ea6bb Implemented event deletion 2025-01-19 09:16:49 +01:00
penguin86 03ec28f8ef Onboarding, fix in logbook list from file repo 2025-01-18 09:50:50 +01:00
penguin86 ac9f74dbd7 Fix dropdown not updated on logbook creation, refinements 2025-01-18 09:09:44 +01:00
penguin86 36f52234a3 Fixed bug loading always default logbook, indipendently from which one is selected 2025-01-18 08:56:12 +01:00
penguin86 e23ab77274 Dropdown style, restored add logbook 2025-01-18 08:48:43 +01:00
penguin86 e3aceaf133 Reimplemented logbook selector as spinner 2025-01-18 08:14:00 +01:00
penguin86 ecbde64ca1 Working ugly selector 2025-01-18 07:36:31 +01:00