-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Feature/star history charts #949
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
base: dev
Are you sure you want to change the base?
Feature/star history charts #949
Conversation
- Add Star History chart component under GitHub Statistics - Support multiple repositories with live preview - Add chart type selection (Date/Timeline) - Add theme selection (Light/Dark/Auto) - Include repository validation and error handling - Integrate with markdown generation - Add responsive design and accessibility features
@rahuldkjain Please have a look :) |
|
exciting, lets create a PR to dev branch so that we can see the preview and test |
|
@rahuldkjain Please have a look :) |
|
@rahuldkjain Can you please check this... Like If any suggestion or modification needs then I do that :) |
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.
Pull Request Overview
This PR adds Star History chart integration to GitHub profile README generation, allowing users to showcase repository star growth trends over time.
Key Changes
- Added new Star History configuration types and validation schemas with support for multiple repositories, chart types (Date/Timeline), and theme options (light/dark/auto)
- Implemented Star History utility functions for URL generation, repository validation, and markdown generation with support for responsive theming
- Integrated Star History UI component into the Skills section with live preview, validation feedback, and configuration options
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| src/types/profile.ts | Added StarHistoryConfig interface and fields to ProfileData for Star History feature |
| src/lib/validations.ts | Added Zod validation schema for Star History with repository format validation and default configuration |
| src/lib/star-history.ts | Implemented core Star History functionality including URL generation, validation, markdown generation, and default configuration |
| src/lib/markdown-generator.ts | Integrated Star History markdown generation into the main profile generator |
| src/components/sections/star-history.tsx | Created React component for Star History configuration with live preview, form controls, and validation |
| src/components/sections/skills-section.tsx | Added Star History component to Skills section with necessary form hooks |
| src/app/page.tsx | Updated main page to include Star History default configuration and pass required form props |
Comments suppressed due to low confidence (1)
src/components/sections/star-history.tsx:20
- Unused variable mainEnabled.
const mainEnabled = watch('starHistory');
π‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@DipakHalkude please look at the copilot comments. |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
- Fix theme parameter handling in URL generation - Make auto-theme charts clickable with anchor tags - Remove duplicate default configuration - Clean up unused variables
β¦kHalkude/github-profile-readme-generator into feature/star-history-charts
|
@rahuldkjain I've fixed all the Copilot comments. Please review the latest changes :) |





π Pull Request
π Type of Change (check all applicable)
π Description
What changed?
Why was this change made?
How does this change help users?
π Related Issues
π§ͺ Testing & Quality Assurance
Testing Done (check all applicable)
Test Instructions
Expected Behavior
πΈ Screenshots/Recordings
Before
After
π Checklist
Code Quality
npm run type-check)npm run lint)npm run format)npm run build)Accessibility
Mobile & Responsive
Browser Compatibility
Documentation
Security & Privacy
π Deployment Notes
π Additional Notes
π Reviewers
By submitting this PR, I confirm that: