]> git.proxmox.com Git - pmg-gui.git/commit
fix #4238: spam info grid: enable sorting & add colors for spam score
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 4 Nov 2022 15:04:23 +0000 (16:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 08:46:31 +0000 (09:46 +0100)
commitd5aca48ee0a0961dadc9e295058c499407c35bfe
tree821d15104b94413004fce546daa392e7787ccaa4
parentc7a679755e1fe5f66fbfdaef48be685f3c7f3d01
fix #4238: spam info grid: enable sorting & add colors for spam score

sorting the matching spam rules, e.g. by score, makes it easier to see
which rules have more weight in determining spam.

Additionally, color code the scores with colors akin to the rationale
in commit:
365f84c ("quarantines: color code deliver and delete buttons")

(red for positive spam scores, blue for negative ones)

and increase the font-weight for large spamscore contributing rules.

i chose a different blue tone that is more muted than what we use in
'info-blue' but is different from both the 'hover' color and the
'selected' color

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/SpamInfoGrid.js