Implement event feedback functionality: Add EventFeedback model to Prisma schema, enabling users to submit ratings and comments for events. Update EventsPageSection and AdminPanel components to support feedback management, including UI for submitting feedback and viewing existing feedbacks. Refactor registration logic to retrieve all user registrations for improved feedback handling.

This commit is contained in:
Julien Froidefond
2025-12-10 06:11:32 +01:00
parent 44be5d2e98
commit 3bd43e777e
19 changed files with 2818 additions and 33 deletions

View File

@@ -59,6 +59,11 @@ export type Event = Prisma.EventModel
*
*/
export type EventRegistration = Prisma.EventRegistrationModel
/**
* Model EventFeedback
*
*/
export type EventFeedback = Prisma.EventFeedbackModel
/**
* Model SitePreferences
*