perf(panel): cached info and history paint first, lazy markdown up the thread, background prefetch
This commit is contained in:
1 parent
2d903c7c5f
commit
5b851c11d4
10 files changed
+192
-16
No files matched your search
@@ -5,6 +5,7 @@ import type {
|
||||
LimitWindow,
|
||||
} from "./api/types";
|
||||
import { panelCache } from "./panel/cache";
|
||||
import { browserHost } from "./panel/host";
|
||||
import { ConversationIndex } from "./panel/index.svelte";
|
||||
import { session } from "./session.svelte";
|
||||
|
||||
@@ -23,7 +24,7 @@ class Gateway extends ConversationIndex {
|
||||
jobs = $state<JobsResponse | null>(cache.get<JobsResponse>(JOBS_KEY) ?? null);
|
||||
|
||||
constructor() {
|
||||
super(() => session.client);
|
||||
super(() => session.client, browserHost().cache ?? null);
|
||||
}
|
||||
|
||||
async refreshJobs(): Promise<void> {
|
||||
|
||||
Reference in new issue
Block a user