Skip to content

Medication feature [WIP]#59

Merged
nuilewis merged 18 commits intomainfrom
meds-feat
Apr 18, 2025
Merged

Medication feature [WIP]#59
nuilewis merged 18 commits intomainfrom
meds-feat

Conversation

@nuilewis
Copy link
Copy Markdown
Collaborator

@nuilewis nuilewis commented Apr 6, 2025

Fixes: #56

Updated medication type enum labels and added "chewable" type.
 Changed "Tablets/Pills" to "Tablet",
 "Injections" to "Injection", "Liquids" to "Liquid",
 and "Creams/Gels" to "Creams & Ointments".
Refactored the add/edit meds screen to handle editing existing medication, including pre-filling fields, updating medication data, and handling date pickers, and implemented form validation.
- Changed dbStreak to nullable Streak
- Add `createdAt` and `updatedAt` to the medication model for objectbox
-Removed meds_reminder_card.dart, replaced with medication_reminder_card.dart and medication_card.dart
-Refactored app icon to accept svg paths and icon data
-Refactored logic for querying a local user from the local db
-Refactored enums to use huge icons where needed.
-Refactored medication cards to support new designs and layout.
-Refactored home screen to only return non null values for water logs
…ity records

This should enable filtering the meds activity
records for a single medication.
Also persists medication schedule to prevent redundant calculations
@nuilewis nuilewis merged commit 2612138 into main Apr 18, 2025
3 of 4 checks passed
@nuilewis nuilewis deleted the meds-feat branch April 18, 2025 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link Med business logic to uI

1 participant