aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_email/ui/main.lua
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2026-09-29 19:51:52 +0200
committersaturneric <[email protected]>2026-09-29 19:51:52 +0200
commit391168fb8e5f353a318026278c890981c440ad5d (patch)
tree62edd8da294dceefd1f205990f83e70e309329db /src/m_email/ui/main.lua
parentstyle(i18n): normalize instant messaging catalogs (diff)
downloadmodules-391168fb8e5f353a318026278c890981c440ad5d.tar.gz
modules-391168fb8e5f353a318026278c890981c440ad5d.zip
feat(email): redesign action and attachment bars
- centralize message commands as reusable actions with shared shortcuts - add compact attachment summaries, menus, and expandable lists - move secondary commands into More and show read-only status separately - centralize action, attachment, security, and surface layout decisions - enable compact Status Panel behavior for the email editor
Diffstat (limited to 'src/m_email/ui/main.lua')
-rw-r--r--src/m_email/ui/main.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/m_email/ui/main.lua b/src/m_email/ui/main.lua
index c298ea9..78fb6ef 100644
--- a/src/m_email/ui/main.lua
+++ b/src/m_email/ui/main.lua
@@ -10,7 +10,13 @@ local open_imap = commands.get("com.bktus.gpgfrontend.module.email.open_imap_con
ui.mount {
id = "editor",
- anchor = ui.anchor.editor { document_type = "email", extensions = { "eml" } },
+ anchor = ui.anchor.editor {
+ document_type = "email",
+ extensions = { "eml" },
+ -- The message has its own headers and attachments to show; the Status
+ -- Panel starts as a bar here and opens on a new result.
+ compact_status = true,
+ },
widget = native.factory("editor"),
}