gsxdsm
|
b8f7f9e75c
|
FN-8701: standardize tool-call detail displays
Standardize expandable tool-call payloads across dashboard chat and log surfaces.
- Add a shared formatter and detail renderer that preserves complete browser-available arguments and results.
- Use compact previews with wrapped, scrollable expanded payloads in chat, activity, and agent logs.
- Cover formatting and rendering behavior with dashboard tests and document the display contract.
Files changed:
.changeset/fn-8701-tool-call-display.md | 7 ++
docs/dashboard-guide.md | 4 +-
.../dashboard/app/components/AgentLogViewer.tsx | 12 +++-
packages/dashboard/app/components/ChatView.css | 37 ++---------
.../app/components/StandardChatSurface.tsx | 56 +++++++---------
packages/dashboard/app/components/TaskChatTab.css | 17 -----
packages/dashboard/app/components/TaskChatTab.tsx | 31 +++++----
.../dashboard/app/components/ToolCallDetails.css | 52 +++++++++++++++
.../dashboard/app/components/ToolCallDetails.tsx | 77 ++++++++++++++++++++++
.../__tests__/AgentLogViewer.rendering.test.tsx | 8 +++
.../components/__tests__/ChatView.core.test.tsx | 24 +++++++
.../app/components/__tests__/TaskChatTab.test.tsx | 33 +++++++---
.../__tests__/TaskPlannerChatTab.test.tsx | 19 ++++++
13 files changed, 275 insertions(+), 102 deletions(-)
Fusion-Task-Id: FN-8701
Fusion-Task-Lineage: 86513f9a-31d4-45fb-97fe-1f0c73d0e5b3
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
|
2026-08-01 09:32:37 -07:00 |
|