t3code
t3code copied to clipboard
[Bug]: Long history load error URLs overflow the chat lane and trigger a horizontal timeline scrollbar
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
- Open a thread with older history where loading earlier turns fails with an error containing a long unbroken URL (for example,
RemoteEnvironmentAuthTimeoutErroron/api/orchestration/threads/<id>/history?cursor=<base64>&deferWork=1&compactIds=1). - Observe the error status line rendered under
Load earlier turnsinMessagesTimeline.
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
- The unbroken
cursor=<base64>query string insideTimelineHistoryControl's<p role="status">overflows horizontally past.chat-content-laneand across the right details sidebar. - Although
<LegendList>inapps/web/src/components/chat/MessagesTimeline.tsxincludesoverflow-x-hiddeninclassName,@legendapp/listdefaultsshowsHorizontalScrollIndicatortotrueand writes inlineoverflowX: "auto", overridingoverflow-x-hiddenand 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

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