From 7602b135f86fcebaf2d731f32c3a28ff39abe2e5 Mon Sep 17 00:00:00 2001 From: Mischa Date: Fri, 19 Jun 2026 22:31:33 +0200 Subject: [PATCH] docs: add stats redesign spec Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01RB86BaJBG3eGiMdfhmHRrQ --- .../specs/2026-06-19-stats-redesign.md | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 docs/superpowers/specs/2026-06-19-stats-redesign.md diff --git a/docs/superpowers/specs/2026-06-19-stats-redesign.md b/docs/superpowers/specs/2026-06-19-stats-redesign.md new file mode 100644 index 0000000..5c01994 --- /dev/null +++ b/docs/superpowers/specs/2026-06-19-stats-redesign.md @@ -0,0 +1,143 @@ +# Stats Redesign — Design Spec + +*2026-06-19* + +--- + +## Goal + +Expand trip statistics with new data points already available in entry frontmatter, add smart distance labelling based on whether GPX files are present, and add a dedicated cycling stats panel derived from GPX track data. + +--- + +## Data sources + +| Source | Fields available | +|---|---| +| Entry frontmatter | `date`, `lat`, `lng`, `location_city`, `location_country`, `weather_temp_c` | +| Trip page media | `.gpx` files (Komoot exports) | +| GPX trackpoints | `lat`, `lon`, `` (meters), `