From 02ee9fa76e3d5ef42fa6e7f369a15758ae536ee7 Mon Sep 17 00:00:00 2001 From: Christophe Vila Date: Sun, 19 Jul 2026 16:05:41 +0200 Subject: [PATCH] Show the average line for single-effort-type workouts too; rebrand header to geniusrun Previously the dashed average pace/HR line only drew for warm-up/cool-down laps. Workouts with only one kind of effort throughout (no warm-up/cool-down segmentation at all, e.g. a plain Long Run) had nothing to compare the actual trace against, so they now get the same dashed line spanning the whole activity at its overall (duration-weighted) average. UI-only rename: "smartrun" -> "geniusrun", prefixed with the genie emoji. --- frontend/src/App.tsx | 2 +- .../charts/ExpectedVsActualChart.tsx | 46 +++++++++++++++---- 2 files changed, 38 insertions(+), 10 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 3afb95f..e1f023c 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -24,7 +24,7 @@ function App() { return (
-

smartrun

+

🧞‍♀️ geniusrun

@@ -312,7 +340,7 @@ export function ExpectedVsActualChart({ laps, samples }: { laps: Lap[]; samples: )} - +