e725700d10
When medication intake times change, dose IDs change (they include timestamps). Previously, this caused all past doses to appear as 'missed' because the old 'taken' markers no longer matched. Now doses are only counted as 'missed' if they were scheduled AFTER the medication's last update (updatedAt). This means: - Legitimately missed doses still show as missed (e.g., yesterday's dose not taken) - Doses from before a schedule change are NOT counted as missed (they were from a previous schedule configuration) Changes: - AppContext: Add isDoseFromPreviousSchedule helper - SchedulePage: Use context's missedPastDoseIds instead of local calc - Update tests to include missedPastDoseIds in mocks