enaychi(fix): routes tests and series #133

Merged
nick merged 13 commits from nick/dotfiles:routes-tests-and-series into main 2026-11-21 20:54:03 -05:00
Owner
No description provided.
nick added 13 commits 2026-11-21 20:53:36 -05:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MAP_AREAS=1 (Android bundle, phones) drives Settings › Exercise ›
Routes › Map Areas against a mocked Maps plugin: the names search's
debounce, the rows' size and Download/Update/Delete, Download under the
area's name, and "On this phone" following the listing. ROUTES=1 and
ROUTE_PLANNER=1 now run on both bundles: Terrain's hillshade layer, the
Account round trip, the toolbar's pressed and unavailable states, the
six edits above a 48px navigation bar in full screen, Escape, and on the
app the cells notice, Open settings and the mode row's inertness under a
mocked recording. The test plan ticks what is written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
Upkeep took the first eight stale cells by key, so with Protomaps
publishing daily the same eight were rebuilt every day while the rest
never moved (dev: the northern Saskatchewan cells went 20261118 →
20261120 → 20261121 while every Manitoba cell stayed on 20261118).
The plan now takes the cells furthest behind first, then the most
recently used, so a refreshed cell leaves the front and every used cell
gets its turn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
Turning Roads and trails off left the road-labels layer in the style, so
street names floated over a map with no streets. The labels now sit under
the same switch as the lines they name, and the routes browser check
asserts no layer drawn from the roads source survives Roads off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
The Routes card's Open settings opened the Exercise section but left
Settings scrolled to its top, with the Map Areas rows far below the fold.
It now scrolls the Map Areas column into view once it is drawn, clear of
the top chrome, and the routes browser check asserts the field is on
screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
The diary report built its own track object (id, mode, name, stats,
preview) while the client decodes report tracks with the track routes'
TrackSummary decoder, so every report track failed to decode and the
report's Routes card always read "No tracks were recorded in this range".
The report now reads finished tracks as ordinary track rows and encodes
the same TrackSummary the track routes send; the hand-built projection is
gone. The report suite checks a report track equals the track list's
summary, holds only the owner's tracks, and that the summaries count its
distance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
The report fixture had no tracks, so the Routes report card was only ever
drawn empty and the report's own track shape went unchecked. The fixture
day now carries a track in the TrackSummary shape the backend sends, and
the Exercise report asserts the Routes card lists it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
Ticks the plan's tablet checks that passed and corrects its setup for the
phone layout; records B-091, B-094 and B-097's fixes, new findings B-102
(hillshade) and B-103 (two Stop following buttons), the dev data and the
session in the beta log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
The hillshade's shadow was surfaceVar, lighter than the land on dark
palettes, so terrain drew no relief (B-102); it now uses the palette's
shadow slot at a stronger exaggeration.

Following a route showed Stop following on the map and again under it,
while a recording along a route had none on the map and none in full
screen (B-103). The map's cluster now carries it whenever a route is
followed and wraps on a narrow phone; the strip keeps the camera and
voice cues. Tutorial and docs follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
docs(enaychi): routes B-091, B-102 and B-103 verified on the tablet
Some checks failed
CI / build (ceres) (pull_request) Has been cancelled
CI / build (deimos) (pull_request) Has been cancelled
CI / build (eris) (pull_request) Has been cancelled
CI / build (firewall) (pull_request) Has been cancelled
CI / build (lamdagibson) (pull_request) Has been cancelled
CI / build (mars) (pull_request) Has been cancelled
CI / check (pull_request) Has been cancelled
13bf3daa2e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dB3eLosCs5tMymKSNqtNE
nick merged commit 78fc50832d into main 2026-11-21 20:54:03 -05:00
nick deleted branch routes-tests-and-series 2026-11-21 20:54:09 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
upRootNutrition/dotfiles!133
No description provided.