Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(control-ui): stabilize context and channel columns
Josué2a79b7ce4df3
diff --git a/control-ui/app/globals.css b/control-ui/app/globals.cssindex 3f8dec945..1ff1cf6bb 100644--- a/control-ui/app/globals.css+++ b/control-ui/app/globals.css@@ -2019,58 +2019,55 @@ textarea.cu-input {margin-bottom: var(--cu-space-5);}+.cu-context-table {+ min-width: 52rem;+ table-layout: fixed;+}++.cu-external-channels-table {+ min-width: 48rem;+ table-layout: fixed;+}+.cu-connectors-table-wrap,.cu-marketplace-table-wrap {container-type: inline-size;}.cu-connectors-table {- min-width: 88rem;+ min-width: 62rem;+ table-layout: fixed;}.cu-connectors-table th:nth-child(1),.cu-connectors-table td:nth-child(1) {- width: 12rem;+ width: 16rem;}.cu-connectors-table th:nth-child(2),.cu-connectors-table td:nth-child(2) {- width: 18rem;- max-width: 18rem;+ width: auto;+ max-width: none;}.cu-connectors-table th:nth-child(3),.cu-connectors-table td:nth-child(3) {- width: 7rem;+ width: 6rem;}.cu-connectors-table th:nth-child(4),.cu-connectors-table td:nth-child(4) {- width: 15rem;+ width: 6rem;}.cu-connectors-table th:nth-child(5),.cu-connectors-table td:nth-child(5) {- width: 15rem;+ width: 7rem;}.cu-connectors-table th:nth-child(6),.cu-connectors-table td:nth-child(6) {- width: 10rem;-}--.cu-connectors-table th:nth-child(7),-.cu-connectors-table td:nth-child(7),-.cu-connectors-table th:nth-child(8),-.cu-connectors-table td:nth-child(8),-.cu-connectors-table th:nth-child(9),-.cu-connectors-table td:nth-child(9) {- width: 7rem;-}--.cu-connectors-table th:nth-child(10),-.cu-connectors-table td:nth-child(10) {- width: 4rem;+ width: 3.5rem;text-align: right;}@@ -2542,59 +2539,41 @@ textarea.cu-input {padding-inline: 0.75rem;}-.cu-registry-toolbar .cu-btn--primary {- margin-left: auto;-}-.cu-registry-name {font-weight: 600;color: var(--cu-text);}.cu-marketplace-table {- min-width: 74rem;+ min-width: 54rem;+ table-layout: fixed;}.cu-marketplace-table th:nth-child(1),.cu-marketplace-table td:nth-child(1) {- width: 14rem;+ width: 18rem;}.cu-marketplace-table th:nth-child(2),.cu-marketplace-table td:nth-child(2) {- width: 18rem;- max-width: 18rem;+ width: auto;+ max-width: none;}.cu-marketplace-table th:nth-child(3),.cu-marketplace-table td:nth-child(3) {- width: 8rem;+ width: 9rem;}.cu-marketplace-table th:nth-child(4),.cu-marketplace-table td:nth-child(4) {- width: 12rem;-}--.cu-marketplace-table th:nth-child(5),-.cu-marketplace-table td:nth-child(5) {- width: 7rem;-}--.cu-marketplace-table th:nth-child(6),-.cu-marketplace-table td:nth-child(6) {- width: 9rem;-}--.cu-marketplace-table th:nth-child(7),-.cu-marketplace-table td:nth-child(7) {- width: 7rem;+ width: 3.5rem;+ text-align: right;}-.cu-marketplace-table th:nth-child(8),-.cu-marketplace-table td:nth-child(8) {- width: 4rem;- text-align: right;+.cu-plugin-sdk-grants-table {+ min-width: 72rem;+ table-layout: fixed;}.cu-marketplace-detail__overview {@@ -9415,7 +9394,10 @@ textarea.cu-input {}.cu-table__cell-actions {+ max-width: 3.5rem;+ min-width: 3rem;text-align: right;+ width: 3.5rem;}.cu-host-lifecycle {diff --git a/control-ui/components/CommunicationChannelsTable.tsx b/control-ui/components/CommunicationChannelsTable.tsxindex 19a2642d4..df185da69 100644--- a/control-ui/components/CommunicationChannelsTable.tsx+++ b/control-ui/components/CommunicationChannelsTable.tsx@@ -29,10 +29,10 @@ function summary(item: CommunicationChannelItem): string {}const COMMUNICATION_CHANNEL_COLUMNS: TableHeaderColumn[] = [- { key: 'name', label: 'Name' },- { key: 'agent', label: 'Agent', width: '18%' },- { key: 'type', label: 'Type', width: '18%' },- { key: 'actions', width: '7rem', align: 'right', ariaLabel: 'Actions' },+ { key: 'name', label: 'Name', width: '50%' },+ { key: 'agent', label: 'Agent', width: '22%' },+ { key: 'type', label: 'Type', width: '16%' },+ { key: 'actions', width: '3.5rem', align: 'right', ariaLabel: 'Actions' },]function hasConversationEntries(@@ -237,7 +237,7 @@ export function CommunicationChannelsTable({</div>) : null}<div className="eft-table-viewport cu-table-wrap">- <DataTable className="eft-table cu-table cu-table--header-band">+ <DataTable className="eft-table cu-table cu-table--header-band cu-external-channels-table"><thead><TableHeaderRow columns={columns} /></thead>@@ -268,11 +268,13 @@ export function CommunicationChannelsTable({key={key}onNavigate={onOpenChannel ? () => onOpenChannel(name) : undefined}>- <td className="cu-channel-table__name">{name}</td><td>- <span className="cu-table__cell-muted">{spec.hostRef || '-'}</span>+ <span className="cu-channel-table__name">{name}</span></td><td>+ <span className="cu-table__cell-muted">{spec.hostRef || '-'}</span>+ </td>+ <td className="cu-table__cell-actions">{providerTypes.map(communicationChannelProviderLabel).join(', ') || '-'}</td><td>diff --git a/control-ui/components/ContextTable.tsx b/control-ui/components/ContextTable.tsxindex b4b21d38e..7e6c383bb 100644--- a/control-ui/components/ContextTable.tsx+++ b/control-ui/components/ContextTable.tsx@@ -20,7 +20,7 @@ import { IconRefresh } from './icons'type ContextRef = { name: string }const CONTEXT_COLUMNS: TableHeaderColumn[] = [- { key: 'name', label: 'Name' },+ { key: 'name', label: 'Name', width: '28%' },{ key: 'description', label: 'Description', minWidth: '20rem' },{ key: 'servers', label: 'Connectors', width: '7rem' },{ key: 'actions', label: 'Actions', width: '8rem', align: 'right' },@@ -145,7 +145,7 @@ export function ContextTable({}/><div className="eft-table-viewport cu-table-wrap">- <DataTable className="eft-table cu-table cu-table--header-band">+ <DataTable className="eft-table cu-table cu-table--header-band cu-context-table"><thead><TableHeaderRow columns={contextColumns} /></thead>@@ -171,7 +171,6 @@ export function ContextTable({><td><span className="cu-table__cell-name">{displayName}</span>- <span className="cu-table__cell-subtle">{name}</span></td><td className="cu-registry-description"><TruncatedText value={item.spec?.description} />diff --git a/control-ui/package-lock.json b/control-ui/package-lock.jsonindex 9c28620fd..cbdf735cf 100644--- a/control-ui/package-lock.json+++ b/control-ui/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-ui",- "version": "0.1.524",+ "version": "0.1.526","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-ui",- "version": "0.1.524",+ "version": "0.1.526","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.jsonindex 64bae8d4b..741b106cb 100644--- a/control-ui/package.json+++ b/control-ui/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-ui",- "version": "0.1.524",+ "version": "0.1.526","private": true,"scripts": {"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",