jovandeginste / workout-tracker

A workout tracking web application for personal use (or family, friends), geared towards running and other GPX-based activities
Other
945 stars 31 forks source link

fix: support editing workouts using Imperial units #218

Closed jovandeginste closed 1 month ago

jovandeginste commented 1 month ago

In order to correctly support Imperial units and locales, we:

There's now a new reset button on the edit form that resets the input fields back to their initial values, and a close button to go back to the view.

We no longer show a few workout details in the list view:

We update the workout view page, to hide the map if there is no map to show (even if it's a location-based workout). This is currently determined by checking if the map center is "0, 0".

We also update the cosmetic layout of the buttons, to be more consistent and intuitive.

Fixes: #217

Signed-off-by: Jo Vandeginste Jo.Vandeginste@kuleuven.be