fix(webui): show route-aligned skeletons from first paint (#6303)

This commit is contained in:
chengyongru authored and GitHub committed 2026-10-19 15:57:32 +08:00
1 parent af68da3280
commit 5d886fbb20
43 files changed
+1592 -213

No files matched your search

+2
View File
@@ -42,6 +42,7 @@ interface SidebarProps {
temporarySessions?: ChatSummary[];
activeKey: string | null;
loading: boolean;
initialLoading?: boolean;
newChatActive: boolean;
onNewChat: () => void;
onSelect: (key: string) => void;
@@ -272,6 +273,7 @@ export function Sidebar(props: SidebarProps) {
temporarySessions={props.temporarySessions}
activeKey={props.activeKey}
loading={props.loading}
initialLoading={props.initialLoading}
emptyLabel={t("chat.noSessions")}
onSelect={props.onSelect}
onCloseTemporaryChat={props.onCloseTemporaryChat}