perf(panel): cached info and history paint first, lazy markdown up the thread, background prefetch

This commit is contained in:
hh
2026-09-02 05:16:13 +02:00
parent 2d903c7c5f
commit 5b851c11d4
10 changed files with 192 additions and 16 deletions
+4 -1
View File
@@ -8,6 +8,7 @@
import ContextView from "./context-view.svelte";
import { ConversationFeed } from "./conversation.svelte";
import ConversationHeader from "./conversation-header.svelte";
import { usePanelHost } from "./host";
import RawEntries from "./raw-entries.svelte";
let {
@@ -28,9 +29,11 @@
initialView?: string;
} = $props();
const host = usePanelHost();
const feed = new ConversationFeed(
() => client,
untrack(() => id)
untrack(() => id),
host.cache ?? null
);
let view = $state(untrack(() => initialView));
let historyKey = $state(0);