diff --git a/AGENTS.md b/AGENTS.md index 2e173b7..9a35c62 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -201,7 +201,14 @@ session with **no other memory of this project**. So: last-resort fallback and its result is flagged `approximate` ("driving estimate") so we never pass driving numbers off as walking. Moto≈car is labelled honestly; the foot summary also shows a ~10 km/h `skateTime` cruise - estimate ("~6 min on a board") next to the walking time. **Transit** mode uses **Transitous** (`api.transitous.org`, + estimate ("~6 min on a board") next to the walking time. The dialog also + remembers the last mode (`localStorage: skatespots:route-mode`), shows an ETA + ("arrive ~08:10 PM"), and each step row is **tappable** (pans the map + highlights) + with a "Whole route" re-fit button. + - ⚠️ `index.css` has a global mobile rule `button, [role=button] { min-height: + 44px; min-width: 44px }` for touch targets. Any dense list of ` + )} {/* Summary bar */} @@ -434,6 +486,7 @@ export function RouteDialog({
{formatDuration(route.durationS)} + · arrive ~{etaClock(route.durationS)} {TRAVEL_MODES.find((m) => m.mode === mode)?.approximate && ( · uses driving roads )} @@ -468,16 +521,32 @@ export function RouteDialog({
    {route.steps.map((s, i) => ( -
  1. - - {i + 1} - - {s.instruction} - {s.distanceM >= 10 && ( - - {formatDistance(s.distanceM / 1000)} +
  2. +
  3. ))}