fix(webui): synchronize neutral Ring sidebar activity indicators (#6371)

* fix(webui): synchronize neutral Trace sidebar activity indicators

* fix(webui): use the requested Ring activity indicator

* fix(webui): synchronize running rings before their first frame
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-21 21:40:39 +08:00
1 parent fbb61a373f
commit 29d1600837
7 files changed
+171 -3

No files matched your search

+3
View File
@@ -27,6 +27,7 @@ import { HistoryBoundaryFixture } from "./history-boundary-fixture";
import { ChatFailureFixture } from "./chat-failure-fixture";
import { ThreadLoadingFixture } from "./thread-loading-fixture";
import { AnswerOrderFixture } from "./answer-order-fixture";
import { SidebarActivityFixture } from "./sidebar-activity-fixture";
const history: UIMessage[] = [
{ id: "question", role: "user", content: "Earlier question", createdAt: 1_700_000_000_000 },
@@ -169,6 +170,8 @@ await initializeI18n();
createRoot(document.getElementById("root")!).render(<TooltipProvider>
{parameters.get("case") === "answer-order"
? <AnswerOrderFixture />
: parameters.get("case") === "sidebar-activity"
? <SidebarActivityFixture />
: parameters.get("case") === "chat-failure"
? <ChatFailureFixture parameters={parameters} />
: parameters.get("case") === "typography"