No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/wanderer!64
Loading…
Reference in a new issue
No description provided.
Delete branch "batch/2026-11-05"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Batch merge of the 2026-11-05 wanderer work into
deploy(fast-forward-only repo, so one batch PR = one CI round instead of 8 rebase+CI rounds). Fast-forwardingdeployto this branch marks the PRs below as merged.Merged in this order (
--no-ff, one merge commit each):Conflicts: only additive ones (
en.jsonkeys from #54 + #56; imports intrail/edit/[id]/+page.sveltefrom #54 + #58). Resolved by keeping both sides.Local verification (spl-vm05): svelte-check 0 errors (2 old a11y warnings); vitest 1093 passed / 13 skipped (+ the known Node 24 unhandled rejection, #57);
go vet ./...clean,go test ./services/...ok. Full Go suite in CI.🤖 Generated with Claude Code
https://claude.ai/code/session_01XMf4EGfBC9xbQ6rjD6HxgP
- Add a "Use pace estimate" button that copies the estimator's moving time and D+/D- into the Basic-info fields (kept until the route changes). - Suggest the name ("<start> – <end>" or "<start> loop", loop = ends <= 200 m apart) and location from the reverse-geocoded start/end, debounced and cached per ~110 m cell; only empty or untouched fields are filled, and typing claims a field. - Pre-select difficulty and category from track heuristics (effort km, max/avg climb gradient, recorded speed, routing profile, SAC floor) in the pure, tested trail_heuristics module, mapped to the DB categories with fallbacks; only while the user has not chosen. - Fix the read-only elevation_loss hidden input posting elevation_gain. Refs #49 Claude-Session: https://claude.ai/code/session_01XMf4EGfBC9xbQ6rjD6HxgP Co-Authored-By: Claude Opus 5.5 <[email protected]>- Treat filename-like and device/app default names from uploaded files ("Morning_Run.gpx", "Activity_123", "Track 001", "Current Track: …", date-only names, Strava EN/FR/DE/IT and Garmin defaults) as unfilled, so the route-based name replaces them. Detection is a narrow, pure, unit-tested function; anything unrecognised is kept. - For drawn routes (no recorded speed), the pace estimator's run/hike mode decides Running vs the walk/hike rule; recorded tracks keep the speed rule and bicycle routing still wins. Refs #49 Claude-Session: https://claude.ai/code/session_01XMf4EGfBC9xbQ6rjD6HxgP Co-Authored-By: Claude Opus 5.5 <[email protected]>Garmin names activities "<start locality> <Activity>". Treat such a name as a placeholder only when its prefix matches a locality of the reverse-geocoded start (case-, accent- and hyphen-insensitive; short place, hamlet, village, suburb, town, city, municipality). Without a match, or when the lookup fails, the name is kept, so "Gorges du Verdon Hiking" starting in Castellane survives. A bare activity ("Hiking") stays a placeholder. Refs #49 Claude-Session: https://claude.ai/code/session_01XMf4EGfBC9xbQ6rjD6HxgP Co-Authored-By: Claude Opus 5.5 <[email protected]>GET /trail/{id}/surface map-matches the stored GPX track with Valhalla trace_attributes (thinned to 10 m, chunks of <=2000 points / 50 km) and aggregates the matched edges into contiguous per-kind segments in track distances, with normalised types (surface, way, sac) and the raw values. Results are cached in the new superuser-only trail_surface collection (one record per trail, keyed by geometry hash and algorithm version) and computed lazily on first view. Access follows the trails view rule; every refusal is a 404. Valhalla is read from VALHALLA_URL. Refs #51, #49 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XMf4EGfBC9xbQ6rjD6HxgPAdds the GET /api/v1/trail/{id}/surface proxy (forwards only the share token), the TrailSurface types and trail_surface_get plus helpers that split segments and totals by kind and find the segment at a distance, for the #51 trail view and #49 track colouring. Refs #51, #49 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XMf4EGfBC9xbQ6rjD6HxgP