Skip to content

Put ambiguous options into interface#313953

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

Put ambiguous options into interface#313953
meganrogge merged 2 commits into
microsoft:mainfrom
Tyriar:tyriar/unambiguous_options

Conversation

@Tyriar
Copy link
Copy Markdown
Contributor

@Tyriar Tyriar commented May 3, 2026

Copilot AI review requested due to automatic review settings May 3, 2026 14:25
@Tyriar
Copy link
Copy Markdown
Contributor Author

Tyriar commented May 3, 2026

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

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 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 anthonykim1 added this to the 1.120.0 milestone May 4, 2026
@Tyriar
Copy link
Copy Markdown
Contributor Author

Tyriar commented May 4, 2026

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

@Tyriar
Copy link
Copy Markdown
Contributor Author

Tyriar commented May 4, 2026

@anthonykim1 cla bot might be having problems?

@meganrogge meganrogge enabled auto-merge (squash) May 4, 2026 21:41
@meganrogge meganrogge merged commit c75e862 into microsoft:main May 4, 2026
24 of 26 checks passed
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.

5 participants