feat(dashboard): add 'blocked' to FeatureStatus with mission-blocked colors

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-05-05 15:08:55 -07:00
parent 2e29d447ed
commit dc8863dbcb
4 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"@fusion/dashboard": patch
---
Add `blocked` to `FeatureStatus` so blocked features render with mission-blocked colors in the mission manager.

View File

@@ -5978,7 +5978,7 @@ export type MilestoneStatus = "planning" | "active" | "blocked" | "complete";
export type SliceStatus = "pending" | "active" | "complete";
/** Feature status values */
export type FeatureStatus = "defined" | "triaged" | "in-progress" | "done";
export type FeatureStatus = "defined" | "triaged" | "in-progress" | "done" | "blocked";
/** Autopilot state values for mission autonomous progression */
export type AutopilotState = "inactive" | "watching" | "activating" | "completing";

View File

@@ -141,6 +141,7 @@ const featureStatusColors: Record<FeatureStatus, { bg: string; text: string }> =
triaged: { bg: "var(--feature-triaged-bg)", text: "var(--feature-triaged-text)" },
"in-progress": { bg: "var(--feature-in-progress-bg)", text: "var(--feature-in-progress-text)" },
done: { bg: "var(--feature-done-bg)", text: "var(--feature-done-text)" },
blocked: { bg: "var(--mission-blocked-bg)", text: "var(--mission-blocked-text)" },
};
const autopilotStateColors: Record<AutopilotState, { bg: string; text: string }> = {

View File

@@ -10,7 +10,7 @@ export type MissionStatus = "planning" | "active" | "blocked" | "complete" | "ar
export type MilestoneStatus = "planning" | "active" | "blocked" | "complete";
export type SliceStatus = "pending" | "active" | "complete";
export type SlicePlanState = "not_started" | "planned" | "needs_update";
export type FeatureStatus = "defined" | "triaged" | "in-progress" | "done";
export type FeatureStatus = "defined" | "triaged" | "in-progress" | "done" | "blocked";
/** Loop state values for a feature's execution loop lifecycle */
export type FeatureLoopState = "idle" | "implementing" | "validating" | "needs_fix" | "passed" | "blocked";