The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(settings): add headerAction prop to SettingsTabbedPage
Steven Enamakela836d8aee7c2
diff --git a/app/src/components/settings/layout/SettingsTabbedPage.tsx b/app/src/components/settings/layout/SettingsTabbedPage.tsxindex d062f6856a..3913e285ac 100644--- a/app/src/components/settings/layout/SettingsTabbedPage.tsx+++ b/app/src/components/settings/layout/SettingsTabbedPage.tsx@@ -5,6 +5,8 @@ import ChipTabs, { type ChipTabItem } from '../../layout/ChipTabs';export interface SettingsTabbedPageProps<T extends string> {title: ReactNode;description?: ReactNode;+ /** Optional compact control aligned with the page title. */+ headerAction?: ReactNode;tabs?: ChipTabItem<T>[];value?: T;onChange?: (value: T) => void;@@ -25,6 +27,7 @@ export interface SettingsTabbedPageProps<T extends string> {export default function SettingsTabbedPage<T extends string>({title,description,+ headerAction,tabs,value,onChange,@@ -36,9 +39,12 @@ export default function SettingsTabbedPage<T extends string>({return (<div className="flex h-full flex-col"><div className="space-y-4 pb-4">- <header className="space-y-0.5">- <h1 className="text-2xl font-semibold tracking-tight text-content">{title}</h1>- {description != null && <p className="text-sm text-content-muted">{description}</p>}+ <header className="flex items-start justify-between gap-3">+ <div className="min-w-0 space-y-0.5">+ <h1 className="text-2xl font-semibold tracking-tight text-content">{title}</h1>+ {description != null && <p className="text-sm text-content-muted">{description}</p>}+ </div>+ {headerAction != null && <div className="shrink-0">{headerAction}</div>}</header>{tabs && tabs.length > 0 && value != null && onChange && tabsAriaLabel ? (<div>diff --git a/app/src/components/skills/SkillsExplorerTab.tsx b/app/src/components/skills/SkillsExplorerTab.tsxindex f9c6b68219..7314b4cc7f 100644--- a/app/src/components/skills/SkillsExplorerTab.tsx+++ b/app/src/components/skills/SkillsExplorerTab.tsx@@ -11,7 +11,7 @@ import {} from '../../services/api/skillsApi';import EmptyStateCard from '../EmptyStateCard';import ChipTabs from '../layout/ChipTabs';-import { BetaIndicator, ModalShell, TextField } from '../ui';+import { ModalShell, TextField } from '../ui';import Button from '../ui/Button';import { ToggleGroupItem, ToggleGroupRoot } from '../ui/ToggleGroup';import InstallSkillDialog from './InstallSkillDialog';@@ -751,7 +751,6 @@ export default function SkillsExplorerTab({ onToast }: SkillsExplorerTabProps) {<div className="flex h-full min-h-0 flex-col overflow-hidden rounded-xl border border-line bg-surface animate-fade-up"><div className="p-3 pb-0"><div className="flex items-center justify-end gap-1 px-1 pb-3 pt-1">- <BetaIndicator /><Buttonvariant="secondary"size="sm"diff --git a/app/src/pages/Skills.tsx b/app/src/pages/Skills.tsxindex ae24d6c933..a855c768da 100644--- a/app/src/pages/Skills.tsx+++ b/app/src/pages/Skills.tsx@@ -1101,6 +1101,7 @@ export default function Skills() {<SettingsTabbedPagetitle={t(CONNECTIONS_HEADERS[activeTab]!.titleKey)}description={t(CONNECTIONS_HEADERS[activeTab]!.descKey)}+ headerAction={activeTab === 'skills' || activeTab === 'mcp' ? <BetaIndicator /> : undefined}scrollable={activeTab !== 'skills'}><divclassName={activeTab === 'skills' ? 'h-full min-h-0 w-full' : 'w-full space-y-4'}>@@ -1340,9 +1341,6 @@ export default function Skills() {{activeTab === 'mcp' && (<div className="space-y-3 animate-fade-up">- <div className="flex justify-end">- <BetaIndicator />- </div><Card><div className="p-4"><McpServersTab />