Chat header toolbar controls show no hover tooltips#11985

openedSep 15, 2026byTTonybynMp4

What happened

Chat header toolbar buttons have no hover tooltips (quickGitActions, open-in-editor, action chevrons)

Hovering the action controls in the chat header produces no tooltip. The buttons are icon-only at narrow container widths, so there is nothing on screen that names what they do.

Diagnosis

Five controls in the chat header toolbar carry only an aria-label or an sr-only span. Both are screen-reader affordances; neither renders a hover hint, so sighted mouse users get no label.

ControlSourceLabel it should surface
Git quick action (Commit / Push / Create PR)apps/web/src/components/GitActionsControl.tsx (enabled branch)quickAction.label
Git action chevronapps/web/src/components/GitActionsControl.tsx:1717Git action options
Open-in-editor buttonapps/web/src/components/chat/OpenInPicker.tsx:271Open in <editor>
Editor chevronapps/web/src/components/chat/OpenInPicker.tsx:306Choose editor
Script actions chevronapps/web/src/components/ProjectScriptsControl.tsx:189Script actions

Line numbers are from 50ff4c37, the commit the affected nightly build was cut from. They are unchanged on main at 87a12b53.

This reads as an oversight rather than a deliberate choice, for two reasons:

  1. ProjectScriptsControl already wraps its primary script button and its "Add action" button in Tooltip. The chevron sitting directly between them was missed.
  2. GitActionsControl already imports Tooltip (line 81) and uses it elsewhere in the same file. OpenInPicker does not import it at all.

One adjacent case is already correct and should stay as it is: when the git quick action is disabled, it renders a Popover with openOnHover that explains quickActionDisabledReason. Only the enabled path is bare.

Note for whoever fixes this: wrapping these in TooltipTrigger render={<Button/>} replaces the button's data-slot attribute, which is what the themed toolbar styling keys on (apps/web/src/index.css:1285-1287 and :1321-1323). Those rules already accept [data-toolbar-control] as an alternate hook, and upstream ProjectScriptsControl already uses it for exactly this reason. Adding data-toolbar-control="" to each wrapped button keeps the themed background, border and foreground intact.

Steps to reproduce

  1. Open a thread in a workspace that has a git repo and at least one project script.
  2. Widen the chat header enough that the git actions, open-in-editor and script controls are all visible.
  3. Hover the git quick action button, its chevron, the open-in-editor button, its chevron, and the script actions chevron.

Expected: each shows a tooltip naming the action, the way the project scripts primary button and "Add action" button already do.

Actual: no tooltip appears on any of the five. Hovering the project scripts primary button right next to them does show one, which makes the gap visible side by side.

Narrowing the header below the @3xl/header-actions breakpoint makes it worse: the text labels collapse to sr-only and the controls become icon-only with no hover affordance at all.

Version

0.0.41-nightly.20260915.1752 (desktop app, built from 50ff4c37) — also reproduced on main at 87a12b53

Environment

Linux x64, kernel 6.17.0-1025-oem, Node v22.21.0, T3 Code Nightly desktop app (.deb, t3code 0.0.41~nightly.20260915.1752), Wayland session

#11787 (open) fixes the same class of gap for the composer's environment and workspace controls, but touches only BranchToolbar*.tsx — no file overlap with the chat header, so this is a sibling gap rather than a duplicate. A search of open and closed issues for tooltip, hover and chat-header terms turned up nothing covering these five controls.

Fix applied or workaround

Nothing was changed on the machine; this is a code-level gap, not a broken install. No workaround exists from the UI — the labels are reachable only via a screen reader or by widening the header enough for the text labels to un-collapse, which still leaves the three chevrons unlabeled at every width.

The reporter has a local fix ready on branch t3code/add-action-buttons-hover-tooltips and can open a PR if that is welcome.

Filed by

claude (Opus 5, 1M context) via t3 triage

Triage

Confirmed. Five chat-header toolbar controls are labeled only for screen readers (aria-label / sr-only). Hovering them shows nothing. The same toolbar already tooltips the project-scripts primary button and “Add action”, so this reads as a missed wrap, not a design choice.

Where

ControlSourceLabel to surface
Git quick action (enabled)apps/web/src/components/GitActionsControl.tsxquickAction.label
Git action chevronsameGit action options
Open-in-editorapps/web/src/components/chat/OpenInPicker.tsxOpen in <editor> (or the existing “Open” / compact “Open file in preferred editor”)
Editor chevronsameChoose editor
Script actions chevronapps/web/src/components/ProjectScriptsControl.tsxScript actions

Checked on current main (b84f63bb1). Behavior matches the report.

Leave the disabled git quick action as-is: that path already uses a hover Popover for quickActionDisabledReason.

OpenInPicker is also used compact in the file preview panel (FilePreviewPanel.tsx). Wrapping it once covers both surfaces. No mobile copies of these controls.

Fix note

TooltipTrigger render={<Button/>} replaces data-slot="button", which is what the themed header styles key on. index.css already accepts [data-toolbar-control]; ProjectScriptsControl already uses data-toolbar-control="" for that reason. New wraps need the same attribute.

Not a duplicate

  • #11787 (open) is the same kind of gap, but only composer BranchToolbar*.tsx. No file overlap.
  • #7767 / #7768 are sticky timeline tooltips while scrolling.

No open PR covers these five controls. The reporter already has a local fix on t3code/add-action-buttons-hover-tooltips — please open that PR rather than starting a second one.

Severity

Low UX bug. Icon-only (especially below @3xl/header-actions) with no hover name.

Reproduced on Linux in the web dev client at 89fe509232. With a Git workspace and one project script, hovering Choose editor, Git action options, and Script actions for 1–1.2 seconds shows no tooltip. Choose editor also reproduces at 390px. Current main places these controls in Thread details. Hover recording. The earlier fix #11986 was closed unmerged during V2; no open replacement found.

Fix proposed in #23371, labeled via-triage. Linux web reproduction and focused tests passed; all 27 checks pass on 57c39939f3. The PR remains draft: disabled-trigger, hover/focus/dismissal, density and fresh-capture proof is incomplete, compact-primary captures predate the label correction, and Electron is unverified. Evidence index.