feat: refactor email tagging system to use labels instead of colors

- Updated EmailContextMenu to replace color tag functionality with label tags.
- Modified EmailListItem to display label badges for emails based on keywords.
- Enhanced EmailViewer to include a tag picker for emails.
- Adjusted ThreadListItem to show label badges for email subjects.
- Added tests for email list item and keyword settings to ensure proper functionality of the new tagging system.
- Updated localization files to reflect changes from color tags to labels in multiple languages.
This commit is contained in:
Linus Rath
2026-03-11 18:56:43 +01:00
parent ffeb534740
commit 454d51e283
16 changed files with 610 additions and 134 deletions
+5 -4
View File
@@ -156,9 +156,10 @@
"back_to_list": "Back to list",
"message_details": "Message Details",
"more_reply_options": "More reply options",
"set_color": "Set color",
"set_color": "Set tag",
"tag": "Tag",
"more_actions": "More actions",
"remove_color": "Remove color",
"remove_color": "Remove tag",
"more_count": "+{count} more",
"characters_count": "{count} characters",
"quick_reply_placeholder": "Write a quick reply...",
@@ -974,8 +975,8 @@
"delete": "Delete",
"mark_as_spam": "Report spam",
"not_spam": "Not spam",
"color_tag": "Color Tag",
"remove_color": "Remove Color",
"color_tag": "Label",
"remove_color": "Remove Label",
"items_selected": "{count} emails selected"
},
"shortcuts": {