Skip to content

Optimize navigation, terrain, recording, and sensors - #67

Merged
AdrienGrp merged 69 commits into
mainfrom
codex/post-merge-corrections
Jul 23, 2026
Merged

Optimize navigation, terrain, recording, and sensors#67
AdrienGrp merged 69 commits into
mainfrom
codex/post-merge-corrections

Conversation

@AdrienGrp

Copy link
Copy Markdown
Collaborator

What changed

  • Optimizes GPS request policies, screen-off behavior, auto-pause, marker prediction, compass continuity, and related diagnostics for better responsiveness and lower background cost.
  • Makes DEM handling resilient across detailed/standard terrain, fixes hillshade fallback rendering, and adds source-specific download progress and elevation improvements.
  • Improves recording metadata, profile-aware REC dashboards and recap details, battery benchmark telemetry, and activity-specific metric defaults.
  • Hardens external BLE sensors with subscription-based readiness, setup timeouts, serialized callbacks, bounded reconnects and scans, stale-value clearing, Cycling Power discovery, notification/indication compatibility, and sampled diagnostics.
  • Updates bundled map themes/licensing and keeps app-owned resources explicitly English-only after removal of the partial French localization.

Why

This branch applies the findings from the post-5.6 app audit and subsequent field tests. The main root causes were lifecycle transitions being treated as ready too early, fallback availability being conflated with selected download state, high-frequency work continuing outside the visible/active path, and REC configuration not being fully separated by activity profile.

User impact

  • More stable compass and marker behavior after screen transitions.
  • Better battery behavior without reducing normal recording quality.
  • Reliable maps and elevation when only standard DEM data is available.
  • Independent, activity-appropriate Hike and Bike REC dashboards.
  • External sensors report Connected only when measurement subscriptions are ready and recover more cleanly from interruptions.

Verification

  • ktlintCheck
  • detekt
  • :app:compileDebugKotlin
  • :glancemapcompanionapp:compileDebugKotlin
  • :app:testDebugUnitTest
  • :glancemapcompanionapp:testDebugUnitTest
  • :app:lintDebug
  • :glancemapcompanionapp:lintDebug
  • Local BRouter routing metadata compatibility check

AdrienGrp added 27 commits July 14, 2026 18:57
@AdrienGrp
AdrienGrp marked this pull request as ready for review July 23, 2026 04:11
@AdrienGrp
AdrienGrp merged commit 2c921df into main Jul 23, 2026
1 check passed
@AdrienGrp
AdrienGrp deleted the codex/post-merge-corrections branch July 23, 2026 04:11
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.

1 participant