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

+2 -1
View File
@@ -15,7 +15,8 @@ function startupSkeleton(): Plugin {
order: "post",
handler(html) {
if (!html.includes("<!--startup-shell-->")) return html;
const css = readFileSync(path.resolve(__dirname, "src/components/startup-skeleton.css"), "utf8");
const css = ["src/components/content-column.css", "src/components/settings/shared/catalog-layout.css", "src/components/startup-skeleton.css"]
.map((file) => readFileSync(path.resolve(__dirname, file), "utf8")).join("\n");
const initialize = `var shell = document.querySelector('.startup-shell'); var layout = (${readStartupLayout.toString()})();
shell.dataset.startupSurface = layout.surface; shell.dataset.startupSection = layout.section;
shell.dataset.sidebarExpanded = String(layout.sidebarExpanded); shell.dataset.existingChat = String(layout.existingChat);