-
Notifications
You must be signed in to change notification settings - Fork 3.3k
internal: allow studio panel to be draggable #31747
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
Conversation
cypress
|
Project |
cypress
|
Branch Review |
mabel/issue-31275-dragging-studio-panel
|
Run status |
|
Run duration | 11m 11s |
Commit |
|
Committer | Mabel Amaya |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
689
|
View all changes introduced in this branch ↗︎ |
UI Coverage
37.62%
|
|
---|---|
|
131
|
|
79
|
Accessibility
92.36%
|
|
---|---|
|
3 critical
8 serious
1 moderate
1 minor
|
|
429
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for a draggable studio panel with a fixed minimum width of 340px. The changes include updating constants to include a minimum width for the studio panel, extending the panel resizing logic and UI to support an additional panel, and adding tests for the new panel functionality.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
packages/app/src/runner/runner-constants.ts | Adds a new constant for the studio panel's minimum width |
packages/app/src/runner/SpecRunnerOpenMode.vue | Introduces new props for studio panel dimensions and updates panel visibility logic |
packages/app/src/runner/ResizablePanels.vue | Implements resizing functionality and event handling for the studio panel (panel4) |
packages/app/src/runner/ResizablePanels.cy.tsx | Adds tests verifying panel resizing behavior including the studio panel |
Comments suppressed due to low confidence (1)
packages/app/src/runner/ResizablePanels.cy.tsx:8
- The tests reference runnerConstants.defaultStudioWidth, but the constants file only defines absoluteStudioMinimum. Ensure that a defaultStudioWidth property is defined in runnerConstants or update references accordingly.
const defaultPanel4Width = runnerConstants.defaultStudioWidth
…ragging-studio-panel' into mabel/issue-31275-dragging-studio-panel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this works well for me - definitely a good first step for improving the user experience 👍🏻
Studio: Studio panel should allow dragging to wider/smaller widths #31275
Additional details
Steps to test
Dragging
Uploading Screen Recording 2025-05-20 at 2.26.35 PM.mov…
Screenshotting
Screen.Recording.2025-05-20.at.1.54.46.PM.mov
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?