refactor(ui): rename "Breadcrumb" to "Trail" across the feature

User-facing label change requested for the GPS trail viewer. Carries
through internally for consistency:
- Files: Breadcrumb.h → Trail.h, BreadcrumbScreen.h → TrailScreen.h
- Types: BreadcrumbPoint/Store/Screen → Trail*
- NodePrefs fields: breadcrumb_*_idx → trail_*_idx (same byte layout, no
  sentinel bump needed)
- UITask: _breadcrumb, breadcrumb_screen, gotoBreadcrumbScreen,
  _next_breadcrumb_sample_ms → trail-prefixed equivalents
- Tools menu label "Breadcrumb" → "Trail", screen title "TRAIL"

Status bar indicator stays "G" — semantics ("GPS logging active") match.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-25 09:10:40 +02:00
parent adef2fceb9
commit ae783edc47
7 changed files with 48 additions and 48 deletions

View File

@@ -99,10 +99,10 @@ struct NodePrefs { // persisted to file
static const uint8_t FAVOURITE_PREFIX_LEN = 6;
uint8_t favourite_contacts[FAVOURITES_COUNT][FAVOURITE_PREFIX_LEN];
// GPS breadcrumb cadence — indices into BreadcrumbStore::intervalSecs / minDeltaMeters.
// Logging on/off is a runtime state (Tools Breadcrumb), not a persisted preference.
uint8_t breadcrumb_interval_idx; // 0..3: 1min / 30s / 5min / 15min
uint8_t breadcrumb_min_delta_idx; // 0..2: 25m / 5m / 100m
// GPS trail cadence — indices into TrailStore::intervalSecs / minDeltaMeters.
// Logging on/off is a runtime state (Tools Trail), not a persisted preference.
uint8_t trail_interval_idx; // 0..3: 1min / 30s / 5min / 15min
uint8_t trail_min_delta_idx; // 0..2: 25m / 5m / 100m
// Tail sentinel written at the end of /new_prefs. Bump the low byte when
// adding/removing/reordering fields in DataStore::savePrefs/loadPrefsInt so