fix: address agent status display (#4533)

This commit is contained in:
Jinjing 2026-06-02 20:45:11 -07:00 committed by GitHub
parent 256ae1ef0b
commit fef6e042f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -421,6 +421,8 @@ describe('WorktreeCardAgents', () => {
expect(markup).toContain('aria-expanded="false"')
expect(markup).toContain('-space-x-0.5')
expect(markup).toContain('inline-flex size-4 items-center justify-center')
expect(markup).toContain('width="13"')
expect(markup).toContain('3 agents: 1 waiting, 1 working, 1 done')
expect(markup).toContain('Expand 3 agents: 1 waiting, 1 working, 1 done')
expect(markup).not.toContain('title="Codex waiting"')

View File

@ -205,9 +205,9 @@ export function CompactAgentSummaryButton({
{iconAgents.map((agent) => (
<span
key={agent.paneKey}
className="inline-flex size-3.5 items-center justify-center rounded-full border border-sidebar-border/70 bg-sidebar"
className="inline-flex size-4 items-center justify-center rounded-full border border-sidebar-border/70 bg-sidebar"
>
<AgentIcon agent={agentTypeToIconAgent(agent.agentType)} size={10} />
<AgentIcon agent={agentTypeToIconAgent(agent.agentType)} size={13} />
</span>
))}
</span>