gsxdsm
0a135c9367
FN-6315: Scroll task chat to latest output
Ensure the task-details Chat transcript opens at the newest agent output without breaking live scroll-away behavior.
- Track active-state transitions and initial log population to snap populated transcripts to the bottom.
- Preserve existing near-bottom live-follow behavior and inactive cached scroll bookkeeping.
- Cover initial desktop/mobile load, reactivation, delayed population, and empty transcript cases.
- Document the updated Chat tab behavior and add a published package patch changeset.
Files changed:
.changeset/fn-6315-chat-scroll-bottom.md | 5 +
docs/dashboard-guide.md | 2 +-
packages/dashboard/app/components/TaskChatTab.tsx | 25 ++-
.../app/components/__tests__/TaskChatTab.test.tsx | 182 ++++++++++++++++++++-
4 files changed, 211 insertions(+), 3 deletions(-)
Fusion-Task-Id: FN-6315
Fusion-Task-Lineage: 6cd7c418-124f-4730-a533-cc866f9a16a8
2026-06-12 18:26:45 -07:00
..
2026-06-11 22:36:22 -07:00
2026-06-12 17:57:19 -07:00
2026-06-12 18:26:45 -07:00
2026-05-14 15:25:08 -07:00
2026-06-12 09:03:40 -07:00
2026-06-04 08:00:33 -07:00
2026-06-09 13:54:59 -07:00
2026-06-10 00:20:35 -07:00
2026-06-08 15:19:27 -07:00
2026-05-17 22:16:27 -07:00
2026-06-12 10:00:08 -07:00
2026-06-11 09:21:23 -07:00
2026-06-12 09:03:40 -07:00
2026-05-29 11:25:11 -07:00
2026-05-29 20:05:14 -07:00
2026-06-03 08:16:08 -07:00
2026-05-20 19:58:49 -07:00
2026-06-10 06:48:56 -07:00
2026-06-10 00:20:35 -07:00