feat: applicant dashboard — team cards, editable description, feedback visibility
All checks were successful
Build and Push Docker Image / build (push) Successful in 9m20s

- Replace flat team names list with proper cards showing roles and badges
- Hide TeamMembers from metadata display, remove Withdraw from header
- Add inline-editable project description (admin-toggleable setting)
- Move applicant feedback visibility from per-round config to admin settings
- Support EVALUATION, LIVE_FINAL, DELIBERATION round types in feedback
- Backwards-compatible: falls back to old per-round config if no settings exist
- Add observer team tab toggle and 10 new SystemSettings seed entries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 17:08:19 +01:00
parent 94814bd505
commit ffe12a9e85
5 changed files with 247 additions and 67 deletions

View File

@@ -52,6 +52,7 @@ export const settingsRouter = router({
'applicant_show_livefinal_feedback', 'applicant_show_livefinal_scores',
'applicant_show_deliberation_feedback',
'applicant_hide_feedback_from_rejected',
'applicant_allow_description_edit',
]
const settings = await ctx.prisma.systemSettings.findMany({
where: { key: { in: keys } },
@@ -77,6 +78,7 @@ export const settingsRouter = router({
deliberationEnabled: flag('applicant_show_deliberation_feedback'),
hideFromRejected: flag('applicant_hide_feedback_from_rejected'),
},
applicantAllowDescriptionEdit: flag('applicant_allow_description_edit'),
}
}),