feat(webui): add catalog loading skeletons (#6092)

* feat(webui): add catalog loading skeletons

* feat(webui): add MCP tool loading skeleton

* fix(webui): make skill discovery skeletons visible

* refactor(webui): share skeleton status markup
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-07 21:28:53 +08:00
1 parent 7cb396788c
commit f24969d282
25 files changed
+538 -99

No files matched your search

@@ -53,6 +53,8 @@ interface SettingsPageProps {
onToggleTheme: () => void;
onBackToChat: () => void;
skills: SkillSummary[];
skillsLoading: boolean;
skillsError: boolean;
onStartAutomationChat?: (
content: string,
images?: SendAttachment[],
@@ -75,6 +77,8 @@ export function SettingsPage({
onToggleTheme,
onBackToChat,
skills,
skillsLoading,
skillsError,
onStartAutomationChat,
titleOverrides,
sessions,
@@ -608,7 +612,7 @@ export function SettingsPage({
</div>
);
case "skills":
return <SkillsCatalogSettings skills={skills} />;
return <SkillsCatalogSettings skills={skills} loading={skillsLoading} error={skillsError} />;
case "runtime":
return (
<div className="settings-stack">