Skip to content
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

Merged
merged 8 commits into from
Feb 5, 2023

Conversation

marktnoonan
Copy link
Contributor

@marktnoonan marktnoonan commented Feb 2, 2023

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:

Screen Shot 2023-02-02 at 11 28 51 AM

PR Tasks

  • [na] Have tests been added/updated? - percy
  • Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
  • [na] Has a PR for user-facing changes been opened in cypress-documentation?
  • [na] Have API changes been updated in the type definitions?

@cypress
Copy link

cypress bot commented Feb 2, 2023

Passing run #43796 ↗︎

0 565 0 0 Flakiness 0

Details:

Merge branch 'develop' into marktnoonan/25664-relevant-run
Project: cypress Commit: 650a5468b6
Status: Passed Duration: 07:20 💡
Started: Feb 5, 2023 8:14 PM Ended: Feb 5, 2023 8:21 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@marktnoonan marktnoonan marked this pull request as ready for review February 2, 2023 16:47
@marktnoonan marktnoonan requested a review from a team February 2, 2023 17:24
Copy link
Contributor

@ZachJW34 ZachJW34 left a 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

Copy link
Contributor

@warrensplayer warrensplayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Not a big deal, but curious why there is more spacing between the 2nd and 3rd lines vs the 1st and 2nd.

@marktnoonan
Copy link
Contributor Author

@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.

Copy link
Contributor

@mike-plummer mike-plummer left a 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).
Copy link
Contributor

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"

cli/CHANGELOG.md Outdated Show resolved Hide resolved
@marktnoonan marktnoonan merged commit a1bc554 into develop Feb 5, 2023
@marktnoonan marktnoonan deleted the marktnoonan/25664-relevant-run branch February 5, 2023 20:39
tgriesser added a commit that referenced this pull request Feb 8, 2023
* 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
  ...
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.

Debug M1.1 - Correct responsiveness of DebugNewRelevantRunBar
5 participants