Repository navigation
Add meal reminders for future carb entries - #2666
damonbayer wants to merge 3 commits into
Conversation
98d46aa to
594ccd7
Compare
|
I had an agent implement this mostly to evaluate / mock up the user experience. I have no idea if the technical details about managing the reminders are appropriate. |
Test✅ successful test
ConfigurationStart with LoopWorkspace next-dev commit
Test Details
The reminder row is always present, but timer can only be enabled for carbs in the future. |
Code ReviewI picked up a few comments from a Claude review:
Passing this one on for @damonbayer to decide if it's a concern:
|
@marionbarker Do you think it should be more prominent? I think most of the time you are eating, you would not want a loud notification to come from your phone. Especially if you were already eating. |
|
Still working on the UI here. Converting to draft. |
|
I plan to revise this as the third PR in a sequence: the Watch future-time consistency fix tracked by #2718, the new Carbs settings/amount limits in #2669, then this reminder behavior. This remains the implementation for #2650. Following the Zulip discussion, the revised design is:
The implementation will reconcile against stored carb records, protect against stale asynchronous scheduling, preserve unrelated notifications, and prioritize imminent meals within available notification capacity. Tapping a reminder will open the associated entry, with a carb-history fallback. The permission handling should also address the review concern above: turning banners off alone must not be treated as making every permitted notification presentation unavailable. New user-facing strings will be localized. Revised behavior will need fresh tests and simulator/device review; the current description, screenshots, and prior test results describe the per-entry-toggle implementation, not this revision. |
When someone logs carbs for a future meal and boluses in advance, it can be easy to lose track of when they planned to eat. This adds an opt-in ⏰ Remind Me switch to each carb entry so they can request a reminder for that meal.
Addresses #2650. Zulip design discussion.
Screenshots
Carb entry on an iPhone 18 Pro simulator (iOS 27.2) with a 45 g demo meal.
Future entry with the reminder switched on
Validation