diff --git a/frontend/src/components/dashboard/ActiveFlowPilotSessions.tsx b/frontend/src/components/dashboard/ActiveFlowPilotSessions.tsx index cc534ac1..41093810 100644 --- a/frontend/src/components/dashboard/ActiveFlowPilotSessions.tsx +++ b/frontend/src/components/dashboard/ActiveFlowPilotSessions.tsx @@ -27,22 +27,7 @@ export function ActiveFlowPilotSessions({ hideHeader = false }: { hideHeader?: b .finally(() => setLoading(false)) }, []) - if (loading) { - return ( -
- {!hideHeader && ( -
-

Active Sessions

-
- )} -
- {Array.from({ length: 3 }).map((_, i) => ( -
- ))} -
-
- ) - } + if (loading || sessions.length === 0) return null return (
@@ -68,13 +53,7 @@ export function ActiveFlowPilotSessions({ hideHeader = false }: { hideHeader?: b
)} - {sessions.length === 0 ? ( -
-

No active sessions

-

Start typing above to begin troubleshooting

-
- ) : ( -
+
{sessions.map((session) => (
- )}
) } diff --git a/frontend/src/pages/QuickStartPage.tsx b/frontend/src/pages/QuickStartPage.tsx index f19f0813..dd07ed94 100644 --- a/frontend/src/pages/QuickStartPage.tsx +++ b/frontend/src/pages/QuickStartPage.tsx @@ -6,7 +6,6 @@ import { ActiveFlowPilotSessions } from '@/components/dashboard/ActiveFlowPilotS import { PerformanceCards } from '@/components/dashboard/PerformanceCards' import { KnowledgeBaseCards } from '@/components/dashboard/KnowledgeBaseCards' import { TeamSummary } from '@/components/dashboard/TeamSummary' -import { RecentFlowPilotSessions } from '@/components/dashboard/RecentFlowPilotSessions' import { GreetingStatStrip } from '@/components/dashboard/GreetingStatStrip' function SectionLabel({ children, action }: { children: React.ReactNode; action?: React.ReactNode }) { @@ -60,20 +59,9 @@ export function QuickStartPage() {
- {/* Active Sessions */} + {/* Active Sessions (auto-hides if none) */}
- Active Sessions -
- -
-
- - {/* Recent Sessions */} -
- Recent Sessions -
- -
+
{/* Dashboard — always visible */}