-
-
Notifications
You must be signed in to change notification settings - Fork 194
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: Lottery Factor chart for Repo pages #3343
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. |
I'll review it further, but just collecting on feedback from @bdougie -- Let's add an explainer tooltip to the title to explain what lottery factor is |
Note for @jpmcb, we talked IRL. But we should filter out bots on the end point. |
Co-authored-by: Nick Taylor <nick@nickyt.co>
@zeucapua here's the empty state for this chart as well: |
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.
Can we add an empty state example to the Storybook stories as well? |
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.
Thanks for making the updates @zeucapua.
One last thing. The loading state doesn't span the whole chart for contributor rows.
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.
Thanks for making the changes @zeucapua!
🚢
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.
Looks good to me!
## [2.27.0-beta.1](v2.26.1-beta.1...v2.27.0-beta.1) (2024-05-13) ### 🍕 Features * Lottery Factor chart for Repo pages ([#3343](#3343)) ([deda50e](deda50e))
## [2.27.0](v2.26.0...v2.27.0) (2024-05-15) ### 🍕 Features * Contributors tab for Repo pages ([#3342](#3342)) ([f1142c3](f1142c3)) * Lottery Factor chart for Repo pages ([#3343](#3343)) ([deda50e](deda50e)) ### 🐛 Bug Fixes * now opening workspace dropdown puts focus on search input ([#3364](#3364)) ([bafa0e4](bafa0e4)) * now StarSearch remains visible on smaller screens in the top menu ([#3374](#3374)) ([d6d0048](d6d0048)) * temporarily returning for event: function_call in readable stream from StarSearch ([#3379](#3379)) ([f6f4b01](f6f4b01)) * title for PR chart tooltip ([#3350](#3350)) ([56b2746](56b2746))
Description
Implement a new
LotteryFactorChart
that show the repository and top 4 contributors' lotto factor with a summary and segmented bar chart to see contributor distribution.Related Tickets & Documents
Closes #3341
Closes #3365
Mobile & Desktop Screenshots/Recordings
Screen.Recording.2024-05-10.at.4.27.59.PM.mov
Steps to QA
Tier (staff will fill in)
[optional] What gif best describes this PR or how it makes you feel?