Skip to content

Comments

Fix hidden + button in inline chat#297072

Merged
daviddossett merged 2 commits intomainfrom
ddossett/financial-marten
Feb 23, 2026
Merged

Fix hidden + button in inline chat#297072
daviddossett merged 2 commits intomainfrom
ddossett/financial-marten

Conversation

@daviddossett
Copy link
Collaborator

@daviddossett daviddossett commented Feb 23, 2026

The + (Add Context) button in inline chat was being pushed into the overflow ... menu because it shared order: 101 with the sidebar chat registration. Since the inline chat toolbar is narrow and uses responsive behavior that hides items from the right, the + button — being the highest-ordered item — was hidden first.

Fix: Split the AttachContextAction menu registration into separate entries for Chat sidebar (order: 101, unchanged) and EditorInline (order: 2), so the + button appears before the model picker and tools actions in inline chat and stays visible.

Fixes #297051

Copilot AI review requested due to automatic review settings February 23, 2026 19:08
Copy link
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 fixes a UI bug where the + (Add Context) button in inline chat was being hidden in the overflow menu. The issue occurred because both the Chat sidebar and EditorInline locations shared order: 101, causing the button to be hidden first in the narrow inline chat toolbar due to its responsive overflow behavior.

Changes:

  • Split the AttachContextAction menu registration from a single entry with location condition to two separate entries
  • Chat sidebar entry keeps order: 101 (unchanged)
  • EditorInline entry now uses order: 2 (new), positioning it between the mode picker and model picker

@daviddossett daviddossett marked this pull request as ready for review February 23, 2026 19:25
@daviddossett daviddossett changed the title Fix inline chat + button hidden in overflow menu Fix hidden + button in inline chat Feb 23, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 23, 2026
@daviddossett daviddossett merged commit e492669 into main Feb 23, 2026
20 checks passed
@daviddossett daviddossett deleted the ddossett/financial-marten branch February 23, 2026 20:02
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.

Regression: Add context and inline chat look broken now

2 participants