fix(webui): keep restored waiting messages manual (NAN-275) (#6393)
This commit is contained in:
1 parent
abfe510ce1
commit
7dfeff9ddf
6 files changed
+179
-6
No files matched your search
@@ -32,6 +32,7 @@ import { SidebarActivityFixture } from "./sidebar-activity-fixture";
|
||||
import { HistoryHydrationFixture } from "./history-hydration-fixture";
|
||||
import { IdleCompactionFixture, installIdleCompactionApi } from "./idle-compaction-fixture";
|
||||
import { FileEditPathFixture } from "./file-edit-path-fixture";
|
||||
import { QueuedGuidanceFixture } from "./queued-guidance-fixture";
|
||||
|
||||
const history: UIMessage[] = [
|
||||
{ id: "question", role: "user", content: "Earlier question", createdAt: 1_700_000_000_000 },
|
||||
@@ -173,7 +174,9 @@ if (parameters.get("case") === "skeleton-additions") installSkeletonPreviewApi()
|
||||
if (parameters.get("case") === "idle-compaction") installIdleCompactionApi();
|
||||
await initializeI18n();
|
||||
createRoot(document.getElementById("root")!).render(<TooltipProvider>
|
||||
{parameters.get("case") === "file-edit-path"
|
||||
{parameters.get("case") === "queued-guidance"
|
||||
? <QueuedGuidanceFixture />
|
||||
: parameters.get("case") === "file-edit-path"
|
||||
? <FileEditPathFixture />
|
||||
: parameters.get("case") === "answer-order"
|
||||
? <AnswerOrderFixture />
|
||||
|
||||
Reference in new issue
Block a user