Universal data portability: CSV import/export, clearer backup labels, alarm fixes - #22
Open
nufuturepro wants to merge 1 commit into
Open
nufuturepro wants to merge 1 commit into
nufuturepro wants to merge 1 commit into
Conversation
nufuturepro
force-pushed
the
upstream-contribution
branch
2 times, most recently
from
September 15, 2026 03:26
f714ebf to
47e94f4
Compare
Adds JSON/CSV export+import, per-medication supply tracking with low-supply alerts, a lowest-supply home-screen widget, and hardens every edit path so taken-dose history can never be silently destroyed (no-op guard, sibling-slot preservation, history-follows-time-slot, phantom-fragment dropping) — covered by an 18-test JVM suite (MedUpdatePlanner). Stats counts each med+time once per day, illness renames keep their notes, and dose alarms re-arm on app start. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
nufuturepro
force-pushed
the
upstream-contribution
branch
from
September 15, 2026 03:28
47e94f4 to
f2e1f09
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Universal data portability, supply tracking, and alarm fixes
Three areas in a single commit:
1. Data portability
2. Supply tracking & widget
3. Taken-history hardening (the core of this update)
Every path that could silently destroy a logged dose is fixed, with the rules extracted into a pure
MedUpdatePlannercovered by an 18-test JVM suite:takenHistory).takenHistoryand no longer leave phantom history-free schedule fragments; history is trimmed to the window each fragment actually covers.The importer also un-tracks the accidentally committed
local.properties.