Skip to content

refactor(devtools): keep TreeVisualizer snapped node on focus #62982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hawkgs
Copy link
Member

@hawkgs hawkgs commented Aug 4, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature

What is the new behavior?

Keep TreeVisualizer snapped node on focus when the container/split is being resized.

The purpose of this change is to maintain the node in the visualization viewport when, for example, the split changes from horizontal to vertical orientation or the side pane is displayed. The respective node will be automatically focused as long as the user doesn't interact with the visualization or pick another node.

Screen.Recording.2025-08-04.at.14.10.46.mov

Keep `TreeVisualizer` snapped node on focus when the container/split is being resized.
@hawkgs hawkgs added target: minor This PR is targeted for the next minor release area: devtools labels Aug 4, 2025
@ngbot ngbot bot added this to the Backlog milestone Aug 4, 2025
@JeanMeche
Copy link
Member

Would that also fix #58389 ?

@hawkgs
Copy link
Member Author

hawkgs commented Aug 4, 2025

Nope, the change doesn't affect that part, but it's an issue that I am planning to fix 👍 (in my backlog).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: devtools target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants