Skip to content

Put ambiguous options into interface - #313953

Merged
Megan Rogge (meganrogge) merged 2 commits into
microsoft:mainfrom
Tyriar:tyriar/unambiguous_options
May 4, 2026
Merged

Megan Rogge (meganrogge) merged 2 commits into
microsoft:mainfrom
Tyriar:tyriar/unambiguous_options

Conversation

@Tyriar

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings May 3, 2026 14:25
@Tyriar

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="Cursor"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 refactors the terminal tabs list renderer to group related visibility callbacks into a dedicated options interface. It is a small internal cleanup in the terminal workbench UI that improves the renderer constructor’s API without changing behavior.

Changes:

  • Replaced two separate renderer callback parameters with a single ITerminalTabsRendererOptions object.
  • Updated renderer construction and usage sites to read hasText and hasActionBar through the new interface.
  • Added a small local interface to make the renderer’s visibility-related dependencies more explicit.

@anthonykim1

Copy link
Copy Markdown
Contributor

Hello and thank you :))

@anthonykim1 Anthony Kim (anthonykim1) added this to the 1.120.0 milestone May 4, 2026
@Tyriar

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree company="Cursor"

@Tyriar

Copy link
Copy Markdown
Contributor Author

Anthony Kim (@anthonykim1) cla bot might be having problems?

@meganrogge
Megan Rogge (meganrogge) enabled auto-merge (squash) May 4, 2026 21:41
@meganrogge
Megan Rogge (meganrogge) merged commit c75e862 into microsoft:main May 4, 2026
24 of 26 checks passed
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants