ramack / ActivityDiary

Android diary for any kind of activities
GNU General Public License v3.0
73 stars 37 forks source link

Details of "other" activities in the statistics #225

Open XilinJia opened 5 years ago

XilinJia commented 5 years ago

In Statistics, I see a "Resting" activity. I don't remember myself setting it directly. I presume it's related to the time when "No Activity" is set. Hope there is a way to find out more about this "Resting" activity. Perhaps it should also be shown under "Diary" among with other activities.

ramack commented 5 years ago

This is not resting, it is the rest aka the remaining activities, which are too short to show alone, so they are shown as summed 'rest.

XilinJia commented 5 years ago

I see. Perhaps the term should be changed to "Others"? Then there needs a way to see what these "Others" are.

ramack commented 5 years ago

Yes and yes.

  1. "Others" seems the better wording, will change that
  2. we should be able to click on the "Others" piece of cake to get a detailed view of this.
  3. I think it would be good to show the percentage (with an option in the settings to take 100% as wall clock time in the shown timeframe, 100% as the tracked time, and also to hide it)

I assigned it ti 1.4.0 for now, but I fear, that this is still overfull and I cannot solve all tickets in that in a reasonable time, so I might need to shift part of them to 1.5 to get 1.4 released one day... -> or we need more helping hands like @noki1234 and @ondri124!

ramack commented 5 years ago

@LeoK987 if you want you can "train" the workflow of a PR with the renaming of Rest to Others (hint: the name of the string should be changed and the strings.xml - without the language extension; other languages will come from the translation project in crowdin).

XilinJia commented 5 years ago

While we are at the statistics, can we also put a percentage number on every activity on the pie?

ramack commented 5 years ago

This is what I mean with "3.". The full detail pie (showing the other activities) corresponds to the amount of the gray "others" piece of the full statistics and I think it is only meaningful to keep what means "100%" the same value for the global and the detail view. So in the detail the sum of all percent values should be the equal to the value shown in the global pie for the gray piece. In the global pie, the percent values can sum up to 100 if the option to show it relative to the "tracked time". If option "wall clock time" is selected 100% corresponds to 1 week, so if the user has 1 day untracked, the percent values sum up to 85.7. With option "hide percentage" - well - the number is not shown at all.

But as always: do it as YOU want it to be and take my comments as ideas.