[Bug]: Lineage hides the title of a remote task when the environment name is long#33180
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- Link a second environment whose name is long, for example "Studio MacBook Pro M1 Max".
- From a thread on the first environment, have the agent
delegate_taskto that environment. - Open the thread details panel and look at Lineage while the task runs.
The same happens on the child thread's side: its "delegated from" row shows the source environment's name the same way.
Expected behavior
The row shows the task title, and the environment name truncates when there isn't room for both. The full environment name stays available in the row's tooltip.
Actual behavior
The row shows only the icon and "on Studio MacBook Pro M1 Max · Running". The title is squeezed to zero width. The row is then wider than the Lineage list, so the list scrolls sideways. On macOS with scroll bars always shown, or with a mouse connected, that draws an empty gray bar under the row.
Cause
In ThreadRelationshipsControl.tsx, RemoteSubagentRow renders on {label} · {status} in a shrink-0 span, and DelegatedFromRow does the same with on {label}. The title span is min-w-0 flex-1, so it gives up all its width first. The Lineage <ul> has overflow-y-auto, which also makes it scroll horizontally once a row overflows.
Impact
Cosmetic issue
Version or commit
main @ d0f1f7200d
Environment
macOS desktop app (Nightly)
Workaround
Hovering the row shows the full title in its tooltip.