feat: add Downloads settings tab with template editor for .eml and attachment filenames

This commit is contained in:
Linus Rath
2026-05-22 14:46:25 +02:00
parent 8bcb487442
commit ca0d6805cf
8 changed files with 446 additions and 74 deletions
+8
View File
@@ -239,6 +239,10 @@ interface SettingsState {
tourCompleted: boolean; // Interactive tour completed
showOnboardingOnNewDevices: boolean; // When true, onboarding shows again on each new device
// Downloads
emailDownloadTemplate: string;
attachmentDownloadTemplate: string;
// Advanced
debugMode: boolean;
debugCategories: Record<DebugCategory, boolean>;
@@ -424,6 +428,10 @@ const DEFAULT_SETTINGS = {
tourCompleted: false,
showOnboardingOnNewDevices: false,
// Downloads
emailDownloadTemplate: '{date} ({from}-{to}) {subject}',
attachmentDownloadTemplate: '{filename}',
// Advanced
debugMode: false,
debugCategories: {