feat(frontend): add Run now button and matching runs list on event details page

- New adminAPI for run-now and runs listing
- MatchingRunsSection with refresh and run controls
- Integrate into EventDetailsPage under matching configuration
This commit is contained in:
Radosław Gierwiało
2025-11-30 13:20:33 +01:00
parent 537dd112ff
commit 7e2a196f99
4 changed files with 168 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import QRCodeSection from '../components/events/QRCodeSection';
import ParticipantsSection from '../components/events/ParticipantsSection';
import MatchingConfigSection from '../components/events/MatchingConfigSection';
import ScheduleConfigSection from '../components/events/ScheduleConfigSection';
import MatchingRunsSection from '../components/events/MatchingRunsSection';
export default function EventDetailsPage() {
const { slug } = useParams();
@@ -105,6 +106,11 @@ export default function EventDetailsPage() {
<MatchingConfigSection slug={slug} event={event} onRefresh={fetchEventDetails} />
</div>
{/* Matching Runs (admin tools) */}
<div className="mt-6">
<MatchingRunsSection slug={slug} />
</div>
{/* Schedule Configuration */}
<div className="mt-6">
<ScheduleConfigSection slug={slug} event={event} onRefresh={fetchEventDetails} />