From 655501faba6870c64a050184ddfaee1d187aed3b Mon Sep 17 00:00:00 2001 From: Simos Mikelatos Date: Tue, 30 Jun 2026 23:19:24 +0000 Subject: [PATCH] feat(settings): refine Hermes account actions --- .../sections/content/AccountContent.tsx | 55 +++++++++++-------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/src/components/settings/view/tabs/agents-settings/sections/content/AccountContent.tsx b/src/components/settings/view/tabs/agents-settings/sections/content/AccountContent.tsx index ffe3e55e..05c08e8e 100644 --- a/src/components/settings/view/tabs/agents-settings/sections/content/AccountContent.tsx +++ b/src/components/settings/view/tabs/agents-settings/sections/content/AccountContent.tsx @@ -2,6 +2,7 @@ import { KeyRound, Layers3, LogIn, + type LucideIcon, } from 'lucide-react'; import { useTranslation } from 'react-i18next'; @@ -81,22 +82,25 @@ const agentConfig: Record = { type HermesAction = { label: string; + buttonLabel: string; description: string; command: string; title: string; - icon: typeof Layers3; + icon: LucideIcon; }; const hermesActions: HermesAction[] = [ { - label: 'Configure model', + label: 'Model', + buttonLabel: 'Configure', description: 'Choose the provider and model Hermes should use.', command: 'hermes model', title: 'Configure Hermes Model', icon: Layers3, }, { - label: 'Manage credentials', + label: 'Credentials', + buttonLabel: 'Manage', description: 'Update credential pools and API keys.', command: 'hermes auth', title: 'Hermes Credentials', @@ -136,32 +140,35 @@ export default function AccountContent({ agent, authStatus, onLogin }: AccountCo })} -
+
{hermesActions.map((action, index) => { const Icon = action.icon; - const isPrimary = index === 0; return ( - +
+
+ +
+
+
{action.label}
+
{action.description}
+
+
+ +
); })}