feat: implement email keyword management with color tagging
- Introduced a new settings section for managing email keywords (labels/tags) with associated colors. - Updated email context menu, viewer, and list item components to support the new keyword system. - Refactored color tag handling to accommodate both new $label: and legacy $color: prefixes. - Added utility functions for retrieving email color tags based on keywords. - Enhanced localization files to include translations for the new keyword management features. - Updated the settings store to manage keyword definitions, including add, update, delete, and reorder functionalities. - Added tests for the new keyword handling logic.
This commit is contained in:
+19
-1
@@ -447,7 +447,8 @@
|
||||
"calendar": "Calendario",
|
||||
"filters": "Filtri",
|
||||
"templates": "Modelli",
|
||||
"folders": "Cartelle"
|
||||
"folders": "Cartelle",
|
||||
"keywords": "Parole chiave"
|
||||
},
|
||||
"tab_groups": {
|
||||
"general": "Generale",
|
||||
@@ -487,6 +488,23 @@
|
||||
"description": "Mostra transizioni ed effetti fluidi"
|
||||
}
|
||||
},
|
||||
"keywords": {
|
||||
"title": "Parole chiave e-mail",
|
||||
"description": "Definisci parole chiave (etichette) per organizzare le tue e-mail con colori.",
|
||||
"add_keyword": "Aggiungi parola chiave",
|
||||
"reset_defaults": "Ripristina predefiniti",
|
||||
"label_field": "Nome visualizzato",
|
||||
"label_placeholder": "es. Lavoro, Personale, Urgente",
|
||||
"id_field": "ID parola chiave",
|
||||
"id_placeholder": "es. lavoro, personale",
|
||||
"color_field": "Colore",
|
||||
"id_exists": "Questo ID parola chiave esiste già",
|
||||
"edit": "Modifica parola chiave",
|
||||
"delete": "Elimina parola chiave",
|
||||
"save": "Salva",
|
||||
"add": "Aggiungi",
|
||||
"cancel": "Annulla"
|
||||
},
|
||||
"language_region": {
|
||||
"title": "Lingua e regione",
|
||||
"description": "Configura le preferenze di lingua e regionali",
|
||||
|
||||
Reference in New Issue
Block a user