feat(ui,docs): the open tab lives in the conversation url, admin screenshots in the readme

This commit is contained in:
hh
2026-09-05 04:55:54 +02:00
parent 421248b0ad
commit 60782d6276
6 changed files with 35 additions and 2 deletions
@@ -18,6 +18,7 @@
onOpen,
showTitle = true,
initialView = "chat",
onViewChange,
}: {
client: ApiClient;
id: string;
@@ -27,6 +28,8 @@
showTitle?: boolean;
// "activity" beside a deep chat's own note: the file is the thread.
initialView?: string;
// The page keeps the open tab in the URL so it survives a reload.
onViewChange?: (view: string) => void;
} = $props();
const host = usePanelHost();
@@ -50,6 +53,10 @@
historyKey += 1;
}
$effect(() => {
onViewChange?.(view);
});
$effect(() => {
const { running } = feed.model;
if (!running) {