feat: add toolbar position setting and update email viewer layout

- Introduced a new setting for toolbar position in appearance settings, allowing users to choose between 'top' and 'below-subject'.
- Updated the EmailViewer component to conditionally render the toolbar based on the selected position.
- Enhanced the UI for the toolbar with action buttons for replying, archiving, and deleting emails.
- Added translations for the new toolbar position setting in multiple languages.
This commit is contained in:
Linus Rath
2026-03-11 22:42:21 +01:00
parent 288205fbac
commit cc8195209b
11 changed files with 524 additions and 309 deletions
+6
View File
@@ -487,6 +487,12 @@
"animations": {
"label": "Animationen aktivieren",
"description": "Weiche Übergänge und Effekte anzeigen"
},
"toolbar_position": {
"label": "Symbolleistenposition",
"description": "Wo die E-Mail-Aktionsschaltflächen angezeigt werden (Antworten, Archivieren, Löschen usw.)",
"top": "Oben",
"below_subject": "Unter dem Betreff"
}
},
"keywords": {
+6
View File
@@ -499,6 +499,12 @@
"animations": {
"label": "Enable Animations",
"description": "Show smooth transitions and effects"
},
"toolbar_position": {
"label": "Toolbar Position",
"description": "Where to show email action buttons (Reply, Archive, Delete, etc.)",
"top": "Top",
"below_subject": "Below subject"
}
},
"keywords": {
+6
View File
@@ -487,6 +487,12 @@
"animations": {
"label": "Habilitar Animaciones",
"description": "Mostrar transiciones y efectos suaves"
},
"toolbar_position": {
"label": "Posición de la barra de herramientas",
"description": "Dónde mostrar los botones de acción del correo (Responder, Archivar, Eliminar, etc.)",
"top": "Arriba",
"below_subject": "Debajo del asunto"
}
},
"keywords": {
+6
View File
@@ -487,6 +487,12 @@
"animations": {
"label": "Activer les animations",
"description": "Afficher les transitions et effets fluides"
},
"toolbar_position": {
"label": "Position de la barre d'outils",
"description": "Où afficher les boutons d'action des e-mails (Répondre, Archiver, Supprimer, etc.)",
"top": "En haut",
"below_subject": "Sous l'objet"
}
},
"keywords": {
+6
View File
@@ -487,6 +487,12 @@
"animations": {
"label": "Abilita animazioni",
"description": "Mostra transizioni ed effetti fluidi"
},
"toolbar_position": {
"label": "Posizione barra degli strumenti",
"description": "Dove mostrare i pulsanti azione e-mail (Rispondi, Archivia, Elimina, ecc.)",
"top": "In alto",
"below_subject": "Sotto l'oggetto"
}
},
"keywords": {
+6
View File
@@ -487,6 +487,12 @@
"animations": {
"label": "アニメーションを有効にする",
"description": "スムーズな遷移とエフェクトを表示"
},
"toolbar_position": {
"label": "ツールバーの位置",
"description": "メールアクションボタン(返信、アーカイブ、削除など)の表示位置",
"top": "上部",
"below_subject": "件名の下"
}
},
"keywords": {
+6
View File
@@ -487,6 +487,12 @@
"animations": {
"label": "Animaties inschakelen",
"description": "Vloeiende overgangen en effecten tonen"
},
"toolbar_position": {
"label": "Werkbalkpositie",
"description": "Waar de e-mailactieknoppen worden weergegeven (Beantwoorden, Archiveren, Verwijderen, enz.)",
"top": "Bovenaan",
"below_subject": "Onder het onderwerp"
}
},
"keywords": {
+6
View File
@@ -487,6 +487,12 @@
"animations": {
"label": "Habilitar Animações",
"description": "Mostrar transições e efeitos suaves"
},
"toolbar_position": {
"label": "Posição da barra de ferramentas",
"description": "Onde mostrar os botões de ação do e-mail (Responder, Arquivar, Excluir, etc.)",
"top": "Topo",
"below_subject": "Abaixo do assunto"
}
},
"keywords": {