fix(15-02): remove Plan layer from UI hierarchy

Simplified to Initiative → Phase → Task (no intermediate Plan layer).
Removed PlanTree component, tasks now directly under PhaseAccordion.
This commit is contained in:
Lukas May
2026-02-02 15:48:52 +01:00
parent 05b7b717f8
commit 1156933a8e
2 changed files with 46 additions and 73 deletions

View File

@@ -5,7 +5,7 @@
## Tasks Completed
1. **Create initiative detail wireframe with hierarchical breakdown**
- Created ASCII wireframe showing phase → plan → task hierarchy
- Created ASCII wireframe showing phase → task hierarchy (simplified from phase → plan → task)
- Added status indicators (DONE, IN PROGRESS, PENDING, BLOCKED)
- Included agent assignments inline with tasks `[gastown]`
- Visualized dependencies with `^` indicators and blocked-by annotations
@@ -16,7 +16,7 @@
| File | Description |
|------|-------------|
| `docs/wireframes/initiative-detail.md` | Initiative detail screen wireframe (299 lines) |
| `docs/wireframes/initiative-detail.md` | Initiative detail screen wireframe |
## Wireframe Contents
@@ -28,12 +28,11 @@
- Agent Spawn Dialog for starting new agents
### Component Specifications
- **PhaseAccordion**: Expandable phase container with status badge
- **PlanTree**: Nested task list with tree connectors
- **PhaseAccordion**: Expandable phase container with tasks (no intermediate Plan layer)
- **TaskRow**: Task with inline status and agent assignment
- **DependencyIndicator**: Shows blocking dependencies with `^` symbol
- **DecisionList**: Collapsible key decisions panel
- **ProgressPanel**: Overall progress metrics (phases/plans/tasks)
- **ProgressPanel**: Overall progress metrics (phases/tasks)
### Interaction Notes
- Click phase header → expand/collapse
@@ -42,7 +41,7 @@
- "Spawn Agent" button on pending tasks
- "Queue Phase" / "Queue All" buttons for batch dispatch
## Commit
## Commits
```
c1386ed docs(15-02): create initiative detail wireframe with hierarchical breakdown
@@ -58,10 +57,6 @@ c1386ed docs(15-02): create initiative detail wireframe with hierarchical breakd
## Deviations
None. Plan executed as specified with additional enhancements:
- Added expanded views for tasks with agents and blocked tasks
- Added TaskDetailModal wireframe
- Added Agent Spawn Dialog wireframe
- Added ProgressPanel component specification
- Added status color mapping
- Added responsive considerations
- Removed Plan layer from hierarchy (Initiative → Phase → Task, not Initiative → Phase → Plan → Task)
- Removed PlanTree component (tasks now directly under PhaseAccordion)
- Progress panel simplified to phases/tasks counts (no plans)