Commit Graph
149 Commits
Author SHA1 Message Date
mwarning 5109e15a09 global: remove statistics
Remove until a more future proof solution is found
as mpandroidchart is not maintained anymore.
2026-10-12 22:20:15 +02:00
mwarning 9c3373ab35 sleep: fix date picker usage
The time the date picker uses needs to be updated.
Also make some variable names more logical.
2026-10-12 22:20:15 +02:00
mwarning 5cd14cd726 activity_main: add horizontal margin to error message 2026-10-12 22:20:15 +02:00
mwarning 98045da201 notes: do not update quantity
When using the tiny arrows to switch
between older texts, do not change
the quantity field.
2026-10-12 22:20:15 +02:00
mwarning 718af91315 event: add support for height 2026-10-12 22:20:15 +02:00
mwarning ac6b6c7a25 weight: add local unit to dialog 2026-10-12 22:20:15 +02:00
mwarning 6fe0135bef sleep: remove plus/minus buttons
Make the UI simpler.
2026-10-12 22:20:15 +02:00
mwarning c7f2d4cf3f NumberUtils: remove unused numberFormat 2026-10-12 22:20:15 +02:00
mwarning d39a0426b0 MainActivity: show edit dialog for food and medicine quantity 2026-10-12 22:20:15 +02:00
mwarning 10c59175f4 MainActivity: set unit for bottle content 2026-10-12 22:20:15 +02:00
mwarning ef1420b313 DateUtils: make duration rounded up to minutes 2026-10-12 22:20:15 +02:00
mwarning 4ae44aa261 MainActivity: inline nested function for dynamic menu 2026-10-12 22:20:15 +02:00
mwarning 81fba8e2b5 MainActivity: generate dynamic menu from last two weeks 2026-10-12 22:20:15 +02:00
mwarning 01e7ad07c8 LunaEvent: rework sleep event
Make the UI more flexible and
slightly easier to understand.
2026-10-12 22:20:15 +02:00
mwarning 3ccd2db7b1 MainActivity: rename datepicker 2026-10-12 22:20:15 +02:00
mwarning b6823bbdfb layout: replace menu icon with utf8 character
The three dot menu icosn looks odd when stretched
due to the dynamic menu feature. Thus replace it
with the hamburger menu character that looks better
when scaled.
2026-10-12 22:20:15 +02:00
mwarning b3ff9f4bb9 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-10-12 22:20:15 +02:00
mwarning ee5b9fa24b NumericUtils: remove possible trailing whitespace 2026-10-12 22:20:15 +02:00
mwarning cd523f8282 MainActivity: do not switch logbook on reload 2026-10-12 22:20:15 +02:00
mwarning 06180f95a8 LunaEvent: reorganize event text getters
Use method names that better reflect
the use of the returned text.
2026-10-12 22:20:15 +02:00
mwarning dbfc7fb866 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-10-12 22:20:15 +02:00
mwarning 0e655371c7 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-10-12 22:20:15 +02:00
mwarning d776b479fa MainActivity: increase bottle volume to 340ml
This is the maximum amount found in sold bottles.
2026-10-12 22:20:15 +02:00
mwarning 1613aeb3f4 gradle: use uniform implementation directive for sardine-android 2026-10-12 22:20:15 +02:00
mwarning e378f1e6ea gradle: avoid inclusion of apk signing blobs
See https://android.izzysoft.de/articles/named/iod-scan-apkchecks?lang=en#blobs
2026-10-12 22:20:15 +02:00
mwarning 70800ee850 gradle: set compileSDK/targetSdk to 36 2026-10-12 22:20:15 +02:00
mwarning 984bcc1698 statistics: add LongTermStatisticsActivity: add statistics and sleep events 2026-10-12 22:20:15 +02:00
mwarning 79275f5704 MainActivity: show save button if any values has changed 2026-10-12 22:20:15 +02:00
mwarning ad5bb5537b MainActivity: use unique templates for notes 2026-10-12 22:20:15 +02:00
mwarning 85896d0f97 LunaEvent: add sleep event 2026-10-12 22:20:15 +02:00
mwarning 386586ccae 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.
2026-10-12 22:20:15 +02:00
mwarning 4fc327342d strings: rename scale to weight in identifiers 2026-10-12 22:20:15 +02:00
mwarning 500d58eb74 LunaEvent: remove quantity when the value is invalid 2026-10-12 22:20:15 +02:00
mwarning 1368c09c58 notes: add icons to use previous/next event as template 2026-10-12 22:20:15 +02:00
mwarning 24a73969be MainActivity: preset quantity of bottle, weight and temperature
Use the quantity of previous events
to initialize new events.
2026-10-12 22:20:15 +02:00
mwarning 5d0b2af665 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.
2026-10-12 22:20:15 +02:00
penguin86 8c906369df Updated readme with contribution instructions 2026-01-09 07:20:00 +01:00
penguin86 5eeb462836 Bumped version 2025-11-06 22:21:05 +01:00
penguin86 5b777c0b88 Merge pull request 'fix puke event quantity' (#18) from mwarning/luna-tracker:fixpuke into master
I already tagged the commit when I accepted the previous PR, so it may have already been picked up by the F-Droid build pipeline. I'll send this one too and see if it makes in time.
2025-11-06 22:17:40 +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
penguin86 3ea396c045 Bumped version v0.8 2025-11-05 07:58:28 +01:00
penguin86 193e21ce25 Merge pull request 'Add puke and bath events, add signature setting' (#16) from mwarning/luna-tracker:master into develop
Reviewed-on: #16
2025-11-05 07:56:01 +01:00
mwarning 7f67c758c9 activity_setting: fine tune layout style 2025-10-26 20:38:26 +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 a1bde917f8 add no-breastfeeding help text 2025-10-26 13:54:16 +01:00
mwarning 4f4ff5ed21 more_events_popup: move enema to bottom and adjust padding
Enemas are usually are rare thing. Let's
move it to the bottom. Also adjust padding
to have more space to display all items.
2025-10-26 13:54:16 +01:00
mwarning 453d838470 add puke event 2025-10-26 13:54:04 +01:00
mwarning 34aa092722 NumericUtils: provide fallback for LocaleData.getMeasurementSystem
LocaleData.getMeasurementSystem is available at API level 28
but the app supports API level 21.
2025-09-29 03:34:08 +02:00