]> git.proxmox.com Git - pve-manager.git/commit
ui: ceph: improve discoverability of warning details
authorAaron Lauterer <a.lauterer@proxmox.com>
Mon, 2 Oct 2023 09:00:26 +0000 (11:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 10 Oct 2023 15:38:39 +0000 (17:38 +0200)
commit459b6c313673ba8c316d488ce242f21013ba82cc
tree2f7c64583cc742ced28e8de631ed5bcca3e05414
parentfddf562bf9403c2b2c4f8cb7fd4ed502149637a7
ui: ceph: improve discoverability of warning details

by
* replacing the info button with expandable rows that contain the
  details of the warning
* adding two action buttons to copy the summary and details
* making the text selectable

The row expander works like the one in the mail gateway tracking center
-> doubleclick only opens it.

The height of the warning grid is limited to not grow too large.
A Diffstore is used to avoid expanded rows being collapsed on an update.

The rowexpander cannot hide the toggle out of the box. Therefore, if
there is no detailed message for a warning, we show a placeholder text.
We could consider extending it in the future to only show the toggle if
a defined condition is met.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/css/ext6-pve.css
www/manager6/ceph/Status.js