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:
5
.changeset/feature-status-blocked.md
Normal file
5
.changeset/feature-status-blocked.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@fusion/dashboard": patch
|
||||
---
|
||||
|
||||
Add `blocked` to `FeatureStatus` so blocked features render with mission-blocked colors in the mission manager.
|
||||
@@ -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";
|
||||
|
||||
@@ -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 }> = {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user