Reuse the existing question-response modal UI inside task-detail planner Chat clarification flows. - Render planner fn_ask_question tool calls with ChatQuestionResponse, including answered read-only and duplicate-pending states. - Preserve steering-tool confirmations while sending submitted clarification answers back through planner Chat. - Extend parser and modal tests for multi-question payloads, submitted answers, duplicate prompts, and empty dependency labels. - Add a patch changeset for the published Fusion package. Files changed: .changeset/fn-7314-planner-question-ui.md | 7 ++ .../app/components/TaskPlannerChatTab.css | 9 +++ .../app/components/TaskPlannerChatTab.tsx | 76 ++++++++++++++++-- ...etailModal.responsive-and-dependencies.test.tsx | 3 + .../__tests__/TaskPlannerChatTab.test.tsx | 89 ++++++++++++++++++---- .../utils/__tests__/parseQuestionToolCall.test.ts | 10 ++- .../dashboard/app/utils/parseQuestionToolCall.ts | 6 +- 7 files changed, 176 insertions(+), 24 deletions(-) Fusion-Task-Id: FN-7314 Fusion-Task-Lineage: bd5da323-0ba1-4094-a965-cc2801a1c9b7 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
8.3 KiB
8.3 KiB