Repository navigation
v2.5.10: Dosage Units (mEq, Puffs, Ampules), Home Timeline View, Slide Alarm Actions, and Appearance Settings #101
saad2134
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v2.5.10: Dosage Units (mEq, Puffs, Ampules), Home Timeline View, Slide Alarm Actions, and Appearance Settings
Summary of Changes
Release v2.5.10 introduces support for additional medication dosage units (
mEq,puffs, andampules), a clean expanded vertical timeline view for the home screen, dedicated sliding gesture tracks for taking and snoozing alarms, thicker full-frame calendar day highlights, a reorganized Appearance preferences section, and critical data portability and synchronization fixes.📱 Patient App (Android)
mEq(milliequivalents for electrolyte supplements),puff(actuations for metered-dose inhalers), andampule(single-use liquid containers) across medication setup, reminders, full-screen alarms, and histories.actuations,ampoules, etc.).BackupRestoreManager.ktwhere medication frequency schedules (EVERY_X_HOURS,EVERY_X_DAYS,WEEKLY,MONTHLY,CUSTOM) were wiped and defaulted toDAILYwhen restoring flattened archives or JSON exports generated byDataExporter.parseMedicinesFromJsonsupporting both nested{"frequency": {...}}and flattened JSON attributes (frequencyPattern,intervalHours,daysPerWeek, etc.).DataExporter.ktto serialize both nested and flattened frequency structures for maximum cross-format compatibility.UserViewModel.ktwhere deleting the currently active profile promoted the next available user but leftapp_prefsandDosezyWidgetPrefslocked to the deleted profile's theme.NewUserScreen.ktwhere restoring a multi-profile backup during onboarding picked the first arbitrary database record rather than the profile marked as active (isCurrentUser = true).updatedUsers.find { it.isCurrentUser } ?: updatedUsers.first()) to navigate patients to the correct primary profile.TabRowand smoothCrossfadeanimation.androidx.profileinstallerfor Ahead-Of-Time (AOT) ART bytecode compilation on Android 7.0–11 and sideloaded APKs, reducing initial screen composition lag by 30–40%.@Immutablestability annotations across core data models (Medicine,ScheduleEntry,ScheduleWithMedicine,User) to enable Compose compiler smart recomposition skipping.HomeScreenandScheduleScreenscroll containers to virtualizedLazyColumnwith stable item keys, eliminating simultaneous multi-card layout measurement lag.fadeIn/fadeOut) to eliminate abrupt "frozen tap" frame hitches.NavigationBarto prevent per-frame GPU allocations.BackupRestoreScreen.ktwhere exporting a full backup archive displayed "Data exported to:" without rendering the destination archive filename or full storage path.SelectionContainerand vertical scroll support, allowing users to view, select, and locate the exported.ziparchive on device storage.🔍 Full Changelog & Compare
Compare v2.5.9...v2.5.10
This discussion was created from the release v2.5.10: Dosage Units (mEq, Puffs, Ampules), Home Timeline View, Slide Alarm Actions, and Appearance Settings.
All reactions