fix(frontend): align project types with backend enums

- Fix ProjectStatus: use 'active' instead of 'in_progress'
- Fix AgentStatus: remove 'active'/'pending'/'error', add 'waiting'
- Fix SprintStatus: add 'in_review'
- Rename IssueSummary to IssueCountSummary
- Update all components to use correct enum values

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-31 12:48:02 +01:00
parent 5fab15a11e
commit 35af7daf90
7 changed files with 43 additions and 43 deletions

View File

@@ -126,7 +126,7 @@ function AgentListItem({
<DropdownMenuItem onClick={() => onAction(agent.id, 'view')}>
View Details
</DropdownMenuItem>
{agent.status === 'active' || agent.status === 'working' ? (
{agent.status === 'working' || agent.status === 'waiting' ? (
<DropdownMenuItem onClick={() => onAction(agent.id, 'pause')}>
Pause Agent
</DropdownMenuItem>
@@ -196,7 +196,7 @@ export function AgentPanel({
}
const activeAgentCount = agents.filter(
(a) => a.status === 'active' || a.status === 'working'
(a) => a.status === 'working' || a.status === 'waiting'
).length;
return (