feat: add settings config UI

This commit is contained in:
Federico Jaramillo Martinez
2026-06-03 20:20:54 +02:00
parent e0ae5ef9b2
commit 4495a26ffd
21 changed files with 863 additions and 19 deletions
+2
View File
@@ -25,6 +25,7 @@ function createContext(statePatch: Partial<AppState> = {}) {
configureAuth: vi.fn(() => { calls.push("configureAuth"); }),
logoutAuth: vi.fn(() => { calls.push("logoutAuth"); }),
openThemePicker: vi.fn(() => { calls.push("openThemePicker"); }),
openSettings: vi.fn(() => { calls.push("openSettings"); }),
selectMainView: vi.fn((view: AppState["mainView"]) => { calls.push(`selectMainView:${view}`); }),
selectWorkspaceTool: vi.fn((tool: AppState["workspaceTool"]) => { calls.push(`selectWorkspaceTool:${tool}`); }),
openTerminal: vi.fn((options?: { terminalId?: string | undefined }) => { calls.push(`openTerminal:${options?.terminalId ?? ""}`); }),
@@ -175,6 +176,7 @@ describe("PluginRegistry", () => {
expect(shortcuts).toEqual([
["core:actions.show", "mod+k"],
["core:settings.open", "mod+,"],
["core:view.chat", "mod+1"],
["core:view.files", "mod+2"],
["core:view.git", "mod+3"],