trails/openspec/changes/archive/2026-04-04-journal-route-previews/specs/route-management/spec.md
Ullrich Schäfer ff93a4cfdd
Archive wahoo-import and journal-route-previews, sync specs
Archive completed changes and sync their delta specs to main:
- wahoo-import: new wahoo-import spec, updated journal-auth and account-settings
- journal-route-previews: new route-preview spec, updated map-display and route-management

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 11:33:16 +01:00

649 B

MODIFIED Requirements

Requirement: Route data includes geometry for rendering

Route and activity loaders SHALL return GeoJSON geometry when available.

Scenario: Route list returns simplified geometry

  • WHEN the routes list loader runs
  • THEN each route includes a geojson field containing the geometry as a GeoJSON string
  • AND the geometry is simplified server-side via ST_Simplify() for list page performance

Scenario: Route detail returns full geometry

  • WHEN the route detail loader runs and the route has geometry
  • THEN the route includes a geojson field with the full-resolution GeoJSON geometry