Skip to content

feat: show full thread title in a tooltip when hovering sidebar thread names#1994

Merged
juliusmarminge merged 3 commits intopingdotgg:mainfrom
UtkarshUsername:feat/sidebar-thread-title-tooltip
Apr 13, 2026
Merged

feat: show full thread title in a tooltip when hovering sidebar thread names#1994
juliusmarminge merged 3 commits intopingdotgg:mainfrom
UtkarshUsername:feat/sidebar-thread-title-tooltip

Conversation

@UtkarshUsername
Copy link
Copy Markdown
Contributor

@UtkarshUsername UtkarshUsername commented Apr 13, 2026

Closes #1993

What Changed

Shows the full thread title in a styled tooltip when hovering a sidebar thread name.

This keeps truncated thread labels readable without changing sidebar layout. The PR also adds browser test coverage for the hover tooltip.

Why

Thread titles in the sidebar are visually truncated to fit the available width. When a title is longer than the sidebar row, there is no hover affordance to reveal the full name, which makes it harder to see full thread names, and to distinguish similarly named threads without opening them.

UI Changes

Before:
image

After:
(When hovering over the thread in the sidebar. Cursor is not visible in the screenshot.)
image

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
Low risk UI-only change that wraps sidebar thread titles in an existing tooltip component and adds a browser test; no data, auth, or backend logic is affected.

Overview
Sidebar thread rows now show the full thread title in a tooltip on hover, keeping the row label truncated while improving readability.

Adds a browser regression test in ChatView.browser.tsx that hovers the sidebar title (via new data-testid="thread-title-<id>") and asserts the tooltip popup renders the complete title.

Reviewed by Cursor Bugbot for commit cfe3e03. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Show full thread title in a tooltip when hovering sidebar thread names

Wraps the thread title span in Sidebar.tsx with a Tooltip component that displays the full title on hover, using side="top" with wrapping styles. A data-testid="thread-title-<id>" attribute is added to the trigger element. A browser test in ChatView.browser.tsx verifies the tooltip appears on hover.

Macroscope summarized cfe3e03.

- Add the full thread title to sidebar row tooltips
- Suppress the tooltip while a thread is being renamed
- move thread title hover text into the tooltip component
- update the browser test to assert the rendered tooltip instead of a title attribute
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 13, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 2da8b506-76a5-45d8-996f-886f11b85a39

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Apr 13, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp bot commented Apr 13, 2026

Approvability

Verdict: Approved

This PR adds a tooltip to show the full thread title when hovering over truncated sidebar thread names. The changes are minimal UI enhancements (wrapping an existing span with tooltip components) plus a corresponding test. No business logic, security, or runtime behavior is affected.

You can customize Macroscope's approvability policy. Learn more.

@juliusmarminge juliusmarminge merged commit cadd708 into pingdotgg:main Apr 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Show full thread title in a tooltip when hovering sidebar thread names

2 participants