Files
HealthLog/src/components/settings/vorsorge-section.tsx
T
Marc-André Bombeck 71dbef1742 feat(settings): nine groups, module pages and one switch per state
Settings now reads as nine groups: Account, Tracking, Arrangement,
Notifications, Health profile, AI, Connections, Data and System. On a
phone one button names the current section and opens the grouped list,
replacing the strip of every section.

What moved, every old address still working:
- Sessions, trusted devices and security activity sit under Security;
  the privacy page anchors forward there.
- Notifications holds every reminder kind: the Coach nudges and the
  checkup reminder switches joined, and a card names the reminders set
  where their subject lives (dose times, cycle reminders).
- Arrangement holds order and view only. Mood tags, the labs biomarker
  catalog and on-device text recognition, and the injection sites live on
  module pages under /settings/modules/<id>, linked from each Modules row
  and from the module's own wrench. /settings/layout/mood redirects.
- The timezone saves on change in the Display card, with a one-tap offer
  of the device zone.
- Screening hints sit beside the life circumstances they come from.
- System gains Preview features with the Topics switch.

Duplicates: the Coach and MCP pages show their state and link to the one
switch in Modules (turning MCP off keeps tokens), the Coach overlay shows
the provider and model with a link to Settings > AI instead of a second
set of selects, and the privacy page drops its copy of the export links.

A guard walks every historical /settings address through the redirects
and every forwarded anchor to a page that renders.
2026-10-21 19:43:02 +02:00

27 lines
929 B
TypeScript

"use client";
/**
* v1.18.7 — Settings → Vorsorge.
*
* The preventive-care reminders customise surface (list view, order,
* individual reminders) was a standalone `ModuleSettingsFrame` page at
* `/settings/vorsorge`; it now renders as a first-class Settings section.
* The shell supplies the page chrome (left nav, heading, subtitle) so this
* body is the preventive-care cards only. Preventive-care reminders are not
* a toggleable module, so this entry carries no `moduleGate` (always shown).
*
* v1.44 — order and view only. The reminder switches moved to Settings >
* Notifications, the screening hints to Health profile > Medical history
* beside the life circumstances they come from.
*/
import { VorsorgeSettings } from "@/components/measurement-reminders/vorsorge-settings";
export function VorsorgeSection() {
return (
<div className="space-y-6">
<VorsorgeSettings />
</div>
);
}