gnome-pomodoro icon indicating copy to clipboard operation
gnome-pomodoro copied to clipboard

Display XhYm, with integers instead of Xh as fractional in Stats view

Open AndreiMiculita opened this issue 1 year ago • 6 comments

Is your proposal related to a problem?

When they are greater than 1h, the amounts of time spent on Pomodoro/breaks are displayed as hours with a fractional part:

image

It's difficult to tell what the fractional parts actually mean, since in real life we never refer to 0.6 or 0.8 hours.

Describe the solution you'd like

They should always be displayed as XhYm. Thus it should be about 7h36m and 1h42m.

AndreiMiculita avatar Jun 17 '23 22:06 AndreiMiculita

Noted. I notice that my fitness tracker also formats hours as "Xd Yh" when it reaches over 24h... I'm leaning more to using "Xh Ym" consistently.

Give me a week to prepare a mockup of the new stats view.

kamilprusko avatar Jun 18 '23 04:06 kamilprusko

There's an option of using total time as a prime metric + % of time spent on breaks. In my opinion, the overview is easier to read this way. Though it causes problems: how to incorporate time spent on Pomodoro and Breaks? One way could be by adding more sections. Or there could be a selector...

g63168

g63408

rect63572

kamilprusko avatar Jun 25 '23 09:06 kamilprusko

Nice! You could consider showing the pause time as a downwards bar chart? For some inspiration this is what my energy company does for example to show how much my solar panels are compensating and it feels quite readable.

Regarding the heatmap, to me, the bubbles are less readable than colors would be. Bubbles come with some issues as humans are naturally bad at comparing areas (if the circles indeed scale according to area and not radius? which is still unclear). Some discussion on it:

  • https://ux.stackexchange.com/questions/15893/real-vs-perceived-circle-area-in-data-visualisation
  • https://ux.stackexchange.com/a/113055 (last section)
  • https://junkcharts.typepad.com/junk_charts/2021/02/circular-areas-offer-misleading-cues-of-their-underlying-data.html
  • https://junkcharts.typepad.com/junk_charts/2023/03/layoff-bubbles.html
  • https://www.answerminer.com/blog/mystery-circle-visualization

AndreiMiculita avatar Jun 26 '23 15:06 AndreiMiculita

@AndreiMiculita Good points! I was considering those yellow/orange dots, to mark the interruptions (the uses of pause / rewind). The count is related context-switching, so it seems like a useful metric. I also want to add an option to auto-pause when locking the screen / on suspend / hibernation, and displaying the durations could convolute the stats.

There will have a hover effect with details + you can narrow down to week view for a bar plot. Bubbles would play better with different themes. If turns out as irritating as those articles say it will be changed, but I think it's worth a try. rect63572

kamilprusko avatar Jun 26 '23 16:06 kamilprusko

Hello, is this still being worked on?

AndreiMiculita avatar May 01 '24 13:05 AndreiMiculita

The work on porting the app to gtk4 and flatpak is still going. I haven't touched stats view yet, but it's next in my agenda after finishing the new preferences window.

kamilprusko avatar May 01 '24 15:05 kamilprusko