-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
misc: style change for responsiveness #25687
Conversation
Passing run #43796 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
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.
I pushed a changelog entry! Changes look good
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.
@warrensplayer it has to do with the separator, mostly - the vertical space between each list item is 8px, but each one is a different size internally. I really enjoy making stuff like this perfect, but didn't think it was worth spending time on it in this case that's so hard to hit in the app. |
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.
One suggestion for the changelog, but otherwise looks good 👍
cli/CHANGELOG.md
Outdated
|
||
**Misc:** | ||
|
||
- Improved the responsiveness of the Debug Page pending run UI. Addresses [#25664](https://github.com/cypress-io/cypress/issues/25664). |
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.
Wordsmithing nitpick: "Improved the layout of the Debug Page on smaller viewports when there is a pending run."
Maybe it's just me, but I interpret the phrase "improved responsiveness" as "performance improvement"
* develop: (28 commits) chore: update changelog validation example (#25742) fix: Improve error handling around calls to `this.next` in middleware (#25702) chore: debug page tooltip distance and artifact border (#25727) fix: update newProject ref when switching between organizations in SelectCloudProjectModal (#25730) misc: Add max widths to debug page message states (#25725) chore: export types (#25714) chore: release @cypress/webpack-preprocessor-v5.16.3 chore: release @cypress/vue-v5.0.4 chore: release @cypress/grep-v3.1.4 chore: Fix flaky test (#25726) dependency(deps): update dependency debug to ^4.3.4 🌟 (#25699) feat: openInIDE for failed debug spec (#25691) test: fix flaky CT test by relying on query (#25706) test: fix flaky migration test (#25672) misc: style change for responsiveness (#25687) misc: set min widths for icons (#25684) chore(deps): update dependency markdown-it to v11.0.1 🌟 (#25698) chore: Fix flaky origin .wait() test (#25693) chore: unskip tests (#25676) chore: release @cypress/webpack-preprocessor-v5.16.2 ...
Additional details
This modifies some CSS to get a better experience in cases where the content of this component is wider than a single row.
Steps to test
Mainly I would look at the percy snapshots. The situations where this can wrap in the app are pretty rare and would involve long commit messages or high zoom levels since the debug page has a minimum width.
To test this in the live app, you can open Cypress to the Debug page when a run is in progress and modify the DOM of the "next run" display to include unusually long text.
How has the user experience changed?
Old on left, new on right:
PR Tasks
cypress-documentation
?type definitions
?