trails/e2e
Ullrich Schäfer 536a8f98b9
journal-elevation-profile: elevation chart + map↔chart sync
Implements the journal-elevation-profile change (specs/journal-elevation-profile):

- gpx: `elevationSeries(tracks)` → { d, e, lat, lng }[] with cumulative distance,
  downsampled (keeps first/last), empty when <2 points carry elevation.
- ElevationProfile: read-only SVG area chart (vertical gradient fill), highest/
  lowest summary + a hover readout. Reports hovered index (onActive) and clicked
  index (onSeek); draws a marker at the active index. Renders nothing for an
  empty series.
- RouteMapThumbnail: ActiveMarker (CircleMarker at the chart's active point),
  HoverTracker (route hover → nearest sample → onHoverIndex), Recenter (panTo on
  chart click). Props forwarded through ClientMap.
- Wired into the activity + route detail pages via a shared activeIndex/centerOn
  state; loaders expose the series (activity reuses the moving-time parse).
- i18n journal.elevation.{highest,lowest} in en + de.

Ascent/descent stay in the stat row (#532); the chart summary shows highest/
lowest to avoid duplication.

Tests: elevationSeries unit; ElevationProfile component (jsdom); e2e creates an
activity from an elevation GPX and asserts the chart renders. typecheck + lint +
unit (gpx 67, journal 315) green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 15:34:45 +02:00
..
federation feat(journal): two-instance federation harness + trails↔trails Accept fix (§11) 2026-06-07 13:36:35 +02:00
fixtures e2e: close the interact-before-hydration race (cold-start flake) 2026-06-11 14:09:00 +02:00
helpers e2e: close the interact-before-hydration race (cold-start flake) 2026-06-11 14:09:00 +02:00
activity-sport-type.test.ts activity-sport-type: e2e test + register spec in playwright config 2026-06-12 14:16:58 +02:00
auth.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
demo-bot.test.ts Fix e2e fallout from default-private profile_visibility 2026-04-25 23:46:56 +02:00
elevation-profile.test.ts journal-elevation-profile: elevation chart + map↔chart sync 2026-06-12 15:34:45 +02:00
explore.test.ts e2e: close the interact-before-hydration race (cold-start flake) 2026-06-11 14:09:00 +02:00
integration.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
journal-planner-save.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
journal.test.ts Rebuild the Journal home around a public feed and flagship marketing 2026-04-24 20:00:23 +02:00
komoot-import.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
notifications.test.ts e2e: close the interact-before-hydration race (cold-start flake) 2026-06-11 14:09:00 +02:00
planner-coloring.test.ts test(e2e/planner-coloring): bump canvas timeout 10s→20s 2026-05-25 23:44:53 +02:00
planner-multiday.test.ts Split planner E2E tests into focused feature files 2026-05-22 21:58:10 +02:00
planner-overlays.test.ts Split planner E2E tests into focused feature files 2026-05-22 21:58:10 +02:00
planner-routing.test.ts Split planner E2E tests into focused feature files 2026-05-22 21:58:10 +02:00
planner-session.test.ts Split planner E2E tests into focused feature files 2026-05-22 21:58:10 +02:00
public-content.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
settings.test.ts e2e: register and repair the settings/explore/social specs 2026-06-11 08:32:18 +02:00
social.test.ts e2e: close the interact-before-hydration race (cold-start flake) 2026-06-11 14:09:00 +02:00