diff --git a/.changeset/fn-6532-chat-first-task-detail.md b/.changeset/fn-6532-chat-first-task-detail.md new file mode 100644 index 0000000000..b74868f798 --- /dev/null +++ b/.changeset/fn-6532-chat-first-task-detail.md @@ -0,0 +1,5 @@ +--- +"@runfusion/fusion": patch +--- + +Make Chat the first tab and default active view in the task detail modal while preserving explicit initial tab requests. diff --git a/packages/dashboard/app/components/TaskDetailModal.tsx b/packages/dashboard/app/components/TaskDetailModal.tsx index 9198613c74..a3a402372b 100644 --- a/packages/dashboard/app/components/TaskDetailModal.tsx +++ b/packages/dashboard/app/components/TaskDetailModal.tsx @@ -375,7 +375,7 @@ export interface TaskDetailModalProps { prAuthAvailable?: boolean; autoMergeEnabled?: boolean; onOpenWorkflowEditor?: () => void; - /** Open the modal with this tab active instead of "definition" */ + /** Open the modal with this tab active instead of the default Chat view. */ initialTab?: TabId; /** Mobile-only header affordance mode. */ mobileHeaderMode?: "close" | "back"; @@ -555,7 +555,11 @@ export function TaskDetailContent({ prAuthAvailable, autoMergeEnabled: autoMergeEnabledProp, onOpenWorkflowEditor, - initialTab = "definition", + /** + * FNXC:TaskDetailTabs 2026-06-17-00:00: + * FN-6532 makes Chat the default task-detail view when no caller supplies an explicit initial tab. + */ + initialTab = "chat", mobileHeaderMode = "close", embedded = false, onRequestClose, @@ -3063,18 +3067,22 @@ export function TaskDetailContent({ {!isEditing && ( <>
- + {/* + FNXC:TaskDetailTabs 2026-06-17-00:00: + FN-6532 requires Chat to be the first task-detail tab while preserving every explicit tab entrypoint. + */} +