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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user