Skip to content

feat: Add separate notifications for waypoints#4131

Merged
jamesarich merged 4 commits into
mainfrom
feat/waypoint-notifs
Jan 4, 2026
Merged

feat: Add separate notifications for waypoints#4131
jamesarich merged 4 commits into
mainfrom
feat/waypoint-notifs

Conversation

@jamesarich

@jamesarich jamesarich commented Jan 4, 2026

Copy link
Copy Markdown
Collaborator

Adds separate notifs for waypoints, opens to map centered on waypoint with Info window displayed.

resolves #4103

Screen_recording_20260104_113411.mp4

This change introduces a dedicated notification channel for waypoints, separating them from regular text message notifications.

This includes:
- A new `Waypoint` notification type with `IMPORTANCE_LOW`.
- A `meshtastic_waypoints_notifications` string for the channel name.
- `updateWaypointNotification` function to create and display waypoint-specific notifications.
- Refactoring `MeshDataHandler` to route waypoint packets to the new notification function.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
Adds the ability to navigate to a specific waypoint on the map directly from a notification.

- The `Map` route now accepts an optional `waypointId` parameter.
- Tapping a waypoint notification will now open the map and center it on the corresponding waypoint.
- The importance of waypoint notifications has been increased to `IMPORTANCE_DEFAULT` to make them more visible.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
When navigating to the map with a specific waypoint ID, automatically open its info window. This enhances user experience by directly highlighting the selected waypoint upon map view initialization.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the enhancement New feature or request label Jan 4, 2026
Updates the copyright year to 2026 across multiple files.
Also, removes unnecessary blank lines and cleans up function signatures for consistency.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@codecov

codecov Bot commented Jan 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (be57b08) to head (a5071a9).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4131   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          2       2           
  Lines         19      19           
  Branches       7       7           
=====================================
  Misses        19      19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich marked this pull request as ready for review January 4, 2026 17:57
@jamesarich jamesarich added this pull request to the merge queue Jan 4, 2026
Merged via the queue into main with commit c46fb23 Jan 4, 2026
6 checks passed
@jamesarich jamesarich deleted the feat/waypoint-notifs branch January 4, 2026 18:17
@erayd

erayd commented Feb 3, 2026

Copy link
Copy Markdown

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Waypoint notifications should be in their own category

2 participants