]> git.proxmox.com Git - pmg-gui.git/commit
quarantines: dock attachement grid to bottom, avoid toggle button
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 11:25:23 +0000 (12:25 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 12:16:51 +0000 (13:16 +0100)
commit38229fc877c8b27bd16664c41b1a86e665382075
tree6e7ae07538f528d25a93e99be341a6660df6b9e6
parentecab0d0e3e90064a983063f1ce359922e23a60db
quarantines: dock attachement grid to bottom, avoid toggle button

A separate header and docked at the bottom reduces crowding at the
top and make the whole view(s) a bit clearer.

This also better mirrors where most mail clients show attachments
(e.g., thunderbird) and allows to avoid the extra button (UX benefits
most of the time from reduced inputs, if it doesn't takes away
features).

Make the panel collapsible for the spam and virus quarantine, and
hide the download button there; note that this isn't done for
security purpose but just wasn't requested and some users may do
better if they only decide deliver/delete here and let their MUA
handle attachements.

Disable collapsing in the Attachement quarantine, it doesn't really
makes sense there and we got a maxHeight already anyway.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/AttachmentGrid.js
js/AttachmentQuarantine.js
js/SpamQuarantine.js
js/VirusQuarantine.js
js/controller/QuarantineController.js