Skip to content

feat(map): link upgrades — focus-on-hover, recency fade, hover card#454

Merged
SimmerV merged 4 commits intoMeshAddicts:developfrom
SimmerV:develop
May 1, 2026
Merged

feat(map): link upgrades — focus-on-hover, recency fade, hover card#454
SimmerV merged 4 commits intoMeshAddicts:developfrom
SimmerV:develop

Conversation

@SimmerV
Copy link
Copy Markdown
Collaborator

@SimmerV SimmerV commented Apr 30, 2026

Summary

  • Recency fade — each link bakes a recencyOpacity factor from the most recent last_rx_time (NeighborInfo, both directions; falls back to last_seen for traceroute-inferred edges). Bands: <15 min full strength → 1 h taper to 0.6 → 6 h taper to 0.3.
  • Rich hover cardmaplibregl.Popup on all three link layers shows A ↔ B, kind (Neighbor / Heard by / Mutual / Traceroute), SNR, and relative last-heard. Follows cursor on mousemove.
  • Unified link color — SNR gradient when known, gray when unknown. Drops the old kind-color fallback (green/blue/magenta), which read as "great link" when we just had no SNR data. Kind is now conveyed by line style only; traceroute keeps orange (per-hop SNR isn't meaningful on inferred paths).
  • Legend rebuilt to match — SNR gradient bar, gray "unknown", line-style icons per kind, neutral white recency-fade swatch.

Deferred: SNR sparkline inside the hover card. Needs a backend endpoint that returns per-link SNR history (frontend fetches packets per node today, not per edge).

@SimmerV SimmerV self-assigned this Apr 30, 2026
@SimmerV SimmerV added the enhancement New feature or request label Apr 30, 2026
@SimmerV SimmerV added this to meshinfo Apr 30, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in meshinfo Apr 30, 2026
@SimmerV SimmerV merged commit 91d2e62 into MeshAddicts:develop May 1, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in meshinfo May 1, 2026
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

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant