Skip to content

🤖 fix: remove review line tooltip#3091

Open
ammar-agent wants to merge 1 commit intomainfrom
fix/remove-review-line-tooltip
Open

🤖 fix: remove review line tooltip#3091
ammar-agent wants to merge 1 commit intomainfrom
fix/remove-review-line-tooltip

Conversation

@ammar-agent
Copy link
Copy Markdown
Collaborator

Summary

Remove the floating review helper tooltip from the immersive review gutter so hovering the line action no longer covers nearby code.

Background

In review mode, the hover tooltip on the line comment action was distracting and got in the way of reading the diff. The gutter button already exposes the action without needing an additional floating hint.

Implementation

  • delete the shared portal-based review tooltip state and rendering from SelectableDiffRenderer
  • keep the inline review button and existing click / shift-click / drag selection behavior intact
  • update the drag-selection test to assert that hovering no longer renders the tooltip text

Validation

  • make static-check
  • bun test src/browser/features/Shared/SelectableDiffRenderer.dragSelect.test.tsx

Risks

Low. This only changes the review gutter hover affordance; inline review actions and range selection behavior are unchanged.


Generated with mux • Model: openai:gpt-5.4 • Thinking: xhigh • Cost: $0.92

Stop rendering the floating review comment helper from the review gutter so
hovering line controls no longer obscures nearby code while keeping inline
comment actions and range selection intact.

---

_Generated with `mux` • Model: `openai:gpt-5.4` • Thinking: `xhigh` • Cost: `$0.92`_

<!-- mux-attribution: model=openai:gpt-5.4 thinking=xhigh costs=0.92 -->
@ammar-agent
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant