diff --git a/knip.json b/knip.json index 90d913d63..01aeeff49 100644 --- a/knip.json +++ b/knip.json @@ -47,7 +47,6 @@ ".next/**", "**/__mocks__/**", "e2e/setup/test-helpers.ts", - "src/components/charts/compliance-line-chart.tsx", "src/lib/logging/index.ts" ], "ignoreDependencies": [ diff --git a/src/components/settings/settings-shell.tsx b/src/components/settings/settings-shell.tsx index a23c4470f..287bcad7b 100644 --- a/src/components/settings/settings-shell.tsx +++ b/src/components/settings/settings-shell.tsx @@ -81,16 +81,6 @@ export type SettingsSectionGroup = | "connectivity" | "system"; -export const SETTINGS_SECTION_GROUP_ORDER: readonly SettingsSectionGroup[] = [ - "account", - "yourData", - "display", - "healthProfile", - "ai", - "connectivity", - "system", -]; - /** i18n key for each group's header label, under `settings.shell.groups.*`. */ export const SETTINGS_SECTION_GROUP_LABEL_KEYS: Record< SettingsSectionGroup, @@ -130,9 +120,9 @@ interface SettingsSection { * order with no visual structure (19 entries deep, the AI cluster and the * programmatic-access cluster interleaved, the health-profile pair split * across the list). It is now clustered into the seven - * `SettingsSectionGroup`s (`SETTINGS_SECTION_GROUP_ORDER`), each entry - * carrying its `group`; the shell inserts a non-interactive header before - * the first VISIBLE entry of each group. This is a presentation-only + * `SettingsSectionGroup`s, each entry carrying its `group`; the list is + * pre-ordered by group and the shell inserts a non-interactive header + * before the first VISIBLE entry of each group. This is a presentation-only * reorder — no slug, route, or redirect changed, and `SETTINGS_SECTION_SLUGS` * (`section-slugs.ts`, which also carries the page-only slugs and drives * `generateStaticParams()`) is untouched.