feat(webui): unify the Apps catalog (#6700)

* feat(webui): unify the Apps catalog

* fix(webui): serve all channel branding locally

* fix(webui): refine Apps navigation and sidebar
This commit is contained in:
chengyongru authored and GitHub committed 2026-11-18 15:05:57 +08:00
1 parent 5997a714f2
commit 2b232c9133
89 files changed
+1576 -1024

No files matched your search

+1 -9
View File
@@ -266,7 +266,6 @@ interface ChatListProps {
actionMenuPortalContainer?: HTMLElement | null;
loading?: boolean;
initialLoading?: boolean;
emptyLabel?: string;
}
export const ChatList = memo(function ChatList({
@@ -309,7 +308,6 @@ export const ChatList = memo(function ChatList({
actionMenuPortalContainer,
loading,
initialLoading = loading,
emptyLabel,
}: ChatListProps) {
const { t } = useTranslation();
const [visibleLimit, setVisibleLimit] = useState(INITIAL_VISIBLE_SESSIONS);
@@ -638,13 +636,7 @@ export const ChatList = memo(function ChatList({
);
}
if (sessions.length === 0 && temporarySessions.length === 0) {
return (
<div className="px-3 py-6 text-[12px] leading-5 text-sidebar-muted-foreground">
{emptyLabel ?? t("chat.noSessions")}
</div>
);
}
if (sessions.length === 0 && temporarySessions.length === 0) return null;
const running = new Set(runningChatIds);
const updated = new Set(updatedChatIds);