Event admin redesign #153
Reference in New Issue
Block a user
Delete Branch "event-admin-redesign"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request primarily removes the appointment and participant management UI and logic from the event admin interface, streamlining the event administration experience. It also introduces a new dedicated participant admin page, cleans up unused imports, and applies minor UI and code style improvements across several components.
Admin Event Management Refactor:
Form.tsx). This includes deleting theAppointmentModalcomponent and all logic related to handling appointments and participant attendance directly in the event form. [1] [2] [3]admin/event/[id]/participant/[participantId]/page.tsx, which fetches and displays participant details and provides a dedicated participant form. (apps/hub/app/(app)/admin/event/[id]/participant/[participantId]/page.tsxR1-R55)Frontend/UI Cleanups:
Footercomponent to eliminate unnecessary code and dependencies.FeaturedEvents.tsxandFirstPath.tsx, for better readability and consistency. [1] [2] [3] [4] [5]EventCardcomponents by removingappointmentsandselectedAppointmentsprops, as this data is no longer needed after the refactor. [1] [2] [3]Business Logic Adjustments:
eventCompletedhelper to remove the check for participant attendance at presence events, aligning with the new event completion logic.