Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

refactor(frontend): adopt shared table viewport boundary

Josuéce27eb882348
diff --git a/control-ui/app/guardrails/[name]/page.tsx b/control-ui/app/guardrails/[name]/page.tsx
index 67845f3b5..6513b6c46 100644
--- a/control-ui/app/guardrails/[name]/page.tsx
+++ b/control-ui/app/guardrails/[name]/page.tsx
@@ -2,7 +2,7 @@
import React, { useEffect, useMemo, useState } from 'react'
import { useParams, useRouter } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '../../../app/constants/routes'
import { useConfirmDialog } from '../../../components/ConfirmDialog'
import { CreateFlowPanel } from '../../../components/CreateFlowPanel'
@@ -267,7 +267,7 @@ export default function GuardrailDetailPage() {
{agents.length === 0 ? (
<div className="cu-empty">No agents reference this guardrail.</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -307,7 +307,7 @@ export default function GuardrailDetailPage() {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</FormSection>
</>
diff --git a/control-ui/app/hosts/[name]/page.tsx b/control-ui/app/hosts/[name]/page.tsx
index d4180a173..8d595cd46 100644
--- a/control-ui/app/hosts/[name]/page.tsx
+++ b/control-ui/app/hosts/[name]/page.tsx
@@ -2,7 +2,7 @@
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { useParams, useRouter } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { useConfirmDialog } from '@components/ConfirmDialog'
import { DetailPageShell } from '@components/DetailPageShell'
import { SelectionDropdown } from '@components/SelectionDropdown'
@@ -1322,7 +1322,7 @@ export default function HostDetailsPage() {
</button>
</div>
</div>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-table--static-rows cu-agent-connectors-table">
<thead>
<tr>
@@ -1371,7 +1371,7 @@ export default function HostDetailsPage() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</>
)}
diff --git a/control-ui/app/outputs/page.tsx b/control-ui/app/outputs/page.tsx
index 7e7bb12f3..33ccf8b12 100644
--- a/control-ui/app/outputs/page.tsx
+++ b/control-ui/app/outputs/page.tsx
@@ -6,6 +6,7 @@ import {
DataTable,
TableHeaderCell,
TableStateRow,
+ TableViewport,
useTableSort,
} from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
@@ -252,7 +253,7 @@ function OutputsPageContent() {
<div className="cu-card__body cu-outputs-content">
{activeTab === 'workflow' ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -336,9 +337,9 @@ function OutputsPageContent() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -426,7 +427,7 @@ function OutputsPageContent() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</div>
</div>
diff --git a/control-ui/app/plugin-workload-sdk/Views.tsx b/control-ui/app/plugin-workload-sdk/Views.tsx
index 2fdd610ab..8851185b5 100644
--- a/control-ui/app/plugin-workload-sdk/Views.tsx
+++ b/control-ui/app/plugin-workload-sdk/Views.tsx
@@ -1,7 +1,7 @@
'use client'
import React from 'react'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { RowActionsMenu } from '@components/RowActionsMenu'
import { TableHeaderRow } from '@components/TableHeaderRow'
import type { TableHeaderColumn } from '@components/TableHeaderRow/types'
@@ -119,7 +119,7 @@ export function GrantsView({
</div>
</div>
) : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-plugin-sdk-grants-table">
<thead>
<TableHeaderRow columns={GRANT_COLUMNS} />
@@ -192,7 +192,7 @@ export function GrantsView({
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</>
)
}
@@ -275,7 +275,7 @@ export function InvocationsView({
<div className="cu-empty">No invocations match these filters.</div>
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={INVOCATION_COLUMNS} />
@@ -300,7 +300,7 @@ export function InvocationsView({
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</>
)
diff --git a/control-ui/app/profile-admin/teams/[teamId]/page.tsx b/control-ui/app/profile-admin/teams/[teamId]/page.tsx
index 8de2a8153..6de1a453d 100644
--- a/control-ui/app/profile-admin/teams/[teamId]/page.tsx
+++ b/control-ui/app/profile-admin/teams/[teamId]/page.tsx
@@ -2,7 +2,13 @@
import React, { useEffect, useMemo, useRef, useState } from 'react'
import { useParams, useRouter } from 'next/navigation'
-import { DataTable, RecordList, RecordListRow, RowActionMenu } from '@clerum/frontend-components'
+import {
+ DataTable,
+ RecordList,
+ RecordListRow,
+ RowActionMenu,
+ TableViewport,
+} from '@clerum/frontend-components'
import { useConfirmDialog } from '@components/ConfirmDialog'
import { DetailPageShell } from '@components/DetailPageShell'
import { SelectionDropdown } from '@components/SelectionDropdown'
@@ -687,7 +693,7 @@ export default function TeamDetailsPage() {
<>
<p className="cu-muted cu-detail-section-copy">Team members and their roles.</p>
{initialLoading ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -737,7 +743,7 @@ export default function TeamDetailsPage() {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : (
<>
{pendingInvitations.length > 0 && (
@@ -754,7 +760,7 @@ export default function TeamDetailsPage() {
>
Pending invitations
</p>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -819,7 +825,7 @@ export default function TeamDetailsPage() {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
)}
{members.length === 0 ? (
@@ -829,7 +835,7 @@ export default function TeamDetailsPage() {
: 'No members yet.'}
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -909,7 +915,7 @@ export default function TeamDetailsPage() {
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</>
)}
diff --git a/control-ui/app/profile-admin/users/[userId]/page.tsx b/control-ui/app/profile-admin/users/[userId]/page.tsx
index b7eb52314..14a2b08f4 100644
--- a/control-ui/app/profile-admin/users/[userId]/page.tsx
+++ b/control-ui/app/profile-admin/users/[userId]/page.tsx
@@ -3,7 +3,7 @@
import React, { useEffect, useMemo, useRef, useState } from 'react'
import Link from 'next/link'
import { useParams, useRouter } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { useConfirmDialog } from '@components/ConfirmDialog'
import { DetailPageShell } from '@components/DetailPageShell'
import { RowActionsMenu } from '@components/RowActionsMenu'
@@ -865,7 +865,7 @@ export default function UserDetailsPage() {
) : userCommunicationConversations.length === 0 ? (
<div className="cu-empty">No connected communication channel conversations.</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -901,7 +901,7 @@ export default function UserDetailsPage() {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</>
)}
@@ -910,7 +910,7 @@ export default function UserDetailsPage() {
<>
<p className="cu-muted cu-detail-section-copy">Team memberships and roles.</p>
{initialLoading ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -953,13 +953,13 @@ export default function UserDetailsPage() {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : userTeams.length === 0 ? (
<div className="cu-empty" style={{ padding: '0.5rem 0' }}>
Not a member of any team yet.
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -1041,7 +1041,7 @@ export default function UserDetailsPage() {
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</>
)}
@@ -1050,7 +1050,7 @@ export default function UserDetailsPage() {
<>
<p className="cu-muted cu-detail-section-copy">Agents this member may use.</p>
{initialLoading ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -1072,13 +1072,13 @@ export default function UserDetailsPage() {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : assignedAgentNames.length === 0 ? (
<div className="cu-empty" style={{ padding: '0.5rem 0' }}>
No agent access yet.
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -1121,7 +1121,7 @@ export default function UserDetailsPage() {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</>
)}
diff --git a/control-ui/app/shared-filesystems/[name]/page.tsx b/control-ui/app/shared-filesystems/[name]/page.tsx
index 65f8ef383..55ce69af0 100644
--- a/control-ui/app/shared-filesystems/[name]/page.tsx
+++ b/control-ui/app/shared-filesystems/[name]/page.tsx
@@ -2,7 +2,7 @@
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { useParams, useRouter } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { FileUploadModal } from '@components/FileUploadModal'
import { RowActionsMenu } from '@components/RowActionsMenu'
import { CONTROL_ROUTES } from '@constants/routes'
@@ -363,7 +363,7 @@ export default function SharedFileSystemDetailsPage() {
</button>
</div>
</div>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={FILE_COLUMNS} />
@@ -372,7 +372,7 @@ export default function SharedFileSystemDetailsPage() {
<SkeletonTableRows columns={FILE_COLUMNS.length} rows={5} />
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
</div>
</DashboardLayout>
@@ -548,7 +548,7 @@ export default function SharedFileSystemDetailsPage() {
files here to upload.
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={FILE_COLUMNS} />
@@ -636,7 +636,7 @@ export default function SharedFileSystemDetailsPage() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</div>
</div>
diff --git a/control-ui/app/shared-filesystems/page.tsx b/control-ui/app/shared-filesystems/page.tsx
index dc1d214dd..d056f9ec6 100644
--- a/control-ui/app/shared-filesystems/page.tsx
+++ b/control-ui/app/shared-filesystems/page.tsx
@@ -7,6 +7,7 @@ import {
RowActionMenu,
TableRow,
TableStateRow,
+ TableViewport,
useTableSort,
} from '@clerum/frontend-components'
import { DashboardLayout } from '@components/DashboardLayout'
@@ -237,7 +238,7 @@ export default function SharedFileSystemsPage() {
</div>
) : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<TableHeaderRow columns={columns} />
@@ -327,7 +328,7 @@ export default function SharedFileSystemsPage() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
{deleteTarget ? (
diff --git a/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx b/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
index d86a4c6d8..211aa9fff 100644
--- a/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
+++ b/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
@@ -2,7 +2,7 @@
import { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { useParams, useRouter, useSearchParams } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { AuthGate } from '@components/AuthGate'
import { BodyLoadingSkeleton } from '@components/BodyLoadingSkeleton'
import { useConfirmDialog } from '@components/ConfirmDialog'
@@ -754,7 +754,7 @@ function WorkflowRecipeDetailContent() {
</div>
) : null}
{loadingRuns && visibleRuns.length === 0 ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={RUNS_COLUMNS} />
@@ -763,13 +763,13 @@ function WorkflowRecipeDetailContent() {
<SkeletonTableRows columns={RUNS_COLUMNS.length} rows={3} />
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : visibleRuns.length === 0 ? (
<div className="cu-empty">
No runs yet. Click <strong>Run…</strong> to trigger one.
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={RUNS_COLUMNS} />
@@ -866,7 +866,7 @@ function WorkflowRecipeDetailContent() {
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</div>
</>
@@ -930,7 +930,7 @@ function WorkloadsTab({
</div>
) : null}
{loading && rowIds.length === 0 ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={WORKLOAD_COLUMNS} />
@@ -939,11 +939,11 @@ function WorkloadsTab({
<SkeletonTableRows columns={WORKLOAD_COLUMNS.length} rows={3} />
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : rowIds.length === 0 ? (
<div className="cu-empty">This plugin has no workloads or pods yet.</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={WORKLOAD_COLUMNS} />
@@ -1023,7 +1023,7 @@ function WorkloadsTab({
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</div>
</>
@@ -1051,7 +1051,7 @@ function ConditionsTab({ status }: { status: Record<string, unknown> | null }) {
No conditions reported. Everything that the controller checks is healthy.
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={CONDITION_COLUMNS} />
@@ -1088,7 +1088,7 @@ function ConditionsTab({ status }: { status: Record<string, unknown> | null }) {
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
</div>
)
diff --git a/control-ui/components/CodexSubscriptionHub/index.tsx b/control-ui/components/CodexSubscriptionHub/index.tsx
index a58a31941..3e16e703a 100644
--- a/control-ui/components/CodexSubscriptionHub/index.tsx
+++ b/control-ui/components/CodexSubscriptionHub/index.tsx
@@ -5,6 +5,7 @@ import {
DataTable,
TableHeaderCell,
TableStateRow,
+ TableViewport,
useTableSort,
} from '@clerum/frontend-components'
import { copyTextToClipboard } from '@lib/clipboard'
@@ -460,7 +461,7 @@ export function CodexSubscriptionHub() {
</div>
) : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -534,7 +535,7 @@ export function CodexSubscriptionHub() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
{creating || editing ? (
<div
diff --git a/control-ui/components/CommunicationChannelConversations/index.tsx b/control-ui/components/CommunicationChannelConversations/index.tsx
index 646c23d34..580b18bee 100644
--- a/control-ui/components/CommunicationChannelConversations/index.tsx
+++ b/control-ui/components/CommunicationChannelConversations/index.tsx
@@ -1,7 +1,7 @@
'use client'
import Link from 'next/link'
-import { DataTable, RowActionMenu } from '@clerum/frontend-components'
+import { DataTable, RowActionMenu, TableViewport } from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
import { formatCommunicationChannelConfirmedAt } from '@lib/communicationChannels'
import type {
@@ -67,7 +67,7 @@ export function CommunicationChannelConversationsTable({
return <div className="cu-empty cu-empty--compact">{emptyLabel}</div>
}
return (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-channel-conversations-table">
<thead>
<tr>
@@ -128,6 +128,6 @@ export function CommunicationChannelConversationsTable({
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)
}
diff --git a/control-ui/components/CommunicationChannelsTable.tsx b/control-ui/components/CommunicationChannelsTable.tsx
index 4bc5feb40..c7ff4a5e5 100644
--- a/control-ui/components/CommunicationChannelsTable.tsx
+++ b/control-ui/components/CommunicationChannelsTable.tsx
@@ -1,7 +1,13 @@
'use client'
import { useMemo, useState } from 'react'
-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import {
+ DataTable,
+ TableRow,
+ TableStateRow,
+ TableViewport,
+ useTableSort,
+} from '@clerum/frontend-components'
import {
COMMUNICATION_CHANNEL_PROVIDERS,
type CommunicationChannelProvider,
@@ -236,7 +242,7 @@ export function CommunicationChannelsTable({
{error}
</div>
) : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-external-channels-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -315,7 +321,7 @@ export function CommunicationChannelsTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
{confirmDialog}
</>
diff --git a/control-ui/components/ControlAdminsPanel/index.tsx b/control-ui/components/ControlAdminsPanel/index.tsx
index a244c86e2..3439bb321 100644
--- a/control-ui/components/ControlAdminsPanel/index.tsx
+++ b/control-ui/components/ControlAdminsPanel/index.tsx
@@ -6,6 +6,7 @@ import {
DataTable,
TableHeaderCell,
TableStateRow,
+ TableViewport,
useTableSort,
} from '@clerum/frontend-components'
import { useAuth } from '@components/AuthContext'
@@ -361,7 +362,7 @@ export function ControlAdminsPanel({
<div className="cu-profile-section">
{error ? <div className="cu-banner cu-banner--error">{error}</div> : null}
{showInvitationsTable ? (
- <div className="eft-table-viewport cu-table-wrap cu-table-wrap--border-top">
+ <TableViewport className="cu-table-wrap cu-table-wrap--border-top">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -430,10 +431,10 @@ export function ControlAdminsPanel({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : null}
- <div
- className={`eft-table-viewport cu-table-wrap cu-table-wrap--border-top${
+ <TableViewport
+ className={`cu-table-wrap cu-table-wrap--border-top${
showInvitationsTable ? ' cu-table-wrap--section-gap' : ''
}`}
>
@@ -597,7 +598,7 @@ export function ControlAdminsPanel({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
{confirmDialog}
</div>
)
diff --git a/control-ui/components/GovernedTraceSurface/GovernedEventExplorer/index.tsx b/control-ui/components/GovernedTraceSurface/GovernedEventExplorer/index.tsx
index cadd41d7d..47a186e3b 100644
--- a/control-ui/components/GovernedTraceSurface/GovernedEventExplorer/index.tsx
+++ b/control-ui/components/GovernedTraceSurface/GovernedEventExplorer/index.tsx
@@ -1,7 +1,7 @@
'use client'
import { useEffect, useMemo, useState } from 'react'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { TableHeaderRow } from '@components/TableHeaderRow'
import type { TableHeaderColumn } from '@components/TableHeaderRow/types'
import { TablePanelHeader } from '@components/TablePanelHeader'
@@ -187,7 +187,7 @@ export function GovernedEventExplorer({ family, subtitle, title }: GovernedEvent
{loading ? (
<div className="cu-empty">Loading governed events...</div>
) : invalidRange ? null : (
- <div className="eft-table-viewport cu-table-wrap cu-table-wrap--sticky-header">
+ <TableViewport className="cu-table-wrap cu-table-wrap--sticky-header">
<DataTable className="eft-table cu-table cu-table--header-band cu-trace-explorer-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -207,7 +207,7 @@ export function GovernedEventExplorer({ family, subtitle, title }: GovernedEvent
) : null}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
{family === 'infrastructure_telemetry' && !loading ? (
<InfrastructureOperationalSnapshot events={events} />
diff --git a/control-ui/components/GovernedTraceSurface/InfrastructureCostQueryView/InfrastructureCostResults.tsx b/control-ui/components/GovernedTraceSurface/InfrastructureCostQueryView/InfrastructureCostResults.tsx
index 6cb60a247..0127ed8ca 100644
--- a/control-ui/components/GovernedTraceSurface/InfrastructureCostQueryView/InfrastructureCostResults.tsx
+++ b/control-ui/components/GovernedTraceSurface/InfrastructureCostQueryView/InfrastructureCostResults.tsx
@@ -8,7 +8,7 @@ import {
XAxis,
YAxis,
} from 'recharts'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { TableHeaderRow } from '@components/TableHeaderRow'
import type { TableHeaderColumn } from '@components/TableHeaderRow/types'
import type { InfrastructureCostResponse, InfrastructureCostSelection } from '@lib/governedTrace'
@@ -137,7 +137,7 @@ function CostRunRateForecast({ response }: { response: InfrastructureCostRespons
<span className="cu-trace-cost-section-title">Historical run-rate forecast</span>
<span className="cu-trace-cost-chip">Directional</span>
</div>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -179,7 +179,7 @@ function CostRunRateForecast({ response }: { response: InfrastructureCostRespons
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
<div className="cu-trace-cost-forecast__warning" role="status">
This extrapolates persisted daily patterns. Provisioned estimates capture replica/runtime
changes and resource requests, not measured CPU or memory utilization. GCP billed patterns
@@ -364,7 +364,7 @@ function ComponentsTable({
<section className="cu-trace-cost-components">
<span className="cu-trace-cost-section-title">{title}</span>
{components.length ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<TableHeaderRow columns={COST_COMPONENT_COLUMNS} />
@@ -395,7 +395,7 @@ function ComponentsTable({
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : (
<div className="cu-empty cu-empty--compact">No component rows returned for this basis.</div>
)}
diff --git a/control-ui/components/GovernedTraceSurface/InfrastructureOperationalSnapshot/index.tsx b/control-ui/components/GovernedTraceSurface/InfrastructureOperationalSnapshot/index.tsx
index 9e2837fd4..032463abe 100644
--- a/control-ui/components/GovernedTraceSurface/InfrastructureOperationalSnapshot/index.tsx
+++ b/control-ui/components/GovernedTraceSurface/InfrastructureOperationalSnapshot/index.tsx
@@ -10,7 +10,7 @@ import {
XAxis,
YAxis,
} from 'recharts'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { TableHeaderRow } from '@components/TableHeaderRow'
import type { TableHeaderColumn } from '@components/TableHeaderRow/types'
import type { GovernedTraceEvent } from '@lib/governedTrace'
@@ -254,7 +254,7 @@ export function InfrastructureOperationalSnapshot({
</div>
</div>
) : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<TableHeaderRow columns={COLUMNS} />
@@ -322,7 +322,7 @@ export function InfrastructureOperationalSnapshot({
) : null}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</section>
)
}
diff --git a/control-ui/components/GovernedTraceSurface/SessionReplay/index.tsx b/control-ui/components/GovernedTraceSurface/SessionReplay/index.tsx
index 89db97134..19f3f6154 100644
--- a/control-ui/components/GovernedTraceSurface/SessionReplay/index.tsx
+++ b/control-ui/components/GovernedTraceSurface/SessionReplay/index.tsx
@@ -1,7 +1,7 @@
'use client'
import { useEffect, useMemo, useRef, useState } from 'react'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { TableHeaderRow } from '@components/TableHeaderRow'
import type { TableHeaderColumn } from '@components/TableHeaderRow/types'
import { TablePanelHeader } from '@components/TablePanelHeader'
@@ -193,7 +193,7 @@ export function SessionReplay({
{loading ? (
<div className="cu-empty">Loading governed sessions...</div>
) : invalidRange ? null : (
- <div className="eft-table-viewport cu-table-wrap cu-table-wrap--sticky-header">
+ <TableViewport className="cu-table-wrap cu-table-wrap--sticky-header">
<DataTable className="eft-table cu-table cu-table--header-band cu-trace-explorer-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -225,7 +225,7 @@ export function SessionReplay({
) : null}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
{page?.nextCursor ? (
<div className="cu-trace-pagination">
diff --git a/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionIdentity.tsx b/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionIdentity.tsx
index f991d06c9..aa02c58ae 100644
--- a/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionIdentity.tsx
+++ b/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionIdentity.tsx
@@ -1,5 +1,5 @@
import Link from 'next/link'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { TableHeaderRow } from '@components/TableHeaderRow'
import { CONTROL_ROUTES } from '@constants/routes'
import type { GovernedTraceSessionDetail } from '@lib/governedTrace'
@@ -112,7 +112,7 @@ export function SessionIdentity({ detail }: { detail: GovernedTraceSessionDetail
<h2 id="trace-session-runs">Runs</h2>
<span>{detail.runs.length} loaded</span>
</div>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-trace-detail-table">
<thead>
<TableHeaderRow columns={SESSION_RUN_COLUMNS} />
@@ -143,7 +143,7 @@ export function SessionIdentity({ detail }: { detail: GovernedTraceSessionDetail
) : null}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</section>
</>
)
diff --git a/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionToolUsage.tsx b/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionToolUsage.tsx
index c052ed34b..f51cc1250 100644
--- a/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionToolUsage.tsx
+++ b/control-ui/components/GovernedTraceSurface/SessionReplayDetail/SessionToolUsage.tsx
@@ -1,4 +1,4 @@
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { TableHeaderRow } from '@components/TableHeaderRow'
import type { GovernedTraceToolUsage } from '@lib/governedTrace'
import { formatTraceTimestamp } from '../formatters'
@@ -14,7 +14,7 @@ export function SessionToolUsage({ tools }: { tools: readonly GovernedTraceToolU
</div>
<span>{tools.length} loaded</span>
</div>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-trace-detail-table">
<thead>
<TableHeaderRow columns={SESSION_TOOL_COLUMNS} />
@@ -49,7 +49,7 @@ export function SessionToolUsage({ tools }: { tools: readonly GovernedTraceToolU
) : null}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</section>
)
}
diff --git a/control-ui/components/GovernedTraceSurface/TracingOperations/ErrorSummary.tsx b/control-ui/components/GovernedTraceSurface/TracingOperations/ErrorSummary.tsx
index ae43d6244..6bd54ada3 100644
--- a/control-ui/components/GovernedTraceSurface/TracingOperations/ErrorSummary.tsx
+++ b/control-ui/components/GovernedTraceSurface/TracingOperations/ErrorSummary.tsx
@@ -1,4 +1,4 @@
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { TableHeaderRow } from '@components/TableHeaderRow'
import type { TableHeaderColumn } from '@components/TableHeaderRow/types'
import { formatTraceTimestamp } from '../formatters'
@@ -28,7 +28,7 @@ export function ErrorSummary({ errors }: ErrorSummaryProps) {
<strong>Operational errors</strong>
<span>Recorded occurrences since control-api restart</span>
</div>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-trace-ops-table">
<thead>
<TableHeaderRow columns={COLUMNS} />
@@ -72,7 +72,7 @@ export function ErrorSummary({ errors }: ErrorSummaryProps) {
) : null}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</section>
)
}
diff --git a/control-ui/components/GovernedTraceSurface/index.tsx b/control-ui/components/GovernedTraceSurface/index.tsx
index 98e82110c..383b642bf 100644
--- a/control-ui/components/GovernedTraceSurface/index.tsx
+++ b/control-ui/components/GovernedTraceSurface/index.tsx
@@ -3,7 +3,7 @@
import { useEffect, useMemo, useRef, useState } from 'react'
import Link from 'next/link'
import { usePathname, useRouter, useSearchParams } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { TableHeaderRow } from '@components/TableHeaderRow'
import type { TableHeaderColumn } from '@components/TableHeaderRow/types'
import { TablePanelHeader } from '@components/TablePanelHeader'
@@ -400,7 +400,7 @@ export function GovernedTraceSurface({
matchingCount={visibleEvents.length}
windowLabel={traceWindowLabel(timeWindow)}
/>
- <div className="eft-table-viewport cu-table-wrap cu-table-wrap--sticky-header">
+ <TableViewport className="cu-table-wrap cu-table-wrap--sticky-header">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<TableHeaderRow columns={TRACE_COLUMNS} />
@@ -448,7 +448,7 @@ export function GovernedTraceSurface({
) : null}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</>
)}
{family === 'infrastructure_telemetry' && !loading ? (
diff --git a/control-ui/components/GuardrailHooksTable.tsx b/control-ui/components/GuardrailHooksTable.tsx
index d529364a9..ee0b74a64 100644
--- a/control-ui/components/GuardrailHooksTable.tsx
+++ b/control-ui/components/GuardrailHooksTable.tsx
@@ -2,7 +2,7 @@
import React, { useMemo, useState } from 'react'
import { useRouter } from 'next/navigation'
-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import { DataTable, TableStateRow, TableViewport, useTableSort } from '@clerum/frontend-components'
import { RowActionsMenu } from '@components/RowActionsMenu'
import { CONTROL_ROUTES } from '@constants/routes'
import type { LlmHookStatus } from '../lib/api'
@@ -201,7 +201,7 @@ export function GuardrailHooksTable({
/>
}
/>
- <div className="eft-table-viewport cu-table-wrap cu-guardrails-table-wrap">
+ <TableViewport className="cu-table-wrap cu-guardrails-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-guardrails-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -285,7 +285,7 @@ export function GuardrailHooksTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
)
}
diff --git a/control-ui/components/HostAccessTab/index.tsx b/control-ui/components/HostAccessTab/index.tsx
index e50a3810a..7c68a2d3f 100644
--- a/control-ui/components/HostAccessTab/index.tsx
+++ b/control-ui/components/HostAccessTab/index.tsx
@@ -2,7 +2,7 @@
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { useRouter } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { useConfirmDialog } from '@components/ConfirmDialog'
import { RowActionsMenu } from '@components/RowActionsMenu'
import { SelectionModal } from '@components/SelectionModal'
@@ -307,7 +307,7 @@ export function HostAccessTab({ hostName }: HostAccessTabProps) {
)}
</div>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -412,7 +412,7 @@ export function HostAccessTab({ hostName }: HostAccessTabProps) {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
{showAddUser ? (
diff --git a/control-ui/components/HostAdvancedTab/index.tsx b/control-ui/components/HostAdvancedTab/index.tsx
index cfd3bd0da..38d642d99 100644
--- a/control-ui/components/HostAdvancedTab/index.tsx
+++ b/control-ui/components/HostAdvancedTab/index.tsx
@@ -1,7 +1,7 @@
'use client'
import React, { useState } from 'react'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { HostApprovalSection } from '@components/HostApprovalSection'
import { HostEnvTable } from '@components/HostEnvTable'
import { HostGuardrailsSection } from '@components/HostGuardrailsSection'
@@ -75,11 +75,7 @@ export function HostAdvancedTab({
function ApprovalToolsSkeleton() {
return (
- <div
- className="eft-table-viewport cu-table-wrap"
- role="status"
- aria-label="Loading approval tools"
- >
+ <TableViewport className="cu-table-wrap" role="status" aria-label="Loading approval tools">
<DataTable className="eft-table cu-table cu-table--header-band cu-table--static-rows">
<thead>
<tr>
@@ -102,6 +98,6 @@ function ApprovalToolsSkeleton() {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)
}
diff --git a/control-ui/components/HostGuardrailsSection/index.tsx b/control-ui/components/HostGuardrailsSection/index.tsx
index 7183f897e..42a76e754 100644
--- a/control-ui/components/HostGuardrailsSection/index.tsx
+++ b/control-ui/components/HostGuardrailsSection/index.tsx
@@ -2,7 +2,7 @@
import React, { useCallback, useMemo, useRef, useState } from 'react'
import { useRouter } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { useConfirmDialog } from '@components/ConfirmDialog'
import { RowActionsMenu } from '@components/RowActionsMenu'
import { useToast } from '@components/Toast'
@@ -106,7 +106,7 @@ export function HostGuardrailsSection({
) : null}
</div>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -163,7 +163,7 @@ export function HostGuardrailsSection({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
{confirmDialog}
diff --git a/control-ui/components/HostTable.tsx b/control-ui/components/HostTable.tsx
index 266068ca5..5fbe8460a 100644
--- a/control-ui/components/HostTable.tsx
+++ b/control-ui/components/HostTable.tsx
@@ -1,7 +1,13 @@
'use client'
import React, { useMemo, useState } from 'react'
-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import {
+ DataTable,
+ TableRow,
+ TableStateRow,
+ TableViewport,
+ useTableSort,
+} from '@clerum/frontend-components'
import { getProviderLabel } from '../lib/llm'
import { ConnectorCountHoverCard } from './ConnectorCountCell'
import type { HostItem, HostRef } from './HostTable.types'
@@ -164,7 +170,7 @@ export function HostTable({
/>
}
/>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<TableHeaderRow columns={hostColumns} />
@@ -264,7 +270,7 @@ export function HostTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
)
}
diff --git a/control-ui/components/LlmDiscoveryPanel/index.tsx b/control-ui/components/LlmDiscoveryPanel/index.tsx
index f2a7d2414..a97d190aa 100644
--- a/control-ui/components/LlmDiscoveryPanel/index.tsx
+++ b/control-ui/components/LlmDiscoveryPanel/index.tsx
@@ -1,7 +1,7 @@
'use client'
import React, { useEffect, useMemo, useRef, useState } from 'react'
-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import { DataTable, TableStateRow, TableViewport, useTableSort } from '@clerum/frontend-components'
import { LlmProviderIcon } from '@components/LlmProviderIcon'
import { IconModels } from '@components/Sidebar/icons'
import { TableHeaderRow } from '@components/TableHeaderRow'
@@ -354,7 +354,7 @@ export function LlmDiscoveryPanel({
</div>
) : null}
- <div className="eft-table-viewport cu-table-wrap cu-table-wrap--sticky-header">
+ <TableViewport className="cu-table-wrap cu-table-wrap--sticky-header">
<DataTable className="eft-table cu-table cu-table--header-band cu-llm-review-table">
<thead>
<TableHeaderRow columns={reviewColumns} />
@@ -412,7 +412,7 @@ export function LlmDiscoveryPanel({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
</>
)
diff --git a/control-ui/components/LlmModelTable.tsx b/control-ui/components/LlmModelTable.tsx
index a596bd0b5..0df1fb786 100644
--- a/control-ui/components/LlmModelTable.tsx
+++ b/control-ui/components/LlmModelTable.tsx
@@ -1,7 +1,7 @@
'use client'
import React, { useEffect, useMemo, useState } from 'react'
-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import { DataTable, TableStateRow, TableViewport, useTableSort } from '@clerum/frontend-components'
import type { LlmAllowedModel } from '@lib/api'
import { catalogGroupKey, formatContextWindow, getProviderDisplayLabel } from '@lib/llm'
import { isUnpricedAllowedModel } from '@lib/llmModelUnpriced'
@@ -297,7 +297,7 @@ export function LlmModelTable({
}
/>
{navigation}
- <div className="eft-table-viewport cu-table-wrap cu-table-wrap--sticky-header">
+ <TableViewport className="cu-table-wrap cu-table-wrap--sticky-header">
<DataTable className="eft-table cu-table cu-table--header-band cu-llm-model-table">
<thead>
<TableHeaderRow columns={modelColumns} />
@@ -432,7 +432,7 @@ export function LlmModelTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
)
}
diff --git a/control-ui/components/LlmPriceTable.tsx b/control-ui/components/LlmPriceTable.tsx
index b03970132..ab6634f46 100644
--- a/control-ui/components/LlmPriceTable.tsx
+++ b/control-ui/components/LlmPriceTable.tsx
@@ -1,7 +1,13 @@
'use client'
import React, { useMemo, useState } from 'react'
-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import {
+ DataTable,
+ TableRow,
+ TableStateRow,
+ TableViewport,
+ useTableSort,
+} from '@clerum/frontend-components'
import type { LlmModelPrice, UnpricedModel } from '@lib/api'
import { getProviderDisplayLabel } from '@lib/llm'
import type { LlmPriceTableProps } from './LlmPriceTable.types'
@@ -190,7 +196,7 @@ export function LlmPriceTable({
/>
}
/>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<TableHeaderRow columns={columns} />
@@ -336,7 +342,7 @@ export function LlmPriceTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
)
}
diff --git a/control-ui/components/MarketplaceOrgImages/index.tsx b/control-ui/components/MarketplaceOrgImages/index.tsx
index 0d1f41ebd..cfc1241c8 100644
--- a/control-ui/components/MarketplaceOrgImages/index.tsx
+++ b/control-ui/components/MarketplaceOrgImages/index.tsx
@@ -1,7 +1,7 @@
'use client'
import { useCallback, useEffect, useState } from 'react'
-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import { DataTable, TableStateRow, TableViewport, useTableSort } from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
import { type OrgImage, listOrgImages } from '../../lib/api'
import {
@@ -132,7 +132,7 @@ export function MarketplaceOrgImages({
.
</p>
) : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -194,7 +194,7 @@ export function MarketplaceOrgImages({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
{view.kind === 'ready' && rows.length > 0 ? (
<p className="cu-muted-note cu-muted-note--spaced">
A push can still be rejected if the credential lacks publish permission or the org has
diff --git a/control-ui/components/McpServerTable.tsx b/control-ui/components/McpServerTable.tsx
index 8b0b8d90a..3166b136f 100644
--- a/control-ui/components/McpServerTable.tsx
+++ b/control-ui/components/McpServerTable.tsx
@@ -1,7 +1,13 @@
'use client'
import React, { useMemo, useState } from 'react'
-import { DataTable, TableRow, TableStateRow, TruncatedText } from '@clerum/frontend-components'
+import {
+ DataTable,
+ TableRow,
+ TableStateRow,
+ TableViewport,
+ TruncatedText,
+} from '@clerum/frontend-components'
import { canAssignConnectorToContext } from '../lib/connectorOAuthAccess'
import type {
ConnectorAgentBinding,
@@ -319,7 +325,7 @@ export function McpServerTable({
}
/>
{detailContent ? <div className="cu-card__body">{detailContent}</div> : null}
- <div className="eft-table-viewport cu-table-wrap cu-connectors-table-wrap">
+ <TableViewport className="cu-table-wrap cu-connectors-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-connectors-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -426,7 +432,7 @@ export function McpServerTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
{serverKeyAddingAgents
? (() => {
const row = rows.find(candidate => candidate.key === serverKeyAddingAgents)
diff --git a/control-ui/components/ProfileAdminHome.tsx b/control-ui/components/ProfileAdminHome.tsx
index 132a92c43..2131e18cb 100644
--- a/control-ui/components/ProfileAdminHome.tsx
+++ b/control-ui/components/ProfileAdminHome.tsx
@@ -2,7 +2,13 @@
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { useRouter } from 'next/navigation'
-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import {
+ DataTable,
+ TableRow,
+ TableStateRow,
+ TableViewport,
+ useTableSort,
+} from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
import {
AdminPendingInvitationListItem,
@@ -575,7 +581,7 @@ export function ProfileAdminHome({ activeTab, highlightedAdminId = '' }: Profile
onLoadingChange={handleAdminLoadingChange}
/>
) : activeTab === 'teams' ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--profile cu-table--header-band">
<thead>
<TableHeaderRow columns={teamColumns} />
@@ -672,13 +678,13 @@ export function ProfileAdminHome({ activeTab, highlightedAdminId = '' }: Profile
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : (
<>
{showPendingInvitations ? (
<div className="cu-profile-section">
<p className="cu-profile-section__label">Pending invitations</p>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--profile cu-table--header-band">
<thead>
<tr>
@@ -770,10 +776,10 @@ export function ProfileAdminHome({ activeTab, highlightedAdminId = '' }: Profile
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
) : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--profile cu-table--header-band">
<thead>
<TableHeaderRow columns={memberColumns} />
@@ -890,7 +896,7 @@ export function ProfileAdminHome({ activeTab, highlightedAdminId = '' }: Profile
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</>
)}
{error ? (
diff --git a/control-ui/components/PublisherView/DockerCredentials.tsx b/control-ui/components/PublisherView/DockerCredentials.tsx
index 00737dfa0..888776872 100644
--- a/control-ui/components/PublisherView/DockerCredentials.tsx
+++ b/control-ui/components/PublisherView/DockerCredentials.tsx
@@ -1,7 +1,7 @@
'use client'
import { useCallback, useEffect, useState } from 'react'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
import {
type CreatedRegistryApiKey,
@@ -232,7 +232,7 @@ export function DockerCredentialsPanel({ orgScope }: { orgScope: string }) {
view.keys.length === 0 ? (
<p>No push credentials yet.</p>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={COLUMNS} />
@@ -260,7 +260,7 @@ export function DockerCredentialsPanel({ orgScope }: { orgScope: string }) {
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)
) : null}
diff --git a/control-ui/components/PublisherView/GrantedToMe.tsx b/control-ui/components/PublisherView/GrantedToMe.tsx
index 12f851e95..f68690ae2 100644
--- a/control-ui/components/PublisherView/GrantedToMe.tsx
+++ b/control-ui/components/PublisherView/GrantedToMe.tsx
@@ -1,7 +1,7 @@
'use client'
import Link from 'next/link'
-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import { DataTable, TableStateRow, TableViewport, useTableSort } from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
import type { GrantedToMeItem } from '../../lib/api'
import type { InboundGrantsStatus } from '../../lib/hooks/useInboundGrants'
@@ -50,7 +50,7 @@ export function GrantedToMe({
onSort: () => grantSort.sortBy(column.key as 'plugin' | 'owner' | 'since'),
}))
return (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -102,6 +102,6 @@ export function GrantedToMe({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)
}
diff --git a/control-ui/components/PublisherView/OwnedEntries.tsx b/control-ui/components/PublisherView/OwnedEntries.tsx
index 2f3910946..a84994311 100644
--- a/control-ui/components/PublisherView/OwnedEntries.tsx
+++ b/control-ui/components/PublisherView/OwnedEntries.tsx
@@ -2,7 +2,13 @@
import React, { useCallback, useEffect, useMemo, useState } from 'react'
import { useRouter, useSearchParams } from 'next/navigation'
-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import {
+ DataTable,
+ TableRow,
+ TableStateRow,
+ TableViewport,
+ useTableSort,
+} from '@clerum/frontend-components'
import { MARKETPLACE_ENTRY_TYPE_LABELS } from '@constants/marketplaceEntryTypes'
import { CONTROL_ROUTES } from '@constants/routes'
import {
@@ -263,7 +269,7 @@ export function OwnedEntries({
</button>
</p>
) : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -386,7 +392,7 @@ export function OwnedEntries({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
</>
)
diff --git a/control-ui/components/RecipeIntegrationsPanel/index.tsx b/control-ui/components/RecipeIntegrationsPanel/index.tsx
index da9bf0f89..d73623968 100644
--- a/control-ui/components/RecipeIntegrationsPanel/index.tsx
+++ b/control-ui/components/RecipeIntegrationsPanel/index.tsx
@@ -1,7 +1,7 @@
'use client'
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import {
type UserGrant,
type WorkflowRecipeResource,
@@ -276,7 +276,7 @@ export function RecipeIntegrationsPanel({ recipe }: { recipe: WorkflowRecipeReso
.
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -353,7 +353,7 @@ export function RecipeIntegrationsPanel({ recipe }: { recipe: WorkflowRecipeReso
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
{activeGrantsClientId
? (() => {
@@ -405,7 +405,7 @@ export function RecipeIntegrationsPanel({ recipe }: { recipe: WorkflowRecipeReso
<div className="cu-empty">No user grants for this client.</div>
) : null}
{grants.loadState === 'ready' && grants.users.length > 0 ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table" variant="embedded">
<thead>
<tr>
@@ -443,7 +443,7 @@ export function RecipeIntegrationsPanel({ recipe }: { recipe: WorkflowRecipeReso
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : null}
<div className="cu-create-actions">
<button
diff --git a/control-ui/components/RecipeSecretsPanel/index.tsx b/control-ui/components/RecipeSecretsPanel/index.tsx
index e8ba156a7..c0a22c444 100644
--- a/control-ui/components/RecipeSecretsPanel/index.tsx
+++ b/control-ui/components/RecipeSecretsPanel/index.tsx
@@ -2,7 +2,7 @@
import { useCallback, useEffect, useMemo, useState } from 'react'
import { useRouter } from 'next/navigation'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
import {
type RecipeSecretItem,
@@ -213,7 +213,7 @@ export function RecipeSecretsPanel({
: 'This recipe declares no API-key Secret references.'}
</div>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -314,7 +314,7 @@ export function RecipeSecretsPanel({
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
{missingCount > 0 ? (
diff --git a/control-ui/components/RecipesTab.tsx b/control-ui/components/RecipesTab.tsx
index 8a18b0519..9ad1d7ea2 100644
--- a/control-ui/components/RecipesTab.tsx
+++ b/control-ui/components/RecipesTab.tsx
@@ -2,7 +2,7 @@
import { useMemo, useState } from 'react'
import { useRouter } from 'next/navigation'
-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import { DataTable, TableStateRow, TableViewport, useTableSort } from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
import { DEFAULT_WORKFLOW_RECIPE_NAMESPACE } from '@constants/workflowRecipes'
import type { WorkflowRecipeResource } from '../lib/api'
@@ -131,7 +131,7 @@ export function RecipesTab({ items, loading, error, onInstall, onRefresh }: Prop
/>
{error ? <div className="cu-banner cu-banner--error cu-table-error">{error}</div> : null}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-installed-plugins-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -188,7 +188,7 @@ export function RecipesTab({ items, loading, error, onInstall, onRefresh }: Prop
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
)
}
diff --git a/control-ui/components/RegistryApiKeysPanel.tsx b/control-ui/components/RegistryApiKeysPanel.tsx
index 434155a66..e69792626 100644
--- a/control-ui/components/RegistryApiKeysPanel.tsx
+++ b/control-ui/components/RegistryApiKeysPanel.tsx
@@ -2,7 +2,7 @@
import { useCallback, useEffect, useMemo, useState } from 'react'
import Link from 'next/link'
-import { DataTable, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import { DataTable, TableStateRow, TableViewport, useTableSort } from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
import {
type CreateRegistryApiKeyInput,
@@ -264,7 +264,7 @@ export default function RegistryApiKeysPanel({
</p>
) : null}
{view.kind === 'loading' || view.kind === 'error' || view.kind === 'ready' ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -327,7 +327,7 @@ export default function RegistryApiKeysPanel({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : null}
</div>
</>
diff --git a/control-ui/components/RegistryCatalog.tsx b/control-ui/components/RegistryCatalog.tsx
index 11dc34077..13a4a6f19 100644
--- a/control-ui/components/RegistryCatalog.tsx
+++ b/control-ui/components/RegistryCatalog.tsx
@@ -3,7 +3,13 @@
import { Fragment, useEffect, useMemo, useState } from 'react'
import Link from 'next/link'
import { useRouter } from 'next/navigation'
-import { DataTable, TableRow, TableStateRow, TruncatedText } from '@clerum/frontend-components'
+import {
+ DataTable,
+ TableRow,
+ TableStateRow,
+ TableViewport,
+ TruncatedText,
+} from '@clerum/frontend-components'
import { FilterSelect } from '@components/FilterSelect'
import { MarketplaceTabs } from '@components/MarketplaceTabs'
import { type RowActionMenuItem, RowActionsMenu } from '@components/RowActionsMenu'
@@ -255,7 +261,7 @@ export default function RegistryCatalog() {
/>
<MarketplaceTabs active="connectors" />
{error ? <div className="cu-banner cu-banner--error">Error: {error}</div> : null}
- <div className="eft-table-viewport cu-table-wrap cu-marketplace-table-wrap">
+ <TableViewport className="cu-table-wrap cu-marketplace-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band cu-marketplace-table">
<thead>
<TableHeaderRow columns={columns} />
@@ -380,7 +386,7 @@ export default function RegistryCatalog() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
{removeTarget ? (
<div
diff --git a/control-ui/components/SecretsTable.tsx b/control-ui/components/SecretsTable.tsx
index 3c6d4d3dc..4f7455a06 100644
--- a/control-ui/components/SecretsTable.tsx
+++ b/control-ui/components/SecretsTable.tsx
@@ -6,6 +6,7 @@ import {
DataTable,
TableHeaderCell,
TableStateRow,
+ TableViewport,
useTableSort,
} from '@clerum/frontend-components'
import { CONTROL_ROUTES } from '@constants/routes'
@@ -529,7 +530,7 @@ export function SecretsTable({
)}
{scope === 'llm' ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -613,9 +614,9 @@ export function SecretsTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : scope === 'mcp' ? (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -693,9 +694,9 @@ export function SecretsTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
) : (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<tr>
@@ -843,7 +844,7 @@ export function SecretsTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)}
{scope === 'mcp' ? (
diff --git a/control-ui/components/TokenBudgetTable.tsx b/control-ui/components/TokenBudgetTable.tsx
index b5b70b117..12173248b 100644
--- a/control-ui/components/TokenBudgetTable.tsx
+++ b/control-ui/components/TokenBudgetTable.tsx
@@ -1,7 +1,13 @@
'use client'
import React, { useMemo, useState } from 'react'
-import { DataTable, TableRow, TableStateRow, useTableSort } from '@clerum/frontend-components'
+import {
+ DataTable,
+ TableRow,
+ TableStateRow,
+ TableViewport,
+ useTableSort,
+} from '@clerum/frontend-components'
import type { TokenBudget } from '@lib/api'
import {
budgetProgressPercent,
@@ -147,7 +153,7 @@ export function TokenBudgetTable({
/>
}
/>
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table cu-table--header-band">
<thead>
<TableHeaderRow columns={columns} />
@@ -176,7 +182,7 @@ export function TokenBudgetTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</div>
)
}
diff --git a/control-ui/components/UpdateConnectorCredentials/index.tsx b/control-ui/components/UpdateConnectorCredentials/index.tsx
index 781fdac88..ae2977efc 100644
--- a/control-ui/components/UpdateConnectorCredentials/index.tsx
+++ b/control-ui/components/UpdateConnectorCredentials/index.tsx
@@ -1,7 +1,7 @@
'use client'
import React, { useEffect, useRef, useState } from 'react'
-import { DataTable } from '@clerum/frontend-components'
+import { DataTable, TableViewport } from '@clerum/frontend-components'
import { useConfirmDialog } from '@components/ConfirmDialog'
import { useToast } from '@components/Toast'
import { Button, Field, FormSection, TextInput } from '@components/ui'
@@ -526,7 +526,7 @@ export function UpdateConnectorCredentials({
>
{confirmDialog}
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -547,7 +547,7 @@ export function UpdateConnectorCredentials({
))}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
{/* `noValidate`: the browser's own required-field bubble would fire
before handleSubmit and replace the aggregate message that actually
diff --git a/control-ui/components/UserApprovalMediumsTable.tsx b/control-ui/components/UserApprovalMediumsTable.tsx
index 4a178faa3..77cd71f98 100644
--- a/control-ui/components/UserApprovalMediumsTable.tsx
+++ b/control-ui/components/UserApprovalMediumsTable.tsx
@@ -1,7 +1,7 @@
'use client'
import React from 'react'
-import { DataTable, RowActionMenu } from '@clerum/frontend-components'
+import { DataTable, RowActionMenu, TableViewport } from '@clerum/frontend-components'
import type { WorkflowApprovalMediumAccount } from '../lib/workflowApprovalMediums'
function formatAccount(account: WorkflowApprovalMediumAccount): string {
@@ -27,7 +27,7 @@ export function UserApprovalMediumsTable({
onRevoke: (accountId: string) => void
}) {
return (
- <div className="eft-table-viewport cu-table-wrap">
+ <TableViewport className="cu-table-wrap">
<DataTable className="eft-table cu-table">
<thead>
<tr>
@@ -94,6 +94,6 @@ export function UserApprovalMediumsTable({
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)
}
diff --git a/control-ui/components/__tests__/FrontendComponents.test.tsx b/control-ui/components/__tests__/FrontendComponents.test.tsx
index caafe541b..0ac7d83e8 100644
--- a/control-ui/components/__tests__/FrontendComponents.test.tsx
+++ b/control-ui/components/__tests__/FrontendComponents.test.tsx
@@ -8,6 +8,7 @@ import {
TableHeaderCell,
TableRow,
TableStateRow,
+ TableViewport,
TruncatedText,
stableSortRows,
} from '@clerum/frontend-components'
@@ -20,6 +21,20 @@ function cssRule(css: string, selector: string) {
}
describe('shared frontend components', () => {
+ it('owns the canonical viewport class and preserves semantic modifiers', () => {
+ render(
+ <TableViewport aria-label="Embedded results" className="cu-table-wrap" embedded>
+ Results
+ </TableViewport>
+ )
+
+ expect(screen.getByLabelText('Embedded results')).toHaveClass(
+ 'eft-table-viewport',
+ 'eft-table-viewport--embedded',
+ 'cu-table-wrap'
+ )
+ })
+
it('exposes sortable header state and a keyboard sort control', () => {
const onSort = vi.fn()
render(
@@ -157,7 +172,7 @@ describe('shared frontend components', () => {
unmount()
render(
- <div className="eft-table-viewport">
+ <TableViewport>
<DataTable>
<thead>
<tr>
@@ -166,7 +181,7 @@ describe('shared frontend components', () => {
</tr>
</thead>
</DataTable>
- </div>
+ </TableViewport>
)
await waitFor(() => {
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 4c0e02818..380a77dea 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.547",
+ "version": "0.1.548",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.547",
+ "version": "0.1.548",
"dependencies": {
"@clerum/display-field": "file:../packages/display-field",
"@clerum/frontend-components": "file:../packages/frontend-components",
diff --git a/control-ui/package.json b/control-ui/package.json
index 5b38ca2d1..a3e1a4b32 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.547",
+ "version": "0.1.548",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",
diff --git a/profile-ui/app/members/[userId]/page.tsx b/profile-ui/app/members/[userId]/page.tsx
index a6451f5a5..77e542c7b 100644
--- a/profile-ui/app/members/[userId]/page.tsx
+++ b/profile-ui/app/members/[userId]/page.tsx
@@ -2,7 +2,7 @@
import { useEffect, useMemo, useState } from 'react'
import { useParams, useRouter } from 'next/navigation'
-import { DataTable, RowActionMenu } from '@clerum/frontend-components'
+import { DataTable, RowActionMenu, TableViewport } from '@clerum/frontend-components'
import { useAuth } from '@components/AuthContext'
import { AuthGate } from '@components/AuthGate'
import { Button } from '@components/Button'
@@ -221,7 +221,7 @@ export default function MemberDetailsPage() {
</p>
</div>
</div>
- <div className="eft-table-viewport">
+ <TableViewport>
<DataTable className="eft-table eft-table--wide">
<thead>
<tr>
@@ -302,7 +302,7 @@ export default function MemberDetailsPage() {
) : null}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
{editableTeams.length === 0 && !memberIsSelf ? (
<p className="body-copy">No editable teams are available for this member.</p>
) : null}
diff --git a/profile-ui/app/members/invite/page.tsx b/profile-ui/app/members/invite/page.tsx
index b7a1019ca..bd6f49622 100644
--- a/profile-ui/app/members/invite/page.tsx
+++ b/profile-ui/app/members/invite/page.tsx
@@ -2,7 +2,7 @@
import { useEffect, useMemo, useRef, useState } from 'react'
import { useRouter } from 'next/navigation'
-import { DataTable, RowActionMenu } from '@clerum/frontend-components'
+import { DataTable, RowActionMenu, TableViewport } from '@clerum/frontend-components'
import { AuthGate } from '@components/AuthGate'
import { Button } from '@components/Button'
import { CreateFlowPanel } from '@components/CreateFlowPanel'
@@ -273,7 +273,7 @@ function PermissionTable({
onRoleChange: (team: ManageableTeam, role: Role) => void
}) {
return (
- <div className="eft-table-viewport">
+ <TableViewport>
<DataTable className="eft-table eft-table--wide">
<thead>
<tr>
@@ -330,6 +330,6 @@ function PermissionTable({
})}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
)
}
diff --git a/profile-ui/app/members/page.tsx b/profile-ui/app/members/page.tsx
index 9b7ec885e..dceb0ac06 100644
--- a/profile-ui/app/members/page.tsx
+++ b/profile-ui/app/members/page.tsx
@@ -7,6 +7,7 @@ import {
RowActionMenu,
TableHeaderCell,
TableStateRow,
+ TableViewport,
useTableSort,
} from '@clerum/frontend-components'
import { useAuth } from '@components/AuthContext'
@@ -187,7 +188,7 @@ export default function MembersPage() {
<h2 className="section-title">Pending invitations</h2>
</div>
</div>
- <div className="eft-table-viewport">
+ <TableViewport>
<DataTable className="eft-table eft-table--wide">
<thead>
<tr>
@@ -251,12 +252,12 @@ export default function MembersPage() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</section>
) : null}
<section className="section members-section">
- <div className="eft-table-viewport">
+ <TableViewport>
<DataTable className="eft-table eft-table--wide">
<thead>
<tr>
@@ -347,7 +348,7 @@ export default function MembersPage() {
)}
</tbody>
</DataTable>
- </div>
+ </TableViewport>
</section>
{confirmDialog}
diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.json
index 29a9fe2a1..72f5ea807 100644
--- a/profile-ui/package-lock.json
+++ b/profile-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.134",
+ "version": "0.1.135",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-profile-ui",
- "version": "0.1.134",
+ "version": "0.1.135",
"dependencies": {
"@clerum/desktop-app-links": "file:../packages/desktop-app-links",
"@clerum/frontend-components": "file:../packages/frontend-components",
diff --git a/profile-ui/package.json b/profile-ui/package.json
index 8c8bb0ef6..4bfc8fcb3 100644
--- a/profile-ui/package.json
+++ b/profile-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.134",
+ "version": "0.1.135",
"private": true,
"scripts": {
"dev": "next dev",