feat(frontend): add recording matching UI

Add frontend components for auto-matching recording partners:

- RecordingTab component with suggestions list and opt-out toggle
- Tab navigation in EventChatPage (Chat, Uczestnicy, Nagrywanie)
- Matching configuration in EventDetailsPage (deadline, run matching)
- matchingAPI functions in api.js
- Return registrationDeadline and matchingRunAt in GET /events/:slug/details

UI allows users to:
- View who will record their heats
- View heats they need to record
- Accept/reject suggestions
- Opt-out from being a recorder
- Set registration deadline (admin)
- Manually trigger matching (admin)
This commit is contained in:
Radosław Gierwiało
2025-11-23 18:50:35 +01:00
parent c18416ad6f
commit a5a1296a4e
6 changed files with 657 additions and 35 deletions

View File

@@ -379,6 +379,8 @@ router.get('/:slug/details', authenticate, async (req, res, next) => {
startDate: event.startDate,
endDate: event.endDate,
description: event.description,
registrationDeadline: event.registrationDeadline,
matchingRunAt: event.matchingRunAt,
},
checkin: {
token: checkinToken.token,