Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Jun 11, 2025

Closes: #4496 (adjusting logic added in #4267)

Can someone help me test to confirm?


Important

Simplifies targetProvider determination in McpHub to avoid sidebar focus grab by removing ClineProvider.getInstance() call.

  • Behavior:
    • Simplifies targetProvider determination in McpHub by removing ClineProvider.getInstance() call.
    • Directly uses this.providerRef.deref() to avoid sidebar focus grab.
  • Misc:

This description was created by Ellipsis for a626b1d. You can customize this summary. It will automatically update as commits are pushed.

@mrubens mrubens requested review from cte and jr as code owners June 11, 2025 13:11
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 11, 2025
@daniel-lxs
Copy link
Member

Testing...

Copy link
Member

@daniel-lxs daniel-lxs left a comment

Choose a reason for hiding this comment

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

I was able to confirm that this fix works by editing the mcp_settings.json file and saving it. Without the fix, saving the file would cause the sidebar to open. With the fix, changes to the file no longer open the sidebar, and I did not notice any issues with the MCP servers. The list seems to update normally.

@mrubens mrubens merged commit e1c48f0 into main Jun 11, 2025
16 checks passed
@mrubens mrubens deleted the fix_sidebar_focusing branch June 11, 2025 13:33
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jun 11, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Jun 11, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Sidebar auto-opens when opening new window

3 participants