diff --git a/apps/web/src/components/os/apps/CockpitApp.test.tsx b/apps/web/src/components/os/apps/CockpitApp.test.tsx index 22e1ee8..5a59b22 100644 --- a/apps/web/src/components/os/apps/CockpitApp.test.tsx +++ b/apps/web/src/components/os/apps/CockpitApp.test.tsx @@ -17,9 +17,6 @@ const mocks = vi.hoisted(() => ({ })); vi.mock('@/lib/adapter', () => ({ adapter: mocks.adapter, default: vi.fn() })); -vi.mock('@/components/os/apps/cockpit/ComplianceDashboard', () => ({ - default: () =>
, -})); import CockpitApp from './CockpitApp'; diff --git a/apps/web/src/components/os/apps/CockpitApp.tsx b/apps/web/src/components/os/apps/CockpitApp.tsx index 38b07f9..4bc23b7 100644 --- a/apps/web/src/components/os/apps/CockpitApp.tsx +++ b/apps/web/src/components/os/apps/CockpitApp.tsx @@ -4,7 +4,6 @@ import { adapter } from '@/lib/adapter'; import { DATE_LOCALE } from '@/lib/date-locale'; import type { CronJob } from '@/lib/types'; import { describeCronExpr } from '@/lib/cron-presets'; -import ComplianceDashboard from './cockpit/ComplianceDashboard'; interface CockpitData { health?: { status: string; uptime: number; services: { name: string; status: string }[] }; @@ -318,8 +317,6 @@ const CockpitApp = () => { )} - {/* AI Act Compliance */} -{error}
- ) : ( -Compliance monitoring initializing...
- )} - -- Template sections merge with runtime toggles (union). Template can add sections, never hide them. -
- )} - -{art.metric}
-{art.hint}
-- Last sync {formatRelative(mostRecentSync)} - {harvestSources.length > 0 && ( - <> · {harvestSources.slice(0, 3).map(s => s.displayName).join(', ')}> - )} - {harvestSources.length > 3 && <> +{harvestSources.length - 3}>} -
-- No templates yet. Create one to save a preferred report shape. -
- ) : ( - templates.map(t => ( -{t.description}
- )} -- {SECTION_LABELS.filter(s => t.sections[s.key]).map(s => s.label).join(' · ') || 'no sections'} -
-