feat(settings): turn Appearance into a hub of per-module subpages

Appearance ("Darstellung") stacked every module's view and ordering
settings on one long page. Split it into a hub that lists the modules as
navigable rows, each opening its own /settings/layout/<module> subpage
with a back link — the per-module settings move verbatim, no restyling.
The module routes now redirect to those subpages instead of an in-page
anchor, and the in-app cogs link straight to them.
This commit is contained in:
Marc-André Bombeck committed 2026-06-30 18:53:50 +02:00
1 parent fa2e2c6ba2
commit a01c9d0435
20 files changed
+451 -205

No files matched your search

@@ -49,7 +49,9 @@ describe("<InsightsEditMode> — detail-page manager retired (v1.15.20)", () =>
it("links to the settings pill section instead", () => {
const html = renderEditMode();
expect(html).toContain('data-slot="insights-edit-manage-link"');
expect(html).toContain('href="/settings/insights#insights-pill-order"');
expect(html).toContain(
'href="/settings/layout/insights#insights-pill-order"',
);
expect(html).toContain("Manage pills &amp; detail pages in Settings");
});
@@ -279,7 +279,7 @@ export function InsightsEditMode({
the Vitals row duplicated it. Keep a quiet pointer instead. */}
<p className="text-muted-foreground text-xs">
<Link
href="/settings/insights#insights-pill-order"
href="/settings/layout/insights#insights-pill-order"
data-slot="insights-edit-manage-link"
className="hover:text-foreground focus-visible:ring-ring rounded underline underline-offset-2 focus-visible:ring-2 focus-visible:outline-none"
>
@@ -882,7 +882,7 @@ function InsightsTabStripImpl({
point. */}
{onRegenerate && (
<Link
href="/settings/insights"
href="/settings/layout/insights"
aria-label={customizeLabel}
title={customizeLabel}
data-slot="insights-tab-strip-customize"