Repository navigation
Add admin dashboard, ticket system, and enhanced UI components - #91
Merged
Merged
Conversation
- Add comprehensive admin dashboard with analytics and ticket management - Implement ticket lookup and QR code functionality - Add Stripe webhook integration for payment processing - Enhance UI with new components (charts, data tables, forms) - Update dependencies and Tailwind configuration - Add middleware for authentication and routing - Improve ticket purchase flow and user experience
|
Deployment failed with the following error: Learn More: https://vercel.com/docs/environment-variables |
❌ Deploy Preview for tedxuw-2025 failed.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a complete foundation for the admin dashboard for TEDxUW 2025 ticket management. It adds authentication for admin users, a protected dashboard UI, and several backend API endpoints for ticket operations. The changes also include new dependencies and configuration updates to support the UI and backend functionality.
Admin Dashboard and Authentication
src/app/admin/dashboard/page.tsx) with ticket analytics, data table, and section cards components for ticket management.src/app/admin/login/page.tsx) with password authentication and error handling.src/app/admin/layout.tsx) featuring sidebar navigation, logout functionality, and responsive design.src/app/api/admin/auth/route.ts) to handle admin login/logout and session management using cookies.Ticket Management API Endpoints
src/app/api/admin/checkin/route.ts: Allows admins to check in/out tickets and handles edge cases like multiple tickets per email.src/app/api/admin/ticket/route.ts: Fetches individual ticket details by ID for admins.src/app/api/admin/tickets/route.ts: Lists all tickets for admins, sorted by creation date.Configuration and Dependency Updates
components.jsonto configure UI framework, Tailwind, and component aliases for streamlined development.package.jsonto include new dependencies for UI components, drag-and-drop, Supabase, Stripe, charting, and utility libraries.