Skip to content

feat: add heartzones in runner dashboard + clean storage#273

Merged
maxpou merged 1 commit into
mainfrom
runner-heart-zones
Apr 16, 2026
Merged

feat: add heartzones in runner dashboard + clean storage#273
maxpou merged 1 commit into
mainfrom
runner-heart-zones

Conversation

@maxpou

@maxpou maxpou commented Apr 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

@maxpou maxpou self-assigned this Apr 15, 2026
@maxpou
maxpou requested a review from Copilot April 15, 2026 17:45
@maxpou
maxpou force-pushed the runner-heart-zones branch from c39c3ba to 6f7303e Compare April 15, 2026 17:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds heart rate zone calculations to the Runner Dashboard and introduces a Settings tab to clear locally-saved preferences.

Changes:

  • Added a new Heart Zones tab/component with max HR input and zone breakdown.
  • Added a new Settings tab/component to reset saved preferences per section or all at once.
  • Updated the default stored “time2” value for the Splits calculator.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

File Description
src/pages/apps/SplitsCalculatorComponent.tsx Adjusts the default time2 localStorage value used for comparisons.
src/pages/apps/SettingsComponent.tsx New settings UI for resetting runner-dashboard localStorage preferences.
src/pages/apps/RunnerDashboardTabs.tsx Adds new tabs (Heart Zones, Settings) and renders their components.
src/pages/apps/HeartZonesComponent.tsx New Heart Zones calculator UI and localStorage persistence for max HR.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/pages/apps/RunnerDashboardTabs.tsx
Comment thread src/pages/apps/HeartZonesComponent.tsx
Comment thread src/pages/apps/SettingsComponent.tsx
Comment thread src/pages/apps/HeartZonesComponent.tsx
@maxpou
maxpou force-pushed the runner-heart-zones branch from 6f7303e to 91d5d43 Compare April 15, 2026 17:59
@maxpou
maxpou merged commit a113465 into main Apr 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants