fix(analytics): show highest elevation gain in meters #35

Open
McPringle wants to merge 1 commit from McPringle/fix/elevation-gain-in-meters into main
McPringle commented 2026-04-30 13:05:59 +02:00 (Migrated from github.com)

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.

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.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin McPringle/fix/elevation-gain-in-meters:McPringle/fix/elevation-gain-in-meters
git checkout McPringle/fix/elevation-gain-in-meters

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.

git checkout main
git merge --no-ff McPringle/fix/elevation-gain-in-meters
git checkout McPringle/fix/elevation-gain-in-meters
git rebase main
git checkout main
git merge --ff-only McPringle/fix/elevation-gain-in-meters
git checkout McPringle/fix/elevation-gain-in-meters
git rebase main
git checkout main
git merge --no-ff McPringle/fix/elevation-gain-in-meters
git checkout main
git merge --squash McPringle/fix/elevation-gain-in-meters
git checkout main
git merge --ff-only McPringle/fix/elevation-gain-in-meters
git checkout main
git merge McPringle/fix/elevation-gain-in-meters
git push origin main
Sign in to join this conversation.
No description provided.