Skip to content

fix: preserve runs view zoom - #4848

Closed
AssaadHalabi wants to merge 2 commits into
superplanehq:mainfrom
AssaadHalabi:fix-runs-view-zoom-reset
Closed

fix: preserve runs view zoom#4848
AssaadHalabi wants to merge 2 commits into
superplanehq:mainfrom
AssaadHalabi:fix-runs-view-zoom-reset

Conversation

@AssaadHalabi

Copy link
Copy Markdown

Fixes #4800.

Summary

  • Preserve the current canvas viewport when entering runs mode so zoom does not reset.
  • Keep the runs viewport across mode toggles, and only refit when the selected run's node set changes.
  • Add unit coverage for the runs viewport refit decision.

Tests

  • git diff --check
  • Not run: make format.js, make check.build.ui (Docker engine and local npm/make are unavailable in this environment).

Signed-off-by: AssaadHalabi <assad.halabi@thoughtful.ai>
@superplanehq-integration

Copy link
Copy Markdown

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes ~30s)
  • /sp stop - Stop a running machine (auto-executed on pr close)

@shiroyasha

Copy link
Copy Markdown
Collaborator

Thank you for opening this PR, and for contributing to the project!
It looks like the issue this PR was addressing has already been fixed.

I’ll close this PR for now. Thanks again for taking the time to contribute.

@shiroyasha shiroyasha closed this Jul 4, 2026
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.

Switching to runs view resets zoom level

2 participants