-
Notifications
You must be signed in to change notification settings - Fork 0
General fixes #37
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
General fixes #37
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # apps/web/src/routes/events/$eventId/index.tsx # apps/web/src/routes/me/index.tsx
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 implements a comprehensive event registration system with both frontend and backend functionality. The changes enable users to register for events, view their registrations, and provide committee members with tools to manage events and registrations.
- Adds complete registration workflow including creation, viewing, and deletion of registrations
- Implements a "My Events" page where users can view their registered events
- Updates event detail pages to show registration status and disable re-registration
- Enhances UI with registration status badges and improved event management controls
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| apps/web/src/styles.css | Reorganizes and updates CSS color variables for better theme consistency |
| apps/web/src/routes/me/index.tsx | Adds new "My Events" page to display user's event registrations |
| apps/web/src/routes/events/$eventId/index.tsx | Integrates registration display and updates event management toolbar with icons |
| apps/web/src/lib/hooks/use-create-registration.tsx | Implements custom hook for creating event registrations with toast notifications |
| apps/web/src/lib/data/users.ts | Adds server function to fetch user's registrations from API |
| apps/web/src/lib/data/registration.ts | Implements registration data layer with create and fetch operations |
| apps/web/src/lib/data/event.ts | Adds whitespace formatting and exports eventIDSchema |
| apps/web/src/components/ui/dialog.tsx | Removes unused DialogClose component and adjusts overlay opacity |
| apps/web/src/components/registration-status-badge.tsx | Creates badge component to display registration status (pending, accepted, etc.) |
| apps/web/src/components/registration-card.tsx | Implements card component for displaying registration in list view |
| apps/web/src/components/registration-block.tsx | Creates block component to show registration status on event detail page |
| apps/web/src/components/layout/window/docs-toolbar.tsx | Updates toolbar visibility to show on mobile devices |
| apps/web/src/components/layout/protected-route.tsx | Adds optional committee requirement for protected routes |
| apps/web/src/components/controlls/register-event-button.tsx | Connects registration form to actual submission logic with disabled state handling |
| apps/web/src/components/controlls/delete-event-button.tsx | Converts delete button to icon button with tooltip |
| apps/shared/src/registrations/schemas.ts | Updates schema to include event details in registration responses |
| apps/api/src/modules/users/store.ts | Adds database query to fetch user registrations with joined event data |
| apps/api/src/modules/users/service.ts | Implements service method for fetching user registrations |
| apps/api/src/modules/users/route.ts | Adds endpoint to retrieve authenticated user's registrations |
| apps/api/src/modules/users/route.test.ts | Adds comprehensive tests for user registrations endpoint |
| apps/api/src/modules/registration/store.ts | Updates store to return enriched registration data with event details |
| apps/api/src/modules/registration/service.ts | Adds service methods for fetching registrations with authorization |
| apps/api/src/modules/registration/schema.ts | Adds query filter schema for registration pagination and filtering |
| apps/api/src/modules/registration/route.ts | Implements endpoints for listing registrations and fetching user's own registration |
| apps/api/src/modules/registration/route.test.ts | Adds tests for new registration endpoints |
| apps/api/src/modules/events/store.ts | Updates event deletion to cascade delete registrations in transaction |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.