feat: lunch picker on attending-members card + admin slide-over

LunchPickForm shared between applicant dashboard rows (member-self /
team-lead context) and the admin manifest's edit-pencil slide-over.
Adds lunch.getMemberPick read for the per-row hydration.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt
2026-04-29 02:49:08 +02:00
parent ec24d404c5
commit df95867465
5 changed files with 350 additions and 30 deletions

View File

@@ -2727,7 +2727,9 @@ export const applicantRouter = router({
},
finalistConfirmation: {
include: {
attendingMembers: { select: { userId: true, needsVisa: true } },
attendingMembers: {
select: { id: true, userId: true, needsVisa: true },
},
},
},
},
@@ -2757,6 +2759,7 @@ export const applicantRouter = router({
project: {
id: project.id,
title: project.title,
programId: project.program.id,
teamMembers: project.teamMembers.map((tm) => ({
userId: tm.userId,
role: tm.role,