fix(analytics): show highest elevation gain in meters #35
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: McPringle/fitpub#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "McPringle/fix/elevation-gain-in-meters"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR fixes the analytics UI to display Highest Elevation Gain in meters instead of kilometers.
The value is already stored in meters. The issue was in frontend formatting, which treated all meters-based personal records as distance. This change keeps Longest Distance in kilometers while showing elevation gain correctly in meters, including the improvement text.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.