Add location-based reminders and critical alerts#90
Open
liketheduck wants to merge 2 commits intomarriagav:devfrom
Open
Add location-based reminders and critical alerts#90liketheduck wants to merge 2 commits intomarriagav:devfrom
liketheduck wants to merge 2 commits intomarriagav:devfrom
Conversation
Implements Apple Reminders-style location triggers for tasks: - CoreLocation integration with geofencing (CLCircularRegion) - MapKit-based location picker with search autocomplete - Support for "Arrive" and "Leave" trigger conditions - Configurable radius (50-500m, default 50m) - Local notifications on geofence entry/exit - Proper authorization handling for location services - Location reminders persisted as Taskchampion annotations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
marriagav
reviewed
Jan 6, 2026
Owner
marriagav
left a comment
There was a problem hiding this comment.
thanks for contributing to taskchamp! i will take a look at this sometime in the next couple of weeks since im currently off the grid : )
Critical alerts bypass Do Not Disturb and silent mode, ensuring important reminders are never missed. Available for any task with a due date. Features: - Critical alert toggle in task create/edit views (requires due date) - Volume preset selector (100%, 75%, 50%, 25%, Custom) - Custom volume slider when Custom preset selected - Global settings page (Menu → Critical Alerts) - Red bell indicator on task list for critical alert items - Location-based reminders also support critical alerts Technical: - Added com.apple.developer.usernotifications.critical-alerts entitlement - TCCriticalAlert model stored via task annotations - NotificationService handles authorization and status tracking - Default volume preset is 50% Note: Tested in Xcode simulator only. Real-world testing recommended, especially for notification delivery in various device states. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Additional Feature: Critical AlertsThis branch now also includes critical alerts support for task reminders. What's AddedCritical alerts bypass Do Not Disturb and silent mode, ensuring important reminders are never missed:
Technical Notes
Testing StatusTested in Xcode simulator. Real-world testing recommended for notification delivery in DND/silent mode. 🤖 Generated with Claude Code |
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.
Summary
This PR adds two related notification features:
Location-Based Reminders
Critical Alerts
Implementation Details
Location Reminders:
LocationService: CLLocationManager, geofence monitoring, notificationsLocationPickerView: MapKit UI for selecting locations with searchTCTask.locationReminder: Stored as Taskchampion annotationCritical Alerts:
TCCriticalAlertmodel with volume preset and custom volumeCriticalAlertSettingsView: Per-task configuration componentCriticalAlertGlobalSettingsView: Settings page for authorization and defaultsNotificationService: Authorization tracking and critical sound deliveryRequirements
com.apple.developer.usernotifications.critical-alertsentitlement (needs Apple approval for production distribution)Test Plan
Testing note: These features have been verified in Xcode simulator. Real-world testing on physical devices is recommended, particularly for geofence accuracy and notification delivery in various device states.