From cdcdc326794fc85f892af393cc4c0d6e4e537557 Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Fri, 17 Jul 2026 13:15:58 -0700 Subject: [PATCH] FN-8232: keep task attachment picker available across tabs Keep the task-detail attachment picker functional outside the Definition tab. - Mount the shared hidden file input outside tab-specific content. - Cover attachment picker access from the Activity tab. - Add a patch changeset for the task-detail fix. Files changed: .../fn-8232-task-detail-attachment-picker.md | 7 +++++++ .../dashboard/app/components/TaskDetailModal.tsx | 20 ++++++++++++------- ...lModal.inline-editing-and-integrations.test.tsx | 23 ++++++++++++++++++++++ 3 files changed, 43 insertions(+), 7 deletions(-) Fusion-Task-Id: FN-8232 Fusion-Task-Lineage: a425a373-f15c-4e7f-a50e-e2eba592d2c9 Co-authored-by: Fusion (runfusion.ai) --- .../fn-8232-task-detail-attachment-picker.md | 7 ++++++ .../app/components/TaskDetailModal.tsx | 20 ++++++++++------ ...l.inline-editing-and-integrations.test.tsx | 23 +++++++++++++++++++ 3 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 .changeset/fn-8232-task-detail-attachment-picker.md diff --git a/.changeset/fn-8232-task-detail-attachment-picker.md b/.changeset/fn-8232-task-detail-attachment-picker.md new file mode 100644 index 0000000000..477ec8bd1b --- /dev/null +++ b/.changeset/fn-8232-task-detail-attachment-picker.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": patch +--- + +summary: Fix the task-detail attach-file icon when the Definition tab is not open. +category: fix +dev: Keeps the shared fileInputRef input mounted outside tab-specific content. diff --git a/packages/dashboard/app/components/TaskDetailModal.tsx b/packages/dashboard/app/components/TaskDetailModal.tsx index cb237c81e8..f035b5f954 100644 --- a/packages/dashboard/app/components/TaskDetailModal.tsx +++ b/packages/dashboard/app/components/TaskDetailModal.tsx @@ -4490,6 +4490,19 @@ export function TaskDetailContent({