diff --git a/apps/desktop/src/app/capabilities/catalog/skill-catalog.tsx b/apps/desktop/src/app/capabilities/catalog/skill-catalog.tsx index 49c3f0e1e0..c18255f74a 100644 --- a/apps/desktop/src/app/capabilities/catalog/skill-catalog.tsx +++ b/apps/desktop/src/app/capabilities/catalog/skill-catalog.tsx @@ -2,6 +2,7 @@ import { useQuery } from '@tanstack/react-query' import { type ReactNode, useCallback, useEffect, useMemo, useRef, useState } from 'react' import { capabilityScoped } from '@/api/client' +import { Loader } from '@/components/ui/loader' import { getOfficialSkills, type ProfileScope, profileScopeKey } from '@/hermes' import { useI18n } from '@/i18n' import { HUB_SOURCES_KEY, installHubSkill, notifyHubActionFailed, OFFICIAL_SKILLS_KEY } from '@/store/hub-actions' @@ -279,9 +280,11 @@ function ScopedSkillCatalog({ )} {hasHubSkills && hubPending && !installedPending && !notice && ( -

- {t.skills.loading} -

+ )} } diff --git a/apps/desktop/src/app/capabilities/skills/skills-tab.tsx b/apps/desktop/src/app/capabilities/skills/skills-tab.tsx index 4908558562..f83d567f90 100644 --- a/apps/desktop/src/app/capabilities/skills/skills-tab.tsx +++ b/apps/desktop/src/app/capabilities/skills/skills-tab.tsx @@ -3,6 +3,7 @@ import { useCallback, useEffect, useRef, useState } from 'react' import { ArchiveSkillConfirmDialog } from '@/app/learning/archive-skill-confirm-dialog' import { CodeEditor } from '@/components/chat/code-editor' import { Button } from '@/components/ui/button' +import { Loader } from '@/components/ui/loader' import { Switch } from '@/components/ui/switch' import { editLearningNode, getLearningNode, type ProfileScope, profileScopeKey, setSkillEnabled } from '@/hermes' import { useI18n } from '@/i18n' @@ -224,9 +225,7 @@ function ScopedSkillsTab({ {installedError instanceof Error ? installedError.message : null} ) : installedPending ? ( -

- {t.skills.loading} -

+ ) : null return ( diff --git a/apps/desktop/src/components/assistant-ui/clarify-tool.tsx b/apps/desktop/src/components/assistant-ui/clarify-tool.tsx index e056a23239..44e22adac6 100644 --- a/apps/desktop/src/components/assistant-ui/clarify-tool.tsx +++ b/apps/desktop/src/components/assistant-ui/clarify-tool.tsx @@ -20,6 +20,7 @@ import { WIDGET_SHELL_CLASS } from '@/components/chat/widget-shell' import { Alert, AlertDescription } from '@/components/ui/alert' import { Button } from '@/components/ui/button' import { Kbd } from '@/components/ui/kbd' +import { Loader } from '@/components/ui/loader' import { Textarea } from '@/components/ui/textarea' import { Tip } from '@/components/ui/tooltip' import { useI18n } from '@/i18n' @@ -810,7 +811,7 @@ function ClarifyToolSinglePending({ if (loading) { return ( - + ) } @@ -934,7 +935,7 @@ function ClarifyToolSinglePending({