refactor(admin): split dsfa/[id] and notfallplan page.tsx into colocated components

dsfa/[id]/page.tsx (1893 LOC -> 350 LOC) split into 9 components:
Section1-5Editor, SDMCoverageOverview, RAGSearchPanel, AddRiskModal,
AddMitigationModal. Page is now a thin orchestrator.

notfallplan/page.tsx (1890 LOC -> 435 LOC) split into 8 modules:
types.ts, ConfigTab, IncidentsTab, TemplatesTab, ExercisesTab, Modals,
ApiSections. All under the 500-line hard cap.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-04-11 18:51:54 +02:00
parent 6c883fb12e
commit ef8284dff5
20 changed files with 3208 additions and 3195 deletions

View File

@@ -0,0 +1,9 @@
export { Section1Editor } from './Section1Editor'
export { Section2Editor } from './Section2Editor'
export { Section3Editor } from './Section3Editor'
export { Section4Editor } from './Section4Editor'
export { Section5Editor } from './Section5Editor'
export { SDMCoverageOverview } from './SDMCoverageOverview'
export { RAGSearchPanel } from './RAGSearchPanel'
export { AddRiskModal } from './AddRiskModal'
export { AddMitigationModal } from './AddMitigationModal'