feat: show managed integration status

- Render a record-keyed status view for managed profiles\n- Refuse shared Settings links before actor controls mount\n- Localize intentional unavailable states
This commit is contained in:
Marc-André Bombeck committed 2026-08-06 02:38:54 +02:00
1 parent 54cd3e3959
commit 03ee01ba56
17 files changed
+343 -32

No files matched your search

+8 -1
View File
@@ -39,6 +39,7 @@ import {
type SettingsSectionSlug,
} from "@/components/settings/section-slugs";
import { SettingsShell } from "@/components/settings/settings-shell";
import { RecordSettingsSectionGate } from "@/components/settings/record-settings-section-gate";
/**
* Dynamic settings section route. Each of the `SETTINGS_SECTION_SLUGS`
@@ -128,5 +129,11 @@ export default async function SettingsSectionPage({ params }: PageProps) {
<SectionPlaceholder slug={section} />
);
return <SettingsShell active={section}>{body}</SettingsShell>;
return (
<SettingsShell active={section}>
<RecordSettingsSectionGate section={section}>
{body}
</RecordSettingsSectionGate>
</SettingsShell>
);
}