fix(dashboard): widen Column onOpenDetailWithTab tab union to include "workflow"

App.tsx and TaskCard.tsx already type the handler's initialTab as
"changes" | "retries" | "workflow", but Column.tsx — the intermediary that
forwards the prop — still declared the narrower "changes" | "retries", so the
forward failed to typecheck (TS2322).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-06-13 16:16:34 -07:00
parent dd0ceec7dd
commit 9159b62b1b

View File

@@ -125,7 +125,7 @@ interface ColumnProps {
* Called when the user clicks the "Subtask" button in the inline create card.
*/
onSubtaskBreakdown?: (description: string) => void;
onOpenDetailWithTab?: (task: Task | TaskDetail, initialTab: "changes" | "retries") => void;
onOpenDetailWithTab?: (task: Task | TaskDetail, initialTab: "changes" | "retries" | "workflow") => void;
favoriteProviders?: string[];
favoriteModels?: string[];
onToggleFavorite?: (provider: string) => void;