diff --git a/frontend/src/app/agents/page.tsx b/frontend/src/app/agents/page.tsx index 21249f9c..f3229e45 100644 --- a/frontend/src/app/agents/page.tsx +++ b/frontend/src/app/agents/page.tsx @@ -299,13 +299,13 @@ export default function AgentsPage() { > View Edit @@ -336,142 +336,146 @@ export default function AgentsPage() { return ( -
-

Sign in to view agents.

- - - +
+
+

Sign in to view agents.

+ + + +
-
-
-
-

Agents

-

- {agents.length} agent{agents.length === 1 ? "" : "s"} total. -

-
-
- - -
-
- - {error ? ( -
- {error} -
- ) : null} - - {agents.length === 0 && !isLoading ? ( -
- No agents yet. Create your first agent to get started. -
- ) : ( -
-
- - - {table.getHeaderGroups().map((headerGroup) => ( - - {headerGroup.headers.map((header) => ( - - ))} - - ))} - - - {table.getRowModel().rows.map((row) => ( - router.push(`/agents/${row.original.id}`)} - > - {row.getVisibleCells().map((cell) => ( - - ))} - - ))} - -
- {header.isPlaceholder - ? null - : flexRender( - header.column.columnDef.header, - header.getContext() - )} -
- {flexRender( - cell.column.columnDef.cell, - cell.getContext() - )} -
-
-
- )} - -
-
+
+
+
-

- Gateway status -

-

- {gatewayStatus?.gateway_url ?? "Gateway URL not set"} +

+ Agents +

+

+ {agents.length} agent{agents.length === 1 ? "" : "s"} total.

-
- - - - {gatewayStatus?.sessions_count ?? 0} sessions - + Refresh + +
- {gatewayStatus?.error ? ( -

- {gatewayStatus.error} -

- ) : null} - {gatewayError ? ( -

- {gatewayError} -

- ) : null}
-
+ +
+ {error ? ( +
+ {error} +
+ ) : null} + + {agents.length === 0 && !isLoading ? ( +
+ No agents yet. Create your first agent to get started. +
+ ) : ( +
+
+ + + {table.getHeaderGroups().map((headerGroup) => ( + + {headerGroup.headers.map((header) => ( + + ))} + + ))} + + + {table.getRowModel().rows.map((row) => ( + router.push(`/agents/${row.original.id}`)} + > + {row.getVisibleCells().map((cell) => ( + + ))} + + ))} + +
+ {header.isPlaceholder + ? null + : flexRender( + header.column.columnDef.header, + header.getContext() + )} +
+ {flexRender( + cell.column.columnDef.cell, + cell.getContext() + )} +
+
+
+ )} + +
+
+
+

+ Gateway status +

+

+ {gatewayStatus?.gateway_url ?? "Gateway URL not set"} +

+
+
+ + + + {gatewayStatus?.sessions_count ?? 0} sessions + +
+
+ {gatewayStatus?.error ? ( +

{gatewayStatus.error}

+ ) : null} + {gatewayError ? ( +

{gatewayError}

+ ) : null} +
+
+ Open Edit @@ -155,87 +155,95 @@ export default function BoardsPage() { return ( -
-

Sign in to view boards.

- - - +
+
+

Sign in to view boards.

+ + + +
-
-
-
-

Boards

-

- {sortedBoards.length} board - {sortedBoards.length === 1 ? "" : "s"} total. -

+
+
+
+
+

+ Boards +

+

+ {sortedBoards.length} board + {sortedBoards.length === 1 ? "" : "s"} total. +

+
+
-
- {error && ( -
- {error} -
- )} +
+ {error && ( +
+ {error} +
+ )} - {sortedBoards.length === 0 && !isLoading ? ( -
- No boards yet. Create your first board to get started. -
- ) : ( -
- - - {table.getHeaderGroups().map((headerGroup) => ( - - {headerGroup.headers.map((header) => ( - - ))} - - ))} - - - {table.getRowModel().rows.map((row) => ( - router.push(`/boards/${row.original.id}`)} - > - {row.getVisibleCells().map((cell) => ( - - ))} - - ))} - -
- {header.isPlaceholder - ? null - : flexRender( - header.column.columnDef.header, - header.getContext() - )} -
- {flexRender( - cell.column.columnDef.cell, - cell.getContext() - )} -
-
- )} -
+ {sortedBoards.length === 0 && !isLoading ? ( +
+ No boards yet. Create your first board to get started. +
+ ) : ( +
+ + + {table.getHeaderGroups().map((headerGroup) => ( + + {headerGroup.headers.map((header) => ( + + ))} + + ))} + + + {table.getRowModel().rows.map((row) => ( + router.push(`/boards/${row.original.id}`)} + > + {row.getVisibleCells().map((cell) => ( + + ))} + + ))} + +
+ {header.isPlaceholder + ? null + : flexRender( + header.column.columnDef.header, + header.getContext() + )} +
+ {flexRender( + cell.column.columnDef.cell, + cell.getContext() + )} +
+
+ )} +
+ +

{label}