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), `