From d22d0e6f59b258db47462d511978d4cf06117d3d Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Wed, 14 Jan 2026 09:54:50 +1000 Subject: [PATCH] style: format agent page and api keys page --- .../src/app/dashboard/agents/[id]/page.tsx | 26 ++++++++++++------- .../settings/tpmjs-api-keys/page.tsx | 5 ++-- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/apps/web/src/app/dashboard/agents/[id]/page.tsx b/apps/web/src/app/dashboard/agents/[id]/page.tsx index ce641c8..d4f50af 100644 --- a/apps/web/src/app/dashboard/agents/[id]/page.tsx +++ b/apps/web/src/app/dashboard/agents/[id]/page.tsx @@ -759,7 +759,11 @@ export default function AgentDetailPage(): React.ReactElement { { id: 'tools' as const, label: 'Tools', count: agentTools.length }, { id: 'collections' as const, label: 'Collections', count: agentCollections.length }, { id: 'api' as const, label: 'API' }, - { id: 'env-vars' as const, label: 'Env Vars', count: envVarsCount > 0 ? envVarsCount : undefined }, + { + id: 'env-vars' as const, + label: 'Env Vars', + count: envVarsCount > 0 ? envVarsCount : undefined, + }, { id: 'settings' as const, label: 'Settings' }, ]; @@ -783,16 +787,13 @@ export default function AgentDetailPage(): React.ReactElement { {agent.isPublic ? 'Public' : 'Private'} - {executorConfig?.type === 'custom_url' && Custom Executor} + {executorConfig?.type === 'custom_url' && ( + Custom Executor + )} {/* Tabs */} - + {/* Tools Tab */} {activeTab === 'tools' && ( @@ -948,7 +949,9 @@ export default function AgentDetailPage(): React.ReactElement { className="w-full px-3 py-2 text-left hover:bg-surface-secondary transition-colors first:rounded-t-lg last:rounded-b-lg" >

{collection.name}

-

{collection.toolCount} tools

+

+ {collection.toolCount} tools +

)) ) : !isSearchingCollections ? ( @@ -1110,7 +1113,10 @@ export default function AgentDetailPage(): React.ReactElement {
-