From d9092b5b94ad4f6107ee1137c16ea3c0ad485d65 Mon Sep 17 00:00:00 2001 From: Mathias Riechsteiner Date: Tue, 14 Jul 2026 22:53:09 +0200 Subject: [PATCH] feat(ui): promote archive to an envelope primary action Favorite, read and important are available as one-click primary actions on the envelope menu, but archiving - a core step of inbox-zero style workflows - is buried further down the list. Promote the existing archive entry to a fourth primary action button so it is reachable with a single click, reusing the existing onArchive() handler, showArchiveButton/disableArchiveButton logic and ACL checks. The button only shows when an archive mailbox is configured and the account has the required ACLs, mirroring the previous menu entry. No new translatable strings are introduced. Assisted-by: ClaudeCode:claude-fable-5 Signed-off-by: Mathias Riechsteiner --- src/components/Envelope.vue | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/components/Envelope.vue b/src/components/Envelope.vue index b88311fa50..d41b6b2e30 100644 --- a/src/components/Envelope.vue +++ b/src/components/Envelope.vue @@ -237,6 +237,22 @@ isImportant ? t('mail', 'Unimportant') : t('mail', 'Important') }} + + + + + - - - - -