diff options
| author | soryu <soryu@soryu.co> | 2026-02-22 15:23:24 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-22 15:26:46 +0000 |
| commit | 28f69e923cb7ee711b56fad07fb2d5b5220ce127 (patch) | |
| tree | 215dee64a2c70e26d76e5513fb789efaa4c2ee0b /makima/frontend/src/components/directives/DirectiveDetail.tsx | |
| parent | 6a34a6f3c423a7c57616762eb4cea2b7da52eaf3 (diff) | |
| download | soryu-28f69e923cb7ee711b56fad07fb2d5b5220ce127.tar.gz soryu-28f69e923cb7ee711b56fad07fb2d5b5220ce127.zip | |
fix: resolve frontend TypeScript build errors
- DirectiveDAG: fix layer rendering (afterSteps -> layer.steps with
StepNode), remove unused imports (StepNode re-added, BEFORE_TYPES
and OrchestratorStepNode removed)
- DirectiveDetail: remove dead virtualSteps code superseded by
specializedSteps
- useMultiTaskSubscription: remove duplicate backfilledTasksRef
declaration and dead backfillTask/convertTaskEventToEntry block
referencing non-existent TaskEvent and listTaskEvents
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'makima/frontend/src/components/directives/DirectiveDetail.tsx')
| -rw-r--r-- | makima/frontend/src/components/directives/DirectiveDetail.tsx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/makima/frontend/src/components/directives/DirectiveDetail.tsx b/makima/frontend/src/components/directives/DirectiveDetail.tsx index 171654d..8f39207 100644 --- a/makima/frontend/src/components/directives/DirectiveDetail.tsx +++ b/makima/frontend/src/components/directives/DirectiveDetail.tsx @@ -177,35 +177,6 @@ export function DirectiveDetail({ setEditingGoal(false); }; - // Build virtual steps for orchestrator tasks to display in the DAG - const virtualSteps = useMemo(() => { - const steps: VirtualStep[] = []; - if (directive.orchestratorTaskId) { - const hasOrchestratorQuestions = directiveQuestions.some( - (q) => q.taskId === directive.orchestratorTaskId - ); - steps.push({ - type: "planning", - taskId: directive.orchestratorTaskId, - status: "running", - label: "Planning", - hasQuestions: hasOrchestratorQuestions, - }); - } - if (directive.completionTaskId) { - const hasCompletionQuestions = directiveQuestions.some( - (q) => q.taskId === directive.completionTaskId - ); - steps.push({ - type: directive.prUrl ? "pr-update" : "pr", - taskId: directive.completionTaskId, - status: "running", - label: directive.prUrl ? "Updating PR" : "Creating PR", - hasQuestions: hasCompletionQuestions, - }); - } - return steps; - }, [directive.orchestratorTaskId, directive.completionTaskId, directive.prUrl, directiveQuestions]); return ( <div className="flex flex-col h-full overflow-y-auto"> |
