-
-
+
);
}
return (
-
-
-
-
- {/* Sidebar */}
-
- {/* Agent Info */}
-
-
-
-
-
-
-
{agent.name}
-
- {PROVIDER_DISPLAY_NAMES[agent.provider]}
-
-
-
-
-
- {/* New Conversation Button */}
-
-
-
-
+
+
+ New Chat
+
+ }
+ >
+
+ {/* Conversations Sidebar */}
+
{/* Conversations List */}
- {conversations.map((conv) => (
-
- ))}
+ {conversations.length === 0 ? (
+
+ No conversations yet
+
+ ) : (
+ conversations.map((conv) => (
+
+ ))
+ )}
@@ -647,6 +641,6 @@ export default function AgentChatPage(): React.ReactElement {
-
+
);
}
diff --git a/apps/web/src/components/dashboard/DashboardLayout.tsx b/apps/web/src/components/dashboard/DashboardLayout.tsx
index 8adde59..988aec5 100644
--- a/apps/web/src/components/dashboard/DashboardLayout.tsx
+++ b/apps/web/src/components/dashboard/DashboardLayout.tsx
@@ -34,6 +34,8 @@ interface DashboardLayoutProps {
showBackButton?: boolean;
/** Custom back URL (defaults to parent route) */
backUrl?: string;
+ /** Whether to use full height layout (for chat interfaces) - removes padding and fills viewport */
+ fullHeight?: boolean;
}
export function DashboardLayout({
@@ -43,6 +45,7 @@ export function DashboardLayout({
actions,
showBackButton,
backUrl,
+ fullHeight,
}: DashboardLayoutProps): React.ReactElement {
const pathname = usePathname();
const router = useRouter();
@@ -158,9 +161,13 @@ export function DashboardLayout({
{/* Main content */}
-
+
{/* Content header */}
-
+
@@ -198,7 +205,7 @@ export function DashboardLayout({
{/* Page content */}
-
{children}
+
{children}