feat: complete CMS v2 with Docker, Fischerei, Meetings, Verband modules + UX audit fixes
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 6m26s
Workflow / ⚫️ Test (push) Has been skipped

Major changes:
- Docker Compose: full Supabase stack (11 services) equivalent to supabase CLI
- Fischerei module: 16 DB tables, waters/species/stocking/catch books/competitions
- Sitzungsprotokolle module: meeting protocols, agenda items, task tracking
- Verbandsverwaltung module: federation management, member clubs, contacts, fees
- Per-account module activation via Modules page toggle
- Site Builder: live CMS data in Puck blocks (courses, events, membership registration)
- Public registration APIs: course signup, event registration, membership application
- Document generation: PDF member cards, Excel reports, HTML labels
- Landing page: real Com.BISS content (no filler text)
- UX audit fixes: AccountNotFound component, shared status badges, confirm dialog,
  pagination, duplicate heading removal, emoji→badge replacement, a11y fixes
- QA: healthcheck fix, API auth fix, enum mismatch fix, password required attribute
This commit is contained in:
Zaid Marzguioui
2026-03-31 16:35:46 +02:00
parent 16648c92eb
commit ebd0fd4638
176 changed files with 17133 additions and 981 deletions

View File

@@ -10,6 +10,7 @@ import { Card, CardContent, CardHeader, CardTitle } from '@kit/ui/card';
import { createFinanceApi } from '@kit/finance/api';
import { CmsPageShell } from '~/components/cms-page-shell';
import { AccountNotFound } from '~/components/account-not-found';
interface PageProps {
params: Promise<{ account: string; batchId: string }>;
@@ -64,7 +65,7 @@ export default async function SepaBatchDetailPage({ params }: PageProps) {
.eq('slug', account)
.single();
if (!acct) return <div>Konto nicht gefunden</div>;
if (!acct) return <AccountNotFound />;
const api = createFinanceApi(client);

View File

@@ -2,6 +2,7 @@ import { getSupabaseServerClient } from '@kit/supabase/server-client';
import { CreateSepaBatchForm } from '@kit/finance/components';
import { CmsPageShell } from '~/components/cms-page-shell';
import { AccountNotFound } from '~/components/account-not-found';
interface Props {
params: Promise<{ account: string }>;
@@ -17,7 +18,7 @@ export default async function NewSepaBatchPage({ params }: Props) {
.eq('slug', account)
.single();
if (!acct) return <div>Konto nicht gefunden</div>;
if (!acct) return <AccountNotFound />;
return (
<CmsPageShell account={account} title="Neuer SEPA-Einzug" description="SEPA-Lastschrifteinzug erstellen">

View File

@@ -11,30 +11,16 @@ import { createFinanceApi } from '@kit/finance/api';
import { CmsPageShell } from '~/components/cms-page-shell';
import { EmptyState } from '~/components/empty-state';
import { AccountNotFound } from '~/components/account-not-found';
import {
BATCH_STATUS_VARIANT,
BATCH_STATUS_LABEL,
} from '~/lib/status-badges';
interface PageProps {
params: Promise<{ account: string }>;
}
const STATUS_VARIANT: Record<
string,
'secondary' | 'default' | 'info' | 'outline' | 'destructive'
> = {
draft: 'secondary',
ready: 'default',
submitted: 'info',
completed: 'outline',
failed: 'destructive',
};
const STATUS_LABEL: Record<string, string> = {
draft: 'Entwurf',
ready: 'Bereit',
submitted: 'Eingereicht',
completed: 'Abgeschlossen',
failed: 'Fehlgeschlagen',
};
const formatCurrency = (amount: unknown) =>
new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(
Number(amount),
@@ -50,7 +36,7 @@ export default async function SepaPage({ params }: PageProps) {
.eq('slug', account)
.single();
if (!acct) return <div>Konto nicht gefunden</div>;
if (!acct) return <AccountNotFound />;
const api = createFinanceApi(client);
const batches = await api.listBatches(acct.id);
@@ -115,10 +101,10 @@ export default async function SepaPage({ params }: PageProps) {
<td className="p-3">
<Badge
variant={
STATUS_VARIANT[String(batch.status)] ?? 'secondary'
BATCH_STATUS_VARIANT[String(batch.status)] ?? 'secondary'
}
>
{STATUS_LABEL[String(batch.status)] ??
{BATCH_STATUS_LABEL[String(batch.status)] ??
String(batch.status)}
</Badge>
</td>