feat: Enhance Burnout & Sustainability Sentinel with Export & Download Features (#8216)#8258
Conversation
…nk) to Burnout & Sustainability Sentinel (JhaSourav07#8216)
|
@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 introduces significant enhancements to the Burnout & Sustainability Sentinel by adding structured export and download options. It aligns with previous decisions to improve user experience through export capabilities, similar to the enhancements made for the Customizer generator page. These features will provide users with more flexibility in how they access and share their data. Thank you for your contribution! |
📦 Next.js Bundle Size Report (Gzipped Sizes)
📊 Summary of Totals
|
Aamod007
left a comment
There was a problem hiding this comment.
This is a fantastic addition to the Burnout Sentinel! Adding more export options like JSON and a share link makes the tool much more versatile. The UI polish with the toast notifications also significantly improves the user experience.
Everything looks great and the checks are passing!
Label Justification:
- \level:beginner: Assigned based on 1 file changed (enhancing the download menu component).
- \quality:clean: Clean React state management for the toast notifications and clear, readable component structure.
- \ ype:feature: Adds new export and sharing capabilities to the report menu.
- \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 #8216.
This PR introduces structured export and download options (JSON, Markdown, PDF, Copy Summary, and direct Share Link with query parameter support) to the Burnout & Sustainability Sentinel (
/burnout-analyzer).Key Enhancements & Features:
reportobject) as a formatted JSON file (<owner>-<repo>-burnout-report.json)./burnout-analyzer?owner={owner}&repo={repo}).<Suspense>to auto-trigger analysis when landing on URLs with query parameters (/burnout-analyzer?owner=facebook&repo=react) and sync address bar state seamlessly.Target Files Modified:
app/burnout-analyzer/page.tsxapp/burnout-analyzer/page.test.tsxcomponents/burnout/DownloadReportMenu.tsxcomponents/burnout/DownloadReportMenu.test.tsxVerification & Testing
npx vitest run app/burnout-analyzer/page.test.tsx components/burnout/DownloadReportMenu.test.tsx— 10 / 10 tests passed.npx tsc --noEmit— 0 errors.eslint --fixandprettierpre-commit checks cleanly.GSSoC 2026 Contribution