amit9838 / mousam

Wather at a glance
https://amit9838.github.io/mousam/
GNU General Public License v3.0
175 stars 32 forks source link

Compact interactive stacked graphs representation? #130

Open nekohayo opened 1 month ago

nekohayo commented 1 month ago

I find the current UI to be pretty space-inefficient in how it presents hourly and daily forecasts, as individual cells and rows. It takes two thirds of a full-HD screen to show those, and lots of scrolling.

I know this is a long shot "ponies on rainbows" enhancement request, but I find this app intriguing, as it does show more data than others I've tried (like GNOME Weather), so, since this is the most advanced weather app I've found on the desktop, I thought I'd suggest this idea in case you might like it:

Any chance you could take a similar approach to WU's interactive charts, as seen in their "10 days" forecast tab (example)? It is pretty much the best weather UI I've ever seen, as it combines everything into a unified hourly+daily view of the next 10 days, and exact values are shown as the mouse hovers along the curves (note that the blue customize button also lets you show/hide any of the curves in those charts):

image

amit9838 commented 1 month ago

OK, so here are my thoughts about this:

nekohayo commented 1 month ago

Yes, I realize that web UIs have historically had fancier custom representations with no care for "fitting in a theme" because they don't have a standard widget library (well, other than Bootstrap) and the web is the Wild West :)

Cairo would let you make custom graphs on the desktop indeed, and I would suppose it would be sufficient? (there's Skia if you want it to be GPU-accelerated, but I doubt Cairo would be a problem for a small not-constantly-animating graph like this). It might be possible to take inspiration from GNOME Weather's "Hourly" graph code, and GNOME System Monitor's CPU graphs code?

amit9838 commented 1 month ago

Yes, i also like the graph in gnome weather. I'm trying to mimic the similar graph with some extra layers, but these are not clearly planned yet. I'll try this after 2-3 releases may be.