From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 8E8961FF146 for ; Tue, 09 Jun 2026 12:46:26 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 48A90C6C6; Tue, 9 Jun 2026 12:46:26 +0200 (CEST) From: Dominik Csapak To: pmg-devel@lists.proxmox.com Subject: [PATCH pmg-gui] spam quarantine: add keyboard shortcut for mark-unseen action Date: Tue, 9 Jun 2026 12:46:18 +0200 Message-ID: <20260609104623.1948131-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.049 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 6UOLWMYBK6M655NMGTX7XBFIFBVA6QZN X-Message-ID-Hash: 6UOLWMYBK6M655NMGTX7XBFIFBVA6QZN X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Since 'S' is for mark Seen, use 'U' for mark Unseen. Signed-off-by: Dominik Csapak --- js/SpamQuarantine.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/SpamQuarantine.js b/js/SpamQuarantine.js index 4be8f8e..bdca787 100644 --- a/js/SpamQuarantine.js +++ b/js/SpamQuarantine.js @@ -206,6 +206,10 @@ Ext.define('PMG.SpamQuarantineController', { case Ext.event.Event.S + 32: action = 'mark-seen'; break; + case Ext.event.Event.U: + case Ext.event.Event.U + 32: + action = 'mark-unseen'; + break; } if (action !== '') { -- 2.47.3