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:
parent
db34e2ca52
commit
523d7f684f
17 changed files with 1751 additions and 36 deletions
|
|
@ -28,6 +28,11 @@ export type EngineEventPayload =
|
|||
| { kind: "fileChangedOnDisk"; path: string; id: number; removed: boolean }
|
||||
| { kind: "watchFailed"; message: string }
|
||||
| { kind: "themeChanged"; id: string; dark: boolean; tokens: Record<string, string> }
|
||||
| {
|
||||
kind: "settingsChanged";
|
||||
/** Keys whose effective value changed; unchecked, it comes from the engine. */
|
||||
keys: unknown;
|
||||
}
|
||||
| {
|
||||
kind: "recoveryAvailable";
|
||||
entries: { path: string; savedAt: number; diskChanged: boolean }[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue