Power curve: show record holder in tooltip and add records table
Find the activity that holds each MMP record by scanning per-activity mmp arrays. Activity title appears in the chart hover tooltip. A table below the chart lists every duration with the record watts, activity title (linked), and date. The table has its own all-time/365d/90d toggle independent of the chart overlays.
This commit is contained in:
@@ -210,7 +210,7 @@
|
||||
{#if activeTab === 'power'}
|
||||
{#if athlete.power_curve.all_time}
|
||||
<div class="bg-zinc-900 rounded-xl p-4 border border-zinc-800">
|
||||
<MmpChart {athlete} {activities} />
|
||||
<MmpChart {athlete} {activities} {base} />
|
||||
</div>
|
||||
{:else}
|
||||
<p class="text-zinc-500 text-sm">No power data found. Make sure your activities include power meter data.</p>
|
||||
|
||||
Reference in New Issue
Block a user