forked from cardosofelipe/pragma-stack
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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user