feat(settings): give the health record its own Gesundheitsakte entry

Lift the full health-record export (PDF + FHIR R4 + zip package) out of
Export & Import into a dedicated top-level Gesundheitsakte section. Export
& Import keeps the generic CSV/JSON data-out and import paths only. The
new section is always available (not module-gated).
This commit is contained in:
Marc-André Bombeck committed 2026-06-15 23:14:28 +02:00
1 parent 604778f166
commit 59fea72d8b
15 files changed
+161 -34

No files matched your search

+3 -2
View File
@@ -8,6 +8,7 @@ import { AiSection } from "@/components/settings/ai-section";
import { ApiSection } from "@/components/settings/api-section";
import { DashboardSection } from "@/components/settings/dashboard-section";
import { ExportSection } from "@/components/settings/export-section";
import { GesundheitsakteSection } from "@/components/settings/gesundheitsakte-section";
import { InsightsSection } from "@/components/settings/insights-section";
import { IntegrationsSection } from "@/components/settings/integrations-section";
import { LayoutSection } from "@/components/settings/layout-section";
@@ -29,8 +30,7 @@ import { SettingsShell } from "@/components/settings/settings-shell";
/**
* Dynamic settings section route. Each of the `SETTINGS_SECTION_SLUGS`
* (14 today — 10 nav-visible sections plus the four routable-but-hidden
* Layout child editors) is pre-rendered at build via
* is pre-rendered at build via
* `generateStaticParams()` so the URLs are
* statically known to Next.js, while the `dynamicParams = false` flag below
* tells the router to 404 (instead of attempting on-demand rendering) for any
@@ -61,6 +61,7 @@ const SECTION_COMPONENTS: Record<
mood: MoodSection,
thresholds: ThresholdsSection,
api: ApiSection,
gesundheitsakte: GesundheitsakteSection,
export: ExportSection,
advanced: AdvancedSection,
};