Skip to content

feat(messages): MC heard path map overlay and hop position icons#322

Merged
pskillen merged 4 commits into
mainfrom
ui-311/pskillen/mc-heard-path-map
Jun 4, 2026
Merged

feat(messages): MC heard path map overlay and hop position icons#322
pskillen merged 4 commits into
mainfrom
ui-311/pskillen/mc-heard-path-map

Conversation

@pskillen
Copy link
Copy Markdown
Owner

@pskillen pskillen commented Jun 4, 2026

Summary

  • Keep HeardPathGeoMap for MeshCore anchors; add optional pathLegs overlay via shared heard-path-map-layers (partial polylines, dashed unknown hops, truncate after last positioned hop).
  • Refactor HeardPathMap (Meshtastic) to use the same path layer helper and buildPartialSegments.
  • MapPin / MapPinOff on hop badges, sender, feeders; ambiguity banner and candidate tooltips when API returns candidates.
  • Omit ambiguous hops from map waypoints; full chain still in schematic/list.
  • Sender without position: heard dialog shows identified sender + node link when there is a single mc_sender_candidate; map pin icon and geo marker still require coordinates.
  • Docs: AGENTS.md component-doc rule, HeardPathMap/HeardPathGeoMap component docs, heard-path-dialog.md.

Depends on meshflow-api#395 for candidates, short_name, and path_hash_* on heard[] — deploy API first.

Testing performed

  • npm test (364 tests)
  • Open MeshCore message heard dialog: verify sender link without position (e.g. GI7ULG), map lines when hop positions exist
  • Meshtastic heard dialog still renders paths

Closes meshflow-ui#311

…g UI

Document the convention for ComponentName.md alongside tsx files so agents
and contributors keep behaviour notes accurate without a full backfill.
… maps

Add sibling component docs and link them from the MeshCore heard-path-dialog
feature doc so map behaviour and when to use each component stay explicit.
Share Leaflet path drawing via heard-path-map-layers, add buildPartialSegments
for sender-unknown and truncated trails, and pass meshCore path legs to the geo map.
Single mc_sender_candidate is identified in the heard dialog with a node
link; HopPositionIcon and geo map use coordinates only when present.
@pskillen pskillen merged commit 0631972 into main Jun 4, 2026
3 checks passed
@pskillen pskillen deleted the ui-311/pskillen/mc-heard-path-map branch June 4, 2026 12:26
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.

2 participants