feat: Enhance Contributor Risk Table with Live Search and Sorting Features#8262
Conversation
…tributor Risk Table (JhaSourav07#8217)
|
@dinesh9997 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
This pull request adds significant enhancements to the Contributor Burnout Risk Table, including live search and sorting capabilities, which will greatly improve user experience. It's worth noting that similar enhancements have been made in the past, such as the addition of export functionality to the Burnout & Sustainability Sentinel, which aimed to improve user experience by allowing structured data downloads. Additionally, ensuring error resilience in the ContributorsClient has been a focus, which aligns with maintaining stability in user interactions. Looking forward to your thoughts on this! 😊 |
📦 Next.js Bundle Size Report (Gzipped Sizes)
📊 Summary of Totals
|
Aamod007
left a comment
There was a problem hiding this comment.
This is a great enhancement for the Contributor Risk Table! Adding live search, filtering, and sortable columns makes the dashboard much more interactive and useful for teams with many contributors. The empty state and table headers are implemented cleanly.
Everything looks good and the checks are passing!
Label Justification:
- \level:beginner: Assigned based on 1 file changed (adding state and sorting logic to a single component).
- \quality:clean: Excellent use of React hooks (\useMemo, \useState) to manage derived state.
- \ ype:feature: Adds significant interactive capabilities to an existing component.
- \mentor:Aamod007: Assigned as required.
|
🎉 Congratulations @dinesh9997! Your PR has been successfully merged. 🚀 Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.
Keep building! 💻✨ |
Description
Resolves #8217.
This PR adds dynamic search filtering, multi-column interactive header sorting, a "High Risk Only" quick filter toggle, and an empty search state to the Contributor Burnout Risk Table (
/burnout-analyzer).Key Enhancements & Features:
X) button.riskLevel === 'High'), with a badge showing the high-risk count.ArrowUpDown,ArrowUp,ArrowDown) supporting ascending/descending sorting for:Showing X of Y contributors).Target Files Modified:
components/burnout/BurnoutRiskTable.tsxcomponents/burnout/BurnoutRiskTable.test.tsxVerification & Testing
npx vitest run components/burnout/BurnoutRiskTable.test.tsx— 5 / 5 tests passed.npx tsc --noEmit— 0 errors.eslint --fixandprettierpre-commit checks cleanly.GSSoC 2026 Contribution