cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
10.64k stars 1.07k forks source link

Improve mapping of graph items with resources in network and storage graphs #16268

Open ne20002 opened 2 years ago

ne20002 commented 2 years ago

Cockpit version: 251 OS: Debian Bullseye Page: network, storage

I just installed the new version on Debian Bullseye from backports (many thanks to Martin Pitt). I do love Cockpit.

I realized that with the new version the colouring of the disks when moving the cursor in the bytes read / written graphs is not longer working. Same for the network interfaces on the network page.

Steps to reproduce

  1. Choose network or storage page
  2. Move the mouse cursor over the graphs
  3. No colouring of the interface/disk any more to see which on is which colour in the graph.
KKoukiou commented 2 years ago

Hey @ne20002, this behavior deliberately changed in cockpit 241. See commit https://github.com/cockpit-project/cockpit/commit/ec2085bc2132a6b2c2f69bcdd8e07a57f37f7d09

Now you can just keep your mouse over the graph part you 're interested in and a tooltip with the name of the resource should appear.

ne20002 commented 2 years ago

Hi @KKoukiou I've read the commit comment and I understand the intetion. But I still feel this as a step backwards. The graph is quite useful, but now the coloring is not uses anywhere else so the color is meaningless. Improve the UI for people with limited visibility is a good idea but this is on cost of all other people. But may I suggest a simple addition: How about a small coloured bar on the left or top part of each drive section in the color of it's graph? That would need to be set only once on opening the page, it would be 'static' and the tooltip could still be in place.

KKoukiou commented 2 years ago

@ne20002 you had a nice idea above, reopened it as a RFE and will wait for our designers feedback on this. Thanks :)