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

@@ -154,6 +154,7 @@ export function SettingsContent({ initialSettings, isSuperAdmin = true }: Settin
'applicant_show_livefinal_scores',
'applicant_show_deliberation_feedback',
'applicant_hide_feedback_from_rejected',
'applicant_allow_description_edit',
])
const auditSecuritySettings = getSettingsByKeys([
@@ -854,6 +855,15 @@ function AnalyticsSettingsSection({ settings }: { settings: Record<string, strin
value={settings.applicant_hide_feedback_from_rejected || 'false'}
/>
</div>
<div className="border-t pt-4 space-y-3">
<Label className="text-sm font-medium">Applicant Editing</Label>
<SettingToggle
label="Allow Description Editing"
description="Let applicants edit their project description from the dashboard"
settingKey="applicant_allow_description_edit"
value={settings.applicant_allow_description_edit || 'false'}
/>
</div>
<div className="border-t pt-4 space-y-3">
<Label className="text-sm font-medium">PDF Reports</Label>
<SettingToggle