perf(webui): restore cached threads and load mention catalogs on demand

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-24 23:32:22 +08:00
1 parent c370e2a5a5
commit 1a78ae2b99
13 files changed
+316 -65

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { useTranslation } from "react-i18next";
/** Quiet layout placeholders while the authenticated application starts. */
export function StartupShell({ embedded = false }: { embedded?: boolean }) {
const { t } = useTranslation();
const Root = embedded ? "section" : "main";
return (
<Root className="startup-shell" aria-busy="true">
<div className="startup-header" aria-hidden="true">
<span className="startup-control-shadow" />
<span className="startup-control-shadow" />
</div>
<div className="startup-composer" aria-hidden="true" />
<span className="startup-status" role="status">{t("app.loading.connecting")}</span>
</Root>
);
}