public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH pmg-gui v2] spam quarantine: add keyboard shortcut for mark-unseen action
@ 2026-06-09 10:54 Dominik Csapak
  2026-06-09 16:27 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2026-06-09 10:54 UTC (permalink / raw)
  To: pmg-devel

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-09 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 10:54 [PATCH pmg-gui v2] spam quarantine: add keyboard shortcut for mark-unseen action Dominik Csapak
2026-06-09 16:27 ` applied: " Thomas Lamprecht

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