fix: comprehensive CMS QA fixes — i18n, UI labels, breadcrumbs
- Fix i18n dotted permission keys causing INVALID_KEY console spam (en/de cms.json) - Fix member detail breadcrumb showing UUID instead of member name - Fix bookings stats card showing 'of' instead of 'Total' - Fix events/registrations table 'status' column header resolving to object - Fix finance search placeholder showing 'Show All' instead of search text - Fix finance status filter default showing 'No data' instead of 'All' - Fix applications page German pluralization 'Antrage' → 'Anträge' - Add breadcrumbValues prop to CmsPageShell for UUID→name overrides
This commit is contained in:
@@ -9,6 +9,8 @@ interface CmsPageShellProps {
|
||||
account: string;
|
||||
title: string;
|
||||
description?: string;
|
||||
/** Override breadcrumb labels for URL path segments (e.g. UUID → name) */
|
||||
breadcrumbValues?: Record<string, string>;
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
@@ -20,6 +22,7 @@ export function CmsPageShell({
|
||||
account,
|
||||
title,
|
||||
description,
|
||||
breadcrumbValues,
|
||||
children,
|
||||
}: CmsPageShellProps) {
|
||||
return (
|
||||
@@ -28,7 +31,11 @@ export function CmsPageShell({
|
||||
account={account}
|
||||
title={title}
|
||||
description={
|
||||
description !== undefined ? description : <AppBreadcrumbs />
|
||||
description !== undefined ? (
|
||||
description
|
||||
) : (
|
||||
<AppBreadcrumbs values={breadcrumbValues} />
|
||||
)
|
||||
}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user