Skip to content

Improve hover rendering#312223

Merged
lramos15 merged 2 commits intomainfrom
lramos15/available-gibbon
Apr 23, 2026
Merged

Improve hover rendering#312223
lramos15 merged 2 commits intomainfrom
lramos15/available-gibbon

Conversation

@lramos15
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 23, 2026 21:11
@lramos15 lramos15 enabled auto-merge (squash) April 23, 2026 21:11
@lramos15 lramos15 self-assigned this Apr 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines hover/submenu rendering for action-list based UI, including the chat model picker, by tightening when hover content is shown and adjusting submenu panel layout/styling.

Changes:

  • Make chat model hover content optional and avoid showing empty hover headers.
  • Adjust submenu hover header CSS (typography/line-height) for improved readability.
  • Update submenu panel vertical positioning to center on the anchor and clamp within the viewport.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.ts Makes model hover content optional and adjusts submenuActions assignment for model items.
src/vs/platform/actionWidget/browser/actionWidget.css Tweaks submenu hover header typography and sizing rules.
src/vs/platform/actionWidget/browser/actionList.ts Changes submenu panel vertical positioning to be centered and viewport-clamped.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 2

Comment thread src/vs/platform/actionWidget/browser/actionList.ts
@lramos15 lramos15 merged commit c059845 into main Apr 23, 2026
26 checks passed
@lramos15 lramos15 deleted the lramos15/available-gibbon branch April 23, 2026 21:41
@vs-code-engineering vs-code-engineering Bot added this to the 1.118.0 milestone Apr 23, 2026
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.

3 participants