Fusion Agent
67becd9fc2
FN-050: preserve chat transcripts during revalidation
Keep populated chat transcripts and reader position stable while background requests refresh data.
- Retain in-memory session and room messages during same-context revalidation.
- Show loading placeholders only for cold or empty transcript loads.
- Add regression coverage for cache behavior and transcript rendering.
- Add the published-package changeset.
Files changed:
.changeset/fn-050-chat-transcript-revalidation.md | 7 ++++
packages/dashboard/app/components/ChatView.tsx | 4 +-
.../__tests__/ChatView.sessions-rooms.test.tsx | 44 ++++++++++++++++++++++
.../app/hooks/__tests__/useChatRooms.cache.test.ts | 27 +++++++++++++
packages/dashboard/app/hooks/useChat.ts | 16 ++++++--
packages/dashboard/app/hooks/useChatRooms.ts | 26 +++++++++----
6 files changed, 111 insertions(+), 13 deletions(-)
Fusion-Task-Id: FN-050
Fusion-Task-Lineage: 688cf159-3ebd-4c40-b56f-21319863de23
Co-authored-by: Fusion <noreply@runfusion.ai>
2026-08-20 03:57:23 +00:00
..
2026-08-20 03:57:23 +00:00
2026-08-18 22:16:44 -07:00
2026-08-20 03:57:23 +00:00
2026-08-20 03:57:23 +00:00
2026-08-20 03:55:38 +00:00
2026-08-18 22:16:44 -07:00
2026-08-20 03:57:23 +00:00
2026-08-20 03:57:23 +00:00
2026-08-18 22:16:44 -07:00
2026-08-20 03:57:23 +00:00
2026-07-27 19:40:08 -07:00
2026-08-18 22:16:44 -07:00