Skip to content

Diff view: add hover tooltips to the toolbar icon buttons #5828

Closed

Description

@brsbl

Problem

The icon buttons in the diff view toolbar have no hover tooltips, so you can't tell which button does what without clicking. A user said they can never remember which one is "expand/collapse all files".

In apps/app/src/components/secondary-panel/GitDiffToolbar.tsx, these buttons have an aria-label but no visible tooltip:

  • Filter files / Close file filter
  • Expand all files / Collapse all files
  • Wrap diff lines / Disable diff line wrap
  • Stacked diff view
  • Split diff view

Fix

Show each button's current label as a hover tooltip. Use the app's standard tooltip, not a native title, so it matches the other toolbars. The text should follow state, e.g. "Expand all files" vs "Collapse all files".

Activity

  1. added theissue type on Oct 20, 2026
  2. added
    ui
    confirmed-repro
    on Oct 20, 2026
  3. bb-slop-cop commented on Oct 20, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification applied: Bug · Priority: Low · Effort: Low · ui.
    • Reproduction and root-cause report: REPRODUCED, high confidence; labeled confirmed-repro.
    • Root cause: the five toolbar icon buttons have accessible names but no shared tooltip triggers/content.
    • Evidence: eight hover regression cases fail as expected in two clean checkouts of trusted main (7e4232ef2); both existing tests pass. Real browser captures and the repeatable regression patch are in the report.
    • No new PR: open PR Add hover tooltips to diff toolbar buttons #5829 already links to this issue, so a duplicate fix was skipped. Its branch was not run.
  4. added a commit that references this issue on Oct 20, 2026
    ef6b2b7
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

    confirmed-reproui

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions