Repository navigation
feat(map): redesign Map tab (concept 4c) with a real bordered basemap - #911
Merged
Merged
Conversation
Implements the "4c" Map redesign on the existing offline vector map: - Borders: draw country outlines (world_countries.json) in both the equirectangular and azimuthal projections, plus US state borders once zoomed past a threshold (showStateBorders). The data + loaders already shipped; they were just unused. - Layout: header (title + "N decoded · M worked this session" + gear) over a layer-chip row (Decodes / PSK spots / Worked) over an inset rounded map card. Layer chips partition which markers draw. - Controls: top-left greyline info pill (band + "greyline in Xh Ym"), a 44dp +/-/Me stack where Me recenters on the operator grid, and Projection + Gray line moved into the gear menu. - Station card restyled to 4c (avatar + callsign + distance/bearing/SNR + Details). Pure logic extracted to MapRedesign.kt (layer visibility, greyline countdown, formatting) and MapViewport.panToCenter, covered by MapRedesignTest. Verified on a tablet emulator with demo data. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #911 +/- ##
============================================
- Coverage 42.07% 41.50% -0.57%
Complexity 252 252
============================================
Files 278 280 +2
Lines 33383 33973 +590
Branches 3914 4033 +119
============================================
+ Hits 14045 14100 +55
- Misses 19051 19584 +533
- Partials 287 289 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
patrickrb
added a commit
that referenced
this pull request
Sep 25, 2026
patrickrb
added a commit
that referenced
this pull request
Sep 25, 2026
patrickrb
added a commit
that referenced
this pull request
Sep 25, 2026
Addresses two legibility issues raised on the redesign: - Indicators are now obvious dots: marker radius 3.5/5.5 -> 6/9, a layered glow halo instead of a single faint one, an SNR alpha floor raised from 0.45 to 0.78 (weak decodes no longer wash out), and a bold amber operator "you are here" dot with a glow. Shapes (triangle CQ / diamond to-me / donut worked / dot) are kept. - Auto-fit: on the standard projection the map now frames the region that actually has markers (stations + operator) instead of a mostly-empty world. fitEquirectView computes the zoom/pan; it re-frames when the marker spread changes and stops once the operator pans/zooms/recenters (a global spread stays at 1x, a regional cluster zooms in). New pure logic (fitEquirectView + MapViewFit) and the raised SNR floor are covered by tests; verified on a tablet emulator (regional inject zooms to North America, global inject frames the world). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
patrickrb
added a commit
that referenced
this pull request
Sep 25, 2026
patrickrb
added a commit
that referenced
this pull request
Sep 25, 2026
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.
Implements the 4c Map redesign on the app's existing offline vector map.
What's new
world_countries.json) now draw in both the equirectangular and azimuthal projections, plus US state borders once zoomed past a threshold (showStateBorders). The border data + loaders already shipped; they were unused until now.Map+ "N decoded · M worked this session" + ⚙ gear) → layer-chip row (Decodes / PSK spots / Worked) → an inset rounded map card. The chips partition which station markers draw.Scope
Testing
MapRedesign.kt(layer visibility, greyline countdown, formatting) andMapViewport.panToCenter, covered byMapRedesignTest(all passing).assembleDebugbuilds; verified live on a tablet emulator with demo data (borders render, gear menu, greyline countdown, recenter).🤖 Generated with Claude Code
Screenshots
Bolder station indicators — bigger dots, a layered glow, and a raised SNR floor so weak decodes still read; the operator is a bold amber "you are here" dot. Shapes (triangle CQ / diamond to-me / donut worked / dot) are kept:
Auto-fit to markers — the map frames the region that actually has stations instead of a mostly-empty world. A regional run zooms into North America (state borders appear); a global spread stays at world view:
Map options menu — Projection + Gray line live in the ⚙ gear: