Fusion Agent
1e805ee872
FN-177: fix empty thinking trace sections
Make chat and transcript thinking traces readable when providers emit headings without body content.
- Inline body-less headings instead of rendering empty accordion sections.
- Add raw trace and section controls with localized labels across chat surfaces.
- Update styling, documentation, locale resources, and regression coverage.
Files changed:
.changeset/fn-177-thinking-trace-empty-sections.md | 7 ++
docs/dashboard-guide.md | 2 +-
.../app/components/StandardChatSurface.tsx | 2 +-
packages/dashboard/app/components/TaskChatTab.tsx | 2 +-
.../dashboard/app/components/ThinkingTrace.css | 5 +-
.../dashboard/app/components/ThinkingTrace.tsx | 74 ++++++++---
.../app/components/WorkflowResultsTab.tsx | 2 +-
.../MilestoneSliceInterviewModal.test.tsx | 22 +++
.../__tests__/MissionInterviewModal.test.tsx | 14 ++
.../PlanningModeModal.planning-flow.test.tsx | 26 +++
.../app/components/__tests__/TaskChatTab.test.tsx | 19 +++
.../__tests__/ThinkingTrace.host-inventory.test.ts | 42 +++++
.../__tests__/ThinkingTrace.surfaces.test.tsx | 96 +++++++++++++-
.../components/__tests__/ThinkingTrace.test.tsx | 136 ++++++++++++++-------
.../components/__tests__/WorkflowResultsTab.test.tsx | 9 ++
packages/dashboard/app/test/cssFixture.ts | 8 ++
packages/i18n/locales/en/app.json | 2 +
packages/i18n/locales/es/app.json | 4 +-
packages/i18n/locales/fr/app.json | 4 +-
packages/i18n/locales/ko/app.json | 4 +-
packages/i18n/locales/pt-BR/app.json | 4 +-
packages/i18n/locales/zh-CN/app.json | 4 +-
packages/i18n/locales/zh-TW/app.json | 4 +-
packages/i18n/src/resources.d.ts | 2 +
24 files changed, 415 insertions(+), 79 deletions(-)
Fusion-Task-Id: FN-177
Fusion-Task-Lineage: 5fa5a228-339c-4e7b-8b0e-f2eb4fdcacce
Co-authored-by: Fusion <noreply@runfusion.ai>
2026-08-23 14:05:04 +00:00
..
2026-07-25 06:22:23 -07:00
2026-07-30 03:10:35 -07:00
2026-08-23 14:05:04 +00:00
2026-07-08 01:29:56 -07:00
2026-05-01 05:04:05 -07:00
2026-05-01 00:33:17 -07:00
2026-04-14 23:44:40 -07:00