mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
Promote the three per-module customise surfaces from standalone
ModuleSettingsFrame pages to first-class Settings sections. They now
render inside the Settings shell — same left nav, heading, and chrome as
account / ai / integrations / notifications — instead of their own
back-button-and-title frame outside it.
Add labs, illness, and vorsorge to the slug registry (after mood) and to
SETTINGS_SECTIONS with FlaskConical / Thermometer / CalendarCheck icons.
labs and illness gate on their toggleable modules; vorsorge has no
module, so its entry is always shown. Three thin section components wrap
the existing LabsSettings / IllnessSettings / VorsorgeSettings content,
mirroring MedicationsSection / CoachSection.
Delete the three standalone /settings/{labs,vorsorge,illness} routes so
the wrench deep links resolve through the dynamic [section] route, and
drop ModuleSettingsFrame now that nothing renders it. Add the section
title / subtitle / description keys across all six locales and remove the
dead per-module *.settings.* blocks the old pages consumed.
22 lines
619 B
TypeScript
22 lines
619 B
TypeScript
"use client";
|
|
|
|
/**
|
|
* v1.18.7 — Settings → Krankheitstagebuch.
|
|
*
|
|
* The illness-journal customise surface (list view + episode order) was a
|
|
* standalone `ModuleSettingsFrame` page at `/settings/illness`; it now
|
|
* renders as a first-class Settings section. The shell supplies the page
|
|
* chrome (left nav, heading, subtitle) so this body is the illness cards
|
|
* only. The nav entry is module-gated on `illness`.
|
|
*/
|
|
|
|
import { IllnessSettings } from "@/components/illness/illness-settings";
|
|
|
|
export function IllnessSection() {
|
|
return (
|
|
<div className="space-y-6">
|
|
<IllnessSettings />
|
|
</div>
|
|
);
|
|
}
|