trails/apps/planner/app
Ullrich Schäfer 413c46623e
perf(planner): group colored route into color runs, not 1 polyline/coord
ColoredRoute rendered one interactive-registered <Polyline> per
coordinate pair — ~14.6k on a 485 km route — flooding Leaflet's SVG
layer and event-target map. Run-length group consecutive same-color
segments into a single polyline each (new pure buildColorRuns helper,
unit-tested). Discrete modes (surface/highway/…) collapse to a handful;
the elevation gradient is quantized into 24 buckets so its runs merge
too. Rendering is otherwise identical.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 08:32:36 +02:00
..
components perf(planner): group colored route into color runs, not 1 polyline/coord 2026-07-16 08:32:36 +02:00
jobs Add pg-boss background job queue with session expiry 2026-04-13 21:17:24 +02:00
lib perf(planner): group colored route into color runs, not 1 polyline/coord 2026-07-16 08:32:36 +02:00
routes feat(planner): move "computing route" from topbar to a map overlay 2026-07-16 01:01:08 +02:00
types chore(ts): replace 7 \as unknown as\ shims with proper types 2026-05-26 01:02:25 +02:00
entry.client.tsx Add legal pages, ToS acceptance, and alpha banner 2026-04-18 00:08:48 +02:00
entry.server.tsx Consolidate Sentry config into shared package; fix inconsistencies 2026-04-18 00:30:09 +02:00
root.tsx feat(ui): design-system foundation — shared token layer + fonts 2026-07-15 23:00:28 +02:00
routes.ts feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
styles.css feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00