import React, { useState } from 'react'; import { Box, Typography, Chip, Button } from '@mui/material'; import { useAgentHuddleFeed } from '../hooks/useAgentHuddleFeed'; import CommitteeSummary from '../components/TeamActivity/CommitteeSummary'; import CommitteeAuditTable from '../components/TeamActivity/CommitteeAuditTable'; import AlertBanner from '../components/TeamActivity/AlertBanner'; import AgentStatusPanel from '../components/TeamActivity/AgentStatusPanel'; import ActivityLog from '../components/TeamActivity/ActivityLog'; import QualityAuditPanel from '../components/TeamActivity/QualityAuditPanel'; import TrendSignalsPanel from '../components/TeamActivity/TrendSignalsPanel'; import AgentHelpModal from '../components/TeamActivity/AgentHelpModal'; const TeamActivityPage: React.FC = () => { const { runs, events, alerts, approvals, connectionMode } = useAgentHuddleFeed(); const [auditMode, setAuditMode] = useState(false); return ( {/* Header */} Team Activity {auditMode ? ( ) : ( <> {/* 1. Alerts + Approvals need attention */} {/* 2. Committee decision brief */} {/* 3. Quality audit (ContentGuardianAgent) */} {/* 4. Trend signals (TrendSurferAgent) */} {/* 5. Agent health at a glance */} {/* 6. Raw activity feed (collapsed by default) */} )} ); }; export default TeamActivityPage;