M1.9b: settings dialog with search

settings.open (Mod+,) opens a dialog built from settings.list: sections,
controls by type (select, number with min/max, switch), catalog labels
and descriptions, search over label, description, key and section, Reset
to default, inline errors, live updates on settingsChanged. The theme
picker switches at once; editor.fontSize drives --lt-font-size-editor
through a token override that survives theme switches. Focus trap,
Escape closes. Finishes M1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-10-16 21:13:04 +02:00
parent db34e2ca52
commit 523d7f684f
17 changed files with 1751 additions and 36 deletions

View file

@ -4,7 +4,7 @@
| Language | Code | Status | Translated |
|---|---|---|---:|
| English | `en` | source catalog (`ui/src/i18n/en.json`) | 100% of UI strings (46 keys, measured by the catalog test) |
| English | `en` | source catalog (`ui/src/i18n/en.json`) | 100% of UI strings (80 keys, measured by the catalog test) |
| German | `de` | planned (G14) | 0% |
All interface strings go through the message catalog: `t(key, params?)` from `ui/src/i18n`, flat dotted keys grouped by area (`app.*`, `project.*`, `editor.*`, `common.*`), `{name}` placeholders. Lint (`vue/no-bare-strings-in-template`, error) rejects bare text in templates; a Vitest scan checks that every key passed to `t` exists in `en.json` and that the catalog has no unused keys.
@ -16,7 +16,7 @@ All interface strings go through the message catalog: `t(key, params?)` from `ui
- [x] Every UI string in `ui/src` from the catalog: templates, `title` and `aria-label` attributes, notices, frontend error texts (M1.11)
- [x] Notification texts: engine and host notifications carry a `messageKey` with params; all 12 notification message keys are in the catalog (M1.7, M1.12), `message` is only the English fallback
- [ ] Engine messages: `EngineError.message` and other texts the engine sends are English only; they need message keys and params (G14)
- [ ] Setting labels and descriptions from `settings.list` (`labelKey`, `descriptionKey`) in the catalog (M1.9b)
- [x] Setting labels, descriptions, section names and enum value names from `settings.list` in the catalog (M1.9b)
- [ ] Language switch through `ui.language`; the catalog becomes reactive (G14)
- [ ] Plural forms and number/date formatting per locale (G14)
- [ ] German catalog (G14)
@ -26,6 +26,7 @@ All interface strings go through the message catalog: `t(key, params?)` from `ui
| Date | Change | Summary |
|---|---|---|
| 2026-10-16 | minor | M1.9b: settings keys, key count 80 |
| 2026-10-16 | minor | M1.12: notification keys, key count 46 |
| 2026-10-15 | minor | M1.11: English catalog, lint rule, checklist; engine-message gap |
| 2026-10-13 | major | Baseline |