wger-project / wger

Self hosted FLOSS fitness/workout, nutrition and weight tracker
https://wger.de
GNU Affero General Public License v3.0
3.16k stars 579 forks source link

Show previous (last) weight/distance/uom when entering new exercise log #719

Open sullivant opened 3 years ago

sullivant commented 3 years ago

Use case

I am a relatively new user to this wonderful app and I'm looking to see if this is a feature, or maybe a use case with a proposal going down the line. When using the "new log" for a given exercise / routine, it's nice that it shows on the page all of the exercises in the workout session. In my case for instance it shows squats and then 5 form rows for the details to this workout. Picking which weight to use, right now is a bit confusing to know that I think I should be squatting 105 today because 2 days ago I was squatting 100lbs. I have to go to the exercise page, or the calendar and find the history, etc.

Proposal

My proposal is that under/near the title for the exercise it shows the last (temporal) entered weight, distance, or time entered. I think this can be as simply as a select from the DB, limit 1, in date order, descending, etc.

image

rolandgeider commented 3 years ago

Hi! Glad that you like it!!

The mobile app already has this feature in the gym mode (you can even click on one of the past logs and it will copy over the data), but it wouldn't hurt to have it here as well. I don't want to clutter too much the UI so we would need to think about how to present it

sullivant commented 3 years ago

Oh great! Though I'm on IOS, so I'm not really able to use the mobile app, IIRC.

I'm a developer by trade, though more Java, Rust, hardware i/o, and some big-data stuff. I can take a stab at playing with Python, possibly. :)

rolandgeider commented 3 years ago

The app is written with flutter so you could build it and be the first to try it out 😄