Improve admin candidate modal UX and add clip menu visibility toggle
- Widen AdminCandidateEditorModal to size lg for better readability - Rename "Clip-Compilation" section to "Clip / Compilation", update copy to reflect single clips too, drop upload hint and Clip-Plattform field, rename label to "Link" - Fix NativeSelect dropdown clipping inside overflow-y-auto modals by teleporting the menu to body with fixed positioning, flip-up logic, and dynamic maxHeight capped to viewport - Add ClipAdminMenuVisible setting (backend domain, contracts, endpoint, migration) with matching frontend types, defaults, form wiring, and toggle in the Clip-Workflow modal — hides the Clips nav item from the admin sidebar when disabled Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,11 @@ public sealed record WinnerPreviewDto(
|
||||
string WinnerName,
|
||||
string WinnerSlug,
|
||||
string WinnerPlatform,
|
||||
string WinnerUrl);
|
||||
string WinnerUrl,
|
||||
string? ClipUrl,
|
||||
string? ClipTitle,
|
||||
string? ClipPlatform,
|
||||
string? ClipEmbedStatus);
|
||||
|
||||
public sealed record ArchiveYearDto(
|
||||
int Year,
|
||||
@@ -57,6 +61,14 @@ public sealed record PublicSiteStatusResponse(
|
||||
string MaintenanceTitle,
|
||||
string MaintenanceMessage);
|
||||
|
||||
public sealed record PublicFeatureFlagsDto(
|
||||
bool ClipSubmissionsEnabled,
|
||||
bool ClipReviewEnabled,
|
||||
string ClipSubmissionDisabledMessage,
|
||||
bool ShowactApplicationsEnabled,
|
||||
string ShowactApplicationDisabledMessage,
|
||||
bool SponsorsVisible);
|
||||
|
||||
public sealed record OverviewResponse(
|
||||
int SeasonId,
|
||||
int Year,
|
||||
@@ -72,4 +84,5 @@ public sealed record OverviewResponse(
|
||||
IEnumerable<WinnerPreviewDto> WinnersPreview,
|
||||
IEnumerable<ArchiveYearDto> ArchiveYears,
|
||||
PublicSiteContentDto SiteContent,
|
||||
PublicFeatureFlagsDto FeatureFlags,
|
||||
IEnumerable<FaqItemDto> Faq);
|
||||
|
||||
Reference in New Issue
Block a user