t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Long history load error URLs overflow the chat lane and trigger a horizontal timeline scrollbar

Open jinl96 opened this issue 2 days ago • 0 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Open a thread with older history where loading earlier turns fails with an error containing a long unbroken URL (for example, RemoteEnvironmentAuthTimeoutError on /api/orchestration/threads/<id>/history?cursor=<base64>&deferWork=1&compactIds=1).
  2. Observe the error status line rendered under Load earlier turns in MessagesTimeline.

Expected behavior

The history error message wraps inside .chat-content-lane, stays clear of the right details sidebar, and does not add a horizontal scrollbar to the timeline.

Actual behavior

  1. The unbroken cursor=<base64> query string inside TimelineHistoryControl's <p role="status"> overflows horizontally past .chat-content-lane and across the right details sidebar.
  2. Although <LegendList> in apps/web/src/components/chat/MessagesTimeline.tsx includes overflow-x-hidden in className, @legendapp/list defaults showsHorizontalScrollIndicator to true and writes inline overflowX: "auto", overriding overflow-x-hidden and producing a wide horizontal scrollbar across the bottom of the timeline.

Impact

Minor bug or occasional failure

Version or commit

main @ 89ba000739

Environment

macOS, T3 Code Desktop / Web (Chromium)

Logs or stack traces

Remote environment endpoint http://127.0.0.1:3783/api/orchestration/threads/00000000-0000-4000-8000-000000000001/history?cursor=eyJ2IjoxLCJzZXEiOjEwMDAyMDEwLCJzdCI6IjAwMDAwMDAwLTAwMDAtNDAwMC04MDAwLTAwMDAwMDAwMDAwMSIsInNpIjoidHVybi1pdGVtOnByb3ZpZGVyOmV4YW1wbGU6bmF0aXZlLWl0ZW06cHJvdmlkZXItaW5zdGFuY2UlM0FleGFtcGxlJTNBMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyJTNBdHVybiUzQTg0JTNBam9iJTNBMTcyIiwicCI6Mn0&deferWork=1&compactIds=1 timed out after 6000ms.

Screenshots, recordings, or supporting files

Timeline history error overflowing chat lane into details sidebar

Workaround

None (the horizontal overflow remains until the history error clears).

jinl96 avatar Dec 01 '26 15:12 jinl96