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 scrollable prop to SettingsTabbedPage
Steven Enamakeld3f39e18511b
diff --git a/app/src/components/settings/layout/SettingsTabbedPage.tsx b/app/src/components/settings/layout/SettingsTabbedPage.tsxindex e38203f338..d062f6856a 100644--- a/app/src/components/settings/layout/SettingsTabbedPage.tsx+++ b/app/src/components/settings/layout/SettingsTabbedPage.tsx@@ -10,6 +10,8 @@ export interface SettingsTabbedPageProps<T extends string> {onChange?: (value: T) => void;tabsAriaLabel?: string;tabsTestIdPrefix?: string;+ /** Let the active child own scrolling (for a fixed controls + results layout). */+ scrollable?: boolean;children: ReactNode;}@@ -28,6 +30,7 @@ export default function SettingsTabbedPage<T extends string>({onChange,tabsAriaLabel,tabsTestIdPrefix,+ scrollable = true,children,}: SettingsTabbedPageProps<T>) {return (@@ -51,8 +54,15 @@ export default function SettingsTabbedPage<T extends string>({) : null}</div><div aria-hidden className="-mx-4 border-t border-line" />- <div className="-mr-4 min-h-0 flex-1 overflow-y-auto pr-4">- <div className="min-h-full pb-4 pt-4">{children}</div>+ <div+ className={+ scrollable+ ? '-mr-4 min-h-0 flex-1 overflow-y-auto pr-4'+ : 'min-h-0 flex-1 overflow-hidden'+ }>+ <div className={scrollable ? 'min-h-full pb-4 pt-4' : 'h-full min-h-0 pt-4'}>+ {children}+ </div></div></div>);diff --git a/app/src/pages/Skills.tsx b/app/src/pages/Skills.tsxindex e344af8502..173ada193e 100644--- a/app/src/pages/Skills.tsx+++ b/app/src/pages/Skills.tsx@@ -1100,8 +1100,9 @@ export default function Skills() {<div className="h-full p-4"><SettingsTabbedPagetitle={t(CONNECTIONS_HEADERS[activeTab]!.titleKey)}- description={t(CONNECTIONS_HEADERS[activeTab]!.descKey)}>- <div className="w-full space-y-4">+ description={t(CONNECTIONS_HEADERS[activeTab]!.descKey)}+ scrollable={activeTab !== 'skills'}>+ <div className={activeTab === 'skills' ? 'h-full min-h-0 w-full' : 'w-full space-y-4'}>{/* <div className="flex items-center justify-between gap-2"><div className="min-w-0"><h1 className="text-base font-semibold text-content">