Add per-account folder customization page (#855)

Introduce a dedicated settings page that lets users reorder, hide,
and pin/unpin folders per account. Folders are organized into Pinned,
Categories (Gmail only), and More sections with drag-to-reorder via
ListView. New Order column on MailItemFolder persists the custom
layout; the default sort falls back to alphabetic when no custom
order is set. A reset action wipes all customization in a single
transaction and restores system-folder stickiness.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Burak Kaan Köse
2026-04-16 14:07:17 +02:00
committed by GitHub
parent 0b136b3d66
commit 98eed39fe6
17 changed files with 599 additions and 10 deletions
@@ -885,6 +885,21 @@
"SettingsManageAliases_Title": "Aliases",
"SettingsMailCategories_Description": "Manage synchronized and local categories for this account.",
"SettingsMailCategories_Title": "Categories",
"FolderCustomization_Title": "Customize folder list",
"FolderCustomization_Description": "Reorder, hide, or pin folders for this account.",
"FolderCustomization_EntryCardTitle": "Customize folder list",
"FolderCustomization_EntryCardDescription": "Arrange pinned folders, hide folders you don't use, and reorder the More section.",
"FolderCustomization_SectionPinned": "Pinned",
"FolderCustomization_SectionCategories": "Categories",
"FolderCustomization_SectionMore": "More",
"FolderCustomization_Pin": "Pin to top",
"FolderCustomization_Unpin": "Move to More",
"FolderCustomization_Show": "Show in navigation",
"FolderCustomization_Hide": "Hide from navigation",
"FolderCustomization_Reset": "Reset to defaults",
"FolderCustomization_ResetConfirmTitle": "Reset folder layout",
"FolderCustomization_ResetConfirmMessage": "This will clear any custom folder order and restore the default alphabetic layout for this account. Hidden folders will become visible again. Continue?",
"FolderCustomization_EmptySection": "Drag folders here to add them to this section.",
"SettingsEditAccountDetails_Title": "Edit Account Details",
"SettingsEditAccountDetails_Description": "Change account name, sender name and assign a new color if you like.",
"SettingsAccountDetails_NavigationTitle": "{0} details",