gsxdsm
a4537167ab
FN-6501: render chat question response controls
Render structured assistant question prompts directly in chat surfaces.
- Add parser and formatter support for question tool calls.
- Add reusable question response UI for select, multi-select, text, and confirm prompts.
- Wire regular chat and quick chat to show live and answered question states.
- Cover parsing and chat response behavior with dashboard tests and localized labels.
Files changed:
.changeset/fn-6501-chat-question-response.md | 5 +
docs/dashboard-guide.md | 2 +
.../app/components/ChatQuestionResponse.css | 194 ++++++++++++++++
.../app/components/ChatQuestionResponse.tsx | 247 +++++++++++++++++++++
packages/dashboard/app/components/ChatView.tsx | 85 ++++++-
packages/dashboard/app/components/QuickChatFAB.tsx | 84 ++++++-
.../__tests__/ChatQuestionResponse.test.tsx | 52 +++++
.../app/components/__tests__/ChatView.test.tsx | 51 +++++
.../app/components/__tests__/QuickChatFAB.test.tsx | 64 ++++++
.../utils/__tests__/parseQuestionToolCall.test.ts | 82 +++++++
.../dashboard/app/utils/parseQuestionToolCall.ts | 240 ++++++++++++++++++++
packages/i18n/locales/en/app.json | 10 +
12 files changed, 1105 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-6501
Fusion-Task-Lineage: 1fd4a3aa-b2d7-4157-a196-852fdeda680d
2026-06-16 20:13:13 -07:00
..
2026-06-16 20:13:13 -07:00
2026-05-13 10:00:00 -07:00
2026-05-04 21:21:22 -07:00
2026-04-30 22:55:48 -07:00
2026-06-12 10:00:08 -07:00
2026-05-14 02:23:45 -07:00
2026-05-18 03:10:52 -07:00
2026-05-21 08:43:57 -07:00
2026-05-22 17:24:38 -07:00
2026-05-12 21:55:43 -07:00
2026-06-14 13:50:17 -07:00
2026-04-08 16:14:32 -07:00
2026-04-23 00:06:03 -07:00
2026-04-02 09:58:04 -07:00
2026-06-14 14:27:45 -07:00
2026-06-12 19:22:11 -07:00
2026-04-23 23:02:36 -07:00
2026-04-03 18:33:23 -07:00
2026-05-08 18:44:16 -07:00
2026-06-16 20:13:13 -07:00
2026-04-29 07:10:52 -07:00
2026-04-08 14:38:36 -07:00
2026-06-02 14:14:24 -07:00
2026-06-09 16:02:08 -07:00
2026-05-21 08:43:57 -07:00
2026-05-20 20:27:11 -07:00
2026-05-07 18:35:45 -07:00
2026-05-14 18:35:30 -07:00
2026-05-20 20:27:11 -07:00
2026-05-14 05:55:16 -07:00
2026-05-19 18:56:24 -07:00
2026-06-14 13:50:17 -07:00
2026-05-14 05:35:12 -07:00
2026-05-13 06:29:35 -07:00
2026-04-12 07:00:49 -07:00
2026-05-15 07:50:34 -07:00
2026-04-28 22:43:51 -07:00
2026-05-29 20:05:14 -07:00
2026-04-29 07:10:52 -07:00