From b70ae547fdcb8c1794981957485537dc21a8b5fd Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sat, 27 Jun 2026 20:26:02 +0900 Subject: refactor(vision): fold Vision settings into the Compaction sidebar view Both pertain to compaction (message compaction + image compaction), so they share one sidebar panel. Removes the standalone "Vision" view kind; the VisionSettingsView now renders inside the Compaction panel, below CompactionView (with an "Image compaction" divider). CompactionView stays keyed per conversation (its percent is per-conversation); VisionSettingsView stays un-keyed (its settings are global). The vision feature library + manifest are unchanged (still a composed module). A persisted "vision" sidebar panel gracefully renders empty (the kind is no longer in viewKinds) until the user re-selects Compaction. Verification: svelte-check 0/0; vitest 959/959; biome clean; build OK. Not merged or pushed. --- src/app/App.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/app/App.svelte b/src/app/App.svelte index 7d70f67..e521167 100644 --- a/src/app/App.svelte +++ b/src/app/App.svelte @@ -113,7 +113,6 @@ { id: "cache-warming", label: "Cache Warming" }, { id: "tasks", label: "Tasks" }, { id: "compaction", label: "Compaction" }, - { id: "vision", label: "Vision" }, { id: "heartbeat", label: "Heartbeat" }, { id: "system-prompt", label: "System Prompt" }, { id: "settings", label: "Settings" }, @@ -683,7 +682,9 @@ {/if} {/key} {:else if kind === "compaction"} - + {#key store.currentConversationId} {/key} - {:else if kind === "vision"} - +
Image compaction