maulaku / wwdiary

Automatically exported from code.google.com/p/wwdiary
0 stars 0 forks source link

Weight loss/gain weidget start date set by user #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the enhancement that you had in mind?
The total weight loss widget is based on first day of data to present day. It 
would be nice to be able to override that calculation basis. 

How should it work?
In initial set-up or down the road, a setting allows the user to specify the 
"start" date that calculates total weight loss. 

For example, I entered some historic weight loss/weight gain bits of data 
purely for my own reference and to make a pretty online weight graph. The 
widget went to the oldest entry (years ago) so the result is somewhat 
meaningless. 

I would imagine this enhancement would be helpful to people who restart their 
plan but don't want to lose their data. 

Can you provide an illustration of what you think it should look like (if
applicable)?

Original issue reported on code.google.com by KKallma...@gmail.com on 9 Jan 2013 at 4:55

GoogleCodeExporter commented 9 years ago
I realize that there is a way to set the "goal/start" by selecting weight entry 
in the weight log and tapping that option. However, the widget result that 
displays on the Android page still references the earliest dated entry to do 
the math. The weight log itself correctly calculates weight loss. But the 2x1 
widget I dragged to my Android page to show total weight lost shows a different 
result; it appears to be ignoring the goal/start set in the weight log. 

So perhaps this is a "fix" request for the widget, not an enhancement. 

Original comment by KKallma...@gmail.com on 9 Jan 2013 at 6:08

GoogleCodeExporter commented 9 years ago
I may fix this by adding another type of widget, or allow you to set the 
behavior in preferences.  Sound good?

Original comment by ddumont on 13 Jan 2013 at 7:38