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-04-25 09:09:31 -07:00
2026-06-11 09:21:23 -07:00
2026-06-12 01:06:33 -07:00
2026-06-12 00:05:10 -07:00
2026-06-12 11:39:01 -07:00
2026-06-12 08:45:27 -07:00
2026-06-12 11:38:53 -07:00
2026-06-12 13:36:02 -07:00
2026-06-11 09:51:49 -07:00
2026-06-12 09:24:02 -07:00
2026-06-11 18:08:17 -07:00
2026-06-12 06:49:29 -07:00
2026-06-11 22:11:44 -07:00
2026-06-11 21:37:10 -07:00
2026-06-11 22:03:29 -07:00
2026-06-12 11:10:12 -07:00
2026-06-12 03:00:45 -07:00
2026-06-12 07:13:00 -07:00
2026-06-12 14:21:18 -07:00
2026-06-12 10:27:24 -07:00
2026-06-12 17:57:19 -07:00
2026-06-12 13:12:55 -07:00
2026-06-12 15:34:05 -07:00
2026-06-12 18:26:45 -07:00
2026-06-11 14:55:19 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 20:53:01 -07:00
2026-06-11 21:00:23 -07:00
2026-06-12 14:39:51 -07:00
2026-06-11 21:26:59 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 22:48:59 -07:00
2026-06-11 09:21:23 -07:00
2026-06-11 20:14:54 -07:00
2026-06-09 12:41:29 -07:00