perf(panel): cached info and history paint first, lazy markdown up the thread, background prefetch
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user