-
Notifications
You must be signed in to change notification settings - Fork 10
CI Status: move details into a popup #318
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
We have a *lot* of commit statuses in our main repo now, (16 or so). This is far too many to effectively display and make clickable on the left side of each pull. Solution ======== Show one status bubble for each state represented, scaled roughly by how many have that state. Make that whole section clickable and render a popup with more details.
Most of our successes and failures look like "success" and "failure" and that is already communicated by the color.
Object.keys() doesn't guarantee the key order, so if we want a specific order, we have to use expressions instead of array.map()
Previous iteration was thrown together for a demo, so make it a little more polished. * Use icons to represent states * Use icon color to represent states * Subtle divider * Drop the heading cause it's overkill * Hover state * Polish it for dark mode too
isLazy effectively defers the creation of the content elements until the popover is opened. Since we have many pulls, this helps with overall DOM complexity.
We have the icon + color that both change, but nothing explicit says the state (like "pending") until now.
And space out the description a small bit The context name is usually more important than the description anyway.
Humans don't sort strings this way, so our tools shouldn't either.
|
QA 🐧 and deploy_block 🍰 on one issue
Issue
emptyCIBox.mp4 |
This is no longer a map, so we don't need key=
Use the no-popup version if there is only one status cause it doesn't add anything and just gets in the way.
|
un_deploy_block 👍 Thanks @rickisXP !!! I fixed the issues you found and made a few small changes (commit messages explain) |
|
QA 🔢 but deploy_block 💯 on one question
Question ❓When clicking on CI statuses with only one check, is opening the CI check in GitHub the expected behavior, or should Pulldasher be showing the same CI popup? gitHubCIcheck.mp4 |
|
Intended cause I think the simpler behavior is better for small numbers of statuses: un_deploy_block 👍 |
mlahargou
left a comment
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.
CR 📱
See discussion: #316
When we have lots of CI statuses (we currently have 15 or so), the current UI works very poorly. This change moves most of it into a popup.
CI Status UI
Popup:
Popup:

Hover state
