Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ui): restore missing scrollbar on overflow pages

Steven Enamakel1fcd63a69851
diff --git a/app/src/components/channels/mcp/McpServersPage.tsx b/app/src/components/channels/mcp/McpServersPage.tsx
index 7a4b4ee4fd..cebf8066f7 100644
--- a/app/src/components/channels/mcp/McpServersPage.tsx
+++ b/app/src/components/channels/mcp/McpServersPage.tsx
@@ -44,7 +44,10 @@ const McpServersPage = ({ initialTab = 'servers' }: McpServersPageProps) => {
value={tab}
onChange={setTab}
tabsAriaLabel={t('mcp.tab.tablistAria')}
- tabsTestIdPrefix="mcp-page-tab">
+ tabsTestIdPrefix="mcp-page-tab"
+ // The Servers table fills the body and scrolls its own rows; the other
+ // tabs are documents that scroll with the page.
+ scrollable={tab !== 'servers'}>
{tab === 'clients' ? (
<McpServerPanel embedded />
) : (
diff --git a/app/src/components/channels/mcp/McpServersTab.tsx b/app/src/components/channels/mcp/McpServersTab.tsx
index df2931fff6..2a845fc8e0 100644
--- a/app/src/components/channels/mcp/McpServersTab.tsx
+++ b/app/src/components/channels/mcp/McpServersTab.tsx
@@ -14,6 +14,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { useT } from '../../../lib/i18n/I18nContext';
import { mcpClientsApi } from '../../../services/api/mcpClientsApi';
+import { Alert, AlertDescription } from '../../ui';
import Button from '../../ui/Button';
import InstalledServerDetail from './InstalledServerDetail';
import McpJsonEditor from './McpJsonEditor';
@@ -177,10 +178,12 @@ const McpServersTab = ({ tab, onTabChange }: McpServersTabProps) => {
);
}
- // Detail view — a server's own page, reached from a row's name.
+ // Detail view — a server's own page, reached from a row's name. The page
+ // body does not scroll on this tab (the rows table owns its scroll), so the
+ // detail view brings its own.
if (view.mode === 'detail' && selectedServer) {
return (
- <div className="space-y-3">
+ <div className="-mr-4 h-full space-y-3 overflow-y-auto pb-4 pr-4">
<Button
variant="tertiary"
size="xs"
@@ -208,13 +211,11 @@ const McpServersTab = ({ tab, onTabChange }: McpServersTabProps) => {
}
return (
- <div className="space-y-6">
+ <div className="flex h-full min-h-0 flex-col gap-3">
{loadError && (
- <p
- role="alert"
- className="rounded-md border border-coral-500/30 bg-coral-500/10 px-3 py-2 text-xs text-coral-700 dark:text-coral-300">
- {loadError}
- </p>
+ <Alert variant="destructive" density="compact">
+ <AlertDescription>{loadError}</AlertDescription>
+ </Alert>
)}
<McpServerRows
diff --git a/app/src/components/skills/SkillsPage.tsx b/app/src/components/skills/SkillsPage.tsx
index cb340d6203..2ad4e2cc88 100644
--- a/app/src/components/skills/SkillsPage.tsx
+++ b/app/src/components/skills/SkillsPage.tsx
@@ -41,7 +41,10 @@ const SkillsPage = ({ onToast, initialTab = 'installed' }: SkillsPageProps) => {
value={tab}
onChange={setTab}
tabsAriaLabel={t('skills.explorer.title')}
- tabsTestIdPrefix="skill-explorer-tab">
+ tabsTestIdPrefix="skill-explorer-tab"
+ // Installed / Registry are tables that fill the body and scroll their
+ // own rows; the Runner is a form that scrolls with the page.
+ scrollable={tab === 'runner'}>
{tab === 'runner' ? (
<WorkflowRunnerBody />
) : (
diff --git a/app/src/pages/WorkflowRunsPage.tsx b/app/src/pages/WorkflowRunsPage.tsx
index 5d84b57675..bcdfe5e332 100644
--- a/app/src/pages/WorkflowRunsPage.tsx
+++ b/app/src/pages/WorkflowRunsPage.tsx
@@ -138,7 +138,8 @@ export default function WorkflowRunsPage() {
if (selectedStatus.size > 0 && !selectedStatus.has(row.displayStatus)) return false;
if (!needle) return true;
return (
- row.name.toLowerCase().includes(needle) || (row.run.error ?? '').toLowerCase().includes(needle)
+ row.name.toLowerCase().includes(needle) ||
+ (row.run.error ?? '').toLowerCase().includes(needle)
);
});
}, [rows, query, selectedStatus]);
@@ -237,7 +238,10 @@ export default function WorkflowRunsPage() {
{
id: 'status',
label: t('flows.allRuns.columnStatus'),
- options: statusOptions.map(status => ({ value: status, label: statusLabel(status) })),
+ options: statusOptions.map(status => ({
+ value: status,
+ label: statusLabel(status),
+ })),
selected: selectedStatus,
onChange: setSelectedStatus,
testId: 'workflow-runs-status-filter',