Skip to content

[Bug]: Adjacent subagent previews repeat the initial hover delay #34144

Open

Description

@brandon-julio-t

Area

apps/web (also used by desktop)

Steps to reproduce

  1. Open a conversation containing at least 2 subagents.
  2. Expand the work log and subagent group.
  3. Hover the first subagent until its preview appears.
  4. Move directly to the adjacent subagent.
  5. Repeat in the right sidebar: expand Lineage → Previous agents and move between adjacent subagents.
  6. Compare with moving between thread rows in the left sidebar after opening a preview.

Expected behavior

The first hover waits, then adjacent previews open immediately, matching sidebar thread previews and Base UI's shared-delay grouping.

Actual behavior

Each subagent waits for its own 200 ms hover delay. Timeline previews and the related lineage rows do not have a shared Tooltip.Provider, while sidebar thread rows do.

Impact

Minor interaction inconsistency: scanning a list of subagents repeatedly incurs the initial hover delay.

Version and environment

Observed in the desktop/web UI; confirmed in source on upstream main at c90b678 and reproduced with the actual MessagesTimeline component in Chromium on Linux using synthetic subagents.

Before-state evidence

Both recordings run the unmodified upstream components at c90b678 in Chromium on Linux with synthetic subagents. These are isolated component reproductions: MessagesTimeline and ThreadRelationshipsPanel, with in-memory thread data. No private conversations or provider calls are involved.

Each clip is about 19 seconds. Captions and a blue pointer marker make the active row visible. After the first preview opens, the pointer moves between 3 adjacent rows, pausing on each and repeating the transitions. Watch the old card disappear before the next card opens. Playback is real time.

Message timeline — before

Expand the work log and the subagent group, then move between its rows.

timeline-BEFORE-video.mp4

Timeline before: pointer on the second row while the first preview closes

Right sidebar / Lineage — before

Open the right sidebar's Lineage section, expand Previous agents, hover the first subagent until its card opens, then move directly between neighboring subagents. The initial delay repeats here too.

sidebar-BEFORE-video.mp4

Right sidebar before: pointer on the second row while the first preview closes

Investigation

The existing Base UI provider already supports the intended interaction without custom timers: https://base-ui.com/react/components/tooltip#api-reference.

Searched issues, PRs, and Ideas for tooltip delays, grouping, and subagent hovers. Related PR #24906 controls whether previews render; #12842 shares the hover-card presentation. Neither adds shared delay grouping for these lists. No duplicate fix found.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions