-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
feat: YoloChart
in repo pages
#3658
Conversation
✅ Deploy Preview for design-insights ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for oss-insights ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This is really cool to see live. I notice a lot more projects than expected have a link to YOLOs. I.e. Facebook/react might be due to how they do merge queues. Not sure though. We might to do a similar maintainer QA in the slack channel to get feedback on this. Also, the link to why this would be a problem goes to the docs. Is there a docs issues for that? |
@zeucapua I have the docs up for it, so as soon as it's reviewed, you can link to them. |
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.
Thank you for this @zeucapua !
- One extra comment for big screens:
- let's add extra padding to make the button bigger so it doesn't look disproportionate (px-1 and py-1 should work)
- can we add a "Show more" text next to the arrow to fill the button more and make it feel less empty?
- Can we add the little "YOLO Coder" icon to the Lottery factor table to signal yolo coders?
- icon on hover should display the simple tooltip saying "YOLO coder"
- icon on click should reveal the YOLO view
- This is probably an api side issue, but if we could remove bots from the response that'd be amazing.
- Can we get rid of the extra bottom border on the last item of the YOLO table? (and if possible, do the same for the lottery factor table)
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.
see comment above
This is worth having a quick discussion on: I believe it would be interesting for maintainers to see what bot are pushing directly to main, partially because bots (like in your example the k8s prow bot or the k8s test infra bot) make up a HUGE part of a project's secure software supply chain. I.e., bots (and the software they consume) are just another piece of the ever expanding puzzle that makes up building and shipping secure software. Bots committing directly to main are a common practice (generally safer than a maintainer sending something directly to main and are useful in release processes) but can still be compromised: compromised in sometimes extremely catostrophic ways. The SolarWinds attack and data breach was as bad as it was because hacked build system dependencies (like bots or other pieces of build automation) went unnoticed for so long, malicious third party actors were able to inject back doors into many of their products. Then resulting in all their customers becoming compromised. We can remove bot commits API side for this early iteration. But I'd be more supportive of a long term option that makes it on/off optional. Or we think over / design another piece of this component that incorporates bot commits directly to main. |
I think a toggle for this is a good idea. |
…uced/app into feat/yolo-lottery-factor
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.
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 left some UI/UX feedback, but won't block this since it'd be good to get this out.
🚢
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.
left comments on responsiveness! I keep adding reviews as comments 🤦♀️
@zeucapua for the bots toggle, here's two ideas: |
YOLO Banner breakpoint designs implemented cc @isabensusan Screen.Recording.2024-07-05.at.10.20.12.mov |
FYI, quickly worth calling out, the bots toggle won't work for accounts that don't end in |
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.
@zeucapua looking SO much better now!!!! Thank you for the extra effort
It looks great in basically every breakpoint, except between 1440px - 1650px where it breaks, which unfortunately is exactly the default breakpoint for 13 inch macbooks 😢
If we can make sure that it looks nice at 1512px, then this is good to ship!
Banner should be fixed for the macbook 13 size cc @isabensusan |
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.
Thank you!!! Can confirm it now looks perfect :)
## [2.43.0-beta.1](v2.42.1-beta.2...v2.43.0-beta.1) (2024-07-08) ### 🍕 Features * `YoloChart` in repo pages ([#3658](#3658)) ([9462519](9462519))
## [2.43.0](v2.42.0...v2.43.0) (2024-07-09) ### 🍕 Features * `YoloChart` in repo pages ([#3658](#3658)) ([9462519](9462519)) ### 🐛 Bug Fixes * now app sidebar menu items have the same font weight ([#3690](#3690)) ([3647252](3647252)) * now the repository insights pages header looks good on smaller screens ([#3687](#3687)) ([8a47e17](8a47e17)) * use explore page with typescript topic as fallback instead of feed page ([#3691](#3691)) ([a50e34a](a50e34a))
Description
Implements the
YoloChart
in repo pages to show YOLO coders, contributors that push commits directly on the "main" branch.Related Tickets & Documents
Closes #3644
Closes #3584
Mobile & Desktop Screenshots/Recordings
Screen.Recording.2024-07-05.at.10.32.19.mov
Steps to QA
Tier (staff will fill in)
[optional] What gif best describes this PR or how it makes you feel?