feat: add expanded visual view for filter rules

- Add VisualRuleSummary component showing conditions and actions as
  labeled inline pills with IF/THEN flow layout
- Add expandedFilterView toggle to settings store (persisted)
- Fix RuleSummary to allow multi-line wrapping instead of truncating
- Use items-start on rule cards so drag handle and toggle align to top
- Add translations for expanded view keys in all 8 locales
This commit is contained in:
Linus Rath
2026-03-21 20:45:17 +01:00
parent 4c2d185be4
commit afefbb8d46
10 changed files with 173 additions and 31 deletions
+6
View File
@@ -1183,6 +1183,12 @@
"opaque_warning": "Questo script è stato modificato al di fuori del costruttore visuale. È disponibile solo la modifica Sieve grezza.",
"open_sieve_editor": "Apri editor Sieve",
"fetch_error": "Impossibile caricare i filtri",
"expanded_view": "Vista espansa",
"expanded_view_description": "Mostra le regole dei filtri con blocchi dettagliati di condizioni e azioni",
"if": "Se",
"then": "Allora",
"match_all_conditions": "tutte corrispondono",
"match_any_condition": "una corrisponde",
"and": "e",
"or": "o",
"cancel": "Annulla",