feat: Enhance README Generator with Profile Presets and Section Reset Actions#8264
Conversation
|
@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 README Generator by adding Profile Preset Templates and Section Reset actions, which should improve user experience and efficiency. It's worth noting that similar past decisions, such as enforcing uniqueness in selected technologies and validating responsive breakpoints, have aimed to enhance the robustness and usability of the generator. Looking forward to your feedback on this improvement! 😊 |
📦 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 enhancement for the README generator! Adding profile presets will make it significantly faster and easier for new users to generate a great looking README without manually configuring everything. The implementation is clean and integrates nicely into the existing generator form sections.
Great work!
Label Justification:
- \level:critical: Assigned based on 6 files changed across the generator UI components and data layers.
- \quality:clean: Excellent state management and prop passing for the reset functionality.
- \ ype:feature: Introduces a brand new profile preset feature to the generator.
- \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 #8218.
This PR introduces 1-click Profile Preset Templates and single-click Section Reset action buttons to the README Generator (
/generator), eliminating manual input clearing and accelerating profile setup.Key Enhancements & Features:
RotateCcwreset button to everySectionCardheader (Name, Description, Technologies, Socials, CommitPulse Badge, Contribution Visualizations, Repo Spotlight, and Latest Articles).Target Files Modified / Created:
app/generator/data/presets.ts[NEW]app/generator/components/SectionCard.tsxapp/generator/components/EditorPanel.tsxapp/generator/GeneratorClient.tsxapp/generator/components/sections/*.tsxapp/generator/components/EditorPanel.presets-and-reset.test.tsx[NEW]Verification & Testing
npx vitest run app/generator/components/EditorPanel.presets-and-reset.test.tsx app/generator/components/SectionCard.accessibility.test.tsx app/generator/components/EditorPanel.empty-fallback.test.tsx— 31 / 31 tests passed.npx tsc --noEmit— 0 errors.eslint --fixandprettierpre-commit checks cleanly.GSSoC 2026 Contribution