public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [PATCH pmg-gui v2] spam quarantine: add keyboard shortcut for mark-unseen action
Date: Tue,  9 Jun 2026 12:54:50 +0200	[thread overview]
Message-ID: <20260609105510.2027392-1-d.csapak@proxmox.com> (raw)

Since 'S' is for mark Seen, use 'U' for mark Unseen.
Document it in the help page for the qurantine view.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
changes from v1:
* include documentation in the help page

 js/QuarantineViewAbout.js | 1 +
 js/SpamQuarantine.js      | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/js/QuarantineViewAbout.js b/js/QuarantineViewAbout.js
index 2729420..0ad32c7 100644
--- a/js/QuarantineViewAbout.js
+++ b/js/QuarantineViewAbout.js
@@ -44,6 +44,7 @@ delete the selected email, or use the following keyboard shortcuts instead:
 * <kbd>B</kbd>: Add the sender to the Blocklist.
 * <kbd>W</kbd>: Add the sender to the Welcomelist.
 * <kbd>S</kbd>: Mark the mail as "seen".
+* <kbd>U</kbd>: Mark the mail as "unseen".
 `,
     ),
 });
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





             reply	other threads:[~2026-06-09 10:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-09 10:54 Dominik Csapak [this message]
2026-06-09 16:27 ` applied: [PATCH pmg-gui v2] spam quarantine: add keyboard shortcut for mark-unseen action Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260609105510.2027392-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal