Skip to content

Viewport: Fix editing when default viewport is set#26360

Merged
shilman merged 3 commits intonextfrom
shilman/26334-fix-viewport-edit
Mar 7, 2024
Merged

Viewport: Fix editing when default viewport is set#26360
shilman merged 3 commits intonextfrom
shilman/26334-fix-viewport-edit

Conversation

@shilman
Copy link
Member

@shilman shilman commented Mar 7, 2024

Closes #26334

What I did

Fixed a reactivity bug that caused the viewport to snap back to the default viewport when the user tries to edit.

Checklist for Contributors

Testing

  1. Added a test for this case
  2. Checked that it fails with the old code
  3. Checked that it passes with the new

The changes in this PR are covered in the following automated tests:

  • stories
  • unit tests
  • integration tests
  • end-to-end tests

Manual testing

See E2E test

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>

@nx-cloud
Copy link

nx-cloud bot commented Mar 7, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 2550a3b. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@shilman shilman merged commit 099def2 into next Mar 7, 2024
@shilman shilman deleted the shilman/26334-fix-viewport-edit branch March 7, 2024 06:23
@github-actions github-actions bot mentioned this pull request Mar 7, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Viewport cannot be changed

2 participants