mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
fix(panel): group Intake / Secretary / root PR Reviewer as Support, not Board
The Board is the three oversight roles — Product Owner, Head of Marketing, Auditor. Intake (Prompter), the Secretary, and the root PR Reviewer are CEO-direct helpers (per the org chart), but they carry team=board internally, so both agent groupings bucketed them under 'Board' — and on the agents page the helpers were even duplicated into both Board and On-Demand. They now render in a dedicated Support group in the journals list and the agents page; cell PR reviewers keep their cell's team and stay grouped under that cell. Board is now exactly PO/HoM/Auditor.
This commit is contained in:
@@ -17,7 +17,7 @@ import {
|
||||
getBackendAgents,
|
||||
getFrontendAgents,
|
||||
getUxAgents,
|
||||
getOnDemandAgents,
|
||||
getSupportAgents,
|
||||
} from "@/lib/agent-definitions";
|
||||
import {
|
||||
OrchestratorStatusCards,
|
||||
@@ -136,12 +136,12 @@ export default function AgentsPage() {
|
||||
columns={4}
|
||||
/>
|
||||
|
||||
{/* On-Demand section: Prompter/Intake and Secretary agents — only rendered
|
||||
when the API returns at least one matching agent */}
|
||||
{getOnDemandAgents(agents).length > 0 && (
|
||||
{/* Support section: the CEO-direct helpers — Intake/Prompter, Secretary,
|
||||
and the root PR Reviewer — only rendered when at least one matches */}
|
||||
{getSupportAgents(agents).length > 0 && (
|
||||
<AgentGrid
|
||||
title="On-Demand"
|
||||
agents={getOnDemandAgents(agents)}
|
||||
title="Support"
|
||||
agents={getSupportAgents(agents)}
|
||||
agentStatuses={agentStatuses}
|
||||
agentUsage={agentUsageMap}
|
||||
isLoading={(isLoading || agentsLoading) && !isOffline}
|
||||
|
||||
Reference in New Issue
Block a user