Skip to content

Conversation

@HJyup
Copy link
Collaborator

@HJyup HJyup commented Jan 7, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 7, 2026 10:29
@vercel
Copy link

vercel bot commented Jan 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
events-comp-soc-com-web Ready Ready Preview, Comment Jan 7, 2026 10:31am

# Conflicts:
#	apps/web/src/routes/events/$eventId/index.tsx
#	apps/web/src/routes/me/index.tsx
@HJyup HJyup merged commit c0217e7 into main Jan 7, 2026
4 checks passed
@HJyup HJyup deleted the general-fixes branch January 7, 2026 10:31
Copy link

Copilot AI left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants