Skip to content

fix: preserve MCP permissions scroll position - #1775

Merged
Aaronontheweb merged 3 commits into
devfrom
fix/mcp-permissions-scroll
Aug 6, 2026
Merged

fix: preserve MCP permissions scroll position#1775
Aaronontheweb merged 3 commits into
devfrom
fix/mcp-permissions-scroll

Conversation

@petabridge-netclaw

Copy link
Copy Markdown
Contributor

Summary

  • Preserve MCP permissions tool-grid scroll position when editing rows with left/right keys
  • Avoid rebuilding the parent content DynamicLayoutNode for in-grid state changes
  • Add a regression test for changing a scrolled tool row without jumping back to the top

Notes

Local targeted test execution was blocked by slow dependency compilation in this environment (Netclaw.Actors CoreCompile); opening as draft to let CI validate.

The new StateVersion subscribe lambda had no comment. Add one line
that states why ToolGrid updates keep the scroll position.

The test file had two blank lines before the new scroll test. Remove
one line so the file uses a single blank line between tests.

@Aaronontheweb Aaronontheweb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM - just added a Roslyn analyzer to Termina that will catch these types of issues in the future

@Aaronontheweb
Aaronontheweb merged commit b72674d into dev Aug 6, 2026
21 checks passed
@Aaronontheweb
Aaronontheweb deleted the fix/mcp-permissions-scroll branch August 6, 2026 02:36
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.

1 participant