-
Notifications
You must be signed in to change notification settings - Fork 1
Update Commit Overflow Website with End of Event Info #16
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: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 pull request transitions the Commit Overflow website from an active event to a post-event state. The changes remove live tracking features and add end-of-event functionality including user receipts powered by AI summarization.
Changes:
- Upgraded Tailwind CSS from v3 to v4 with new import syntax
- Added authentication system using better-auth for user login
- Implemented receipt generation feature with AI-powered commit summarization using Groq/Claude
- Removed live event components (Progress, Stats, Leaderboard, LiveFeed)
- Replaced dynamic stats with hardcoded final event statistics
- Added new pages for login and receipt viewing
Reviewed changes
Copilot reviewed 31 out of 33 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tailwind.config.mjs | Removed - migrated to Tailwind v4 |
| src/styles/global.css | Updated Tailwind imports for v4, removed hardcoded font sizes for better responsiveness |
| src/pages/receipt.astro | New page for viewing user receipts with authentication |
| src/pages/login.astro | New login page for Discord authentication |
| src/pages/index.astro | Simplified to show summary and chart only, removed live components |
| src/pages/api/receipt/stream.ts | New streaming API for receipt generation with AI summaries |
| src/pages/api/receipt/download.ts | New API for downloading receipts as images |
| src/pages/api/receipt.ts | New API for fetching receipts |
| src/pages/api/commits.ts | Removed - no longer needed for ended event |
| src/middleware.ts | New authentication middleware |
| src/lib/auth.ts | New authentication configuration using better-auth |
| src/lib/d1-adapter.ts | New database adapter for better-auth |
| src/lib/receipt.ts | New receipt generation logic with formatting utilities |
| src/lib/groq.ts | New AI summarization using Groq and Claude APIs |
| src/components/Welcome.astro | Updated text to past tense for ended event |
| src/components/Summary.astro | New component with hardcoded final event stats |
| src/components/CommitChart.tsx | Updated to use hardcoded data instead of API |
| package.json | Updated dependencies including Tailwind v4, better-auth, AI SDKs |
| astro.config.ts | Updated Tailwind integration for v4 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Work in Progress