refactor(admin): split AIUseCaseModuleEditor, DataPointCatalog, ProjectSelector components

AIUseCaseModuleEditor (698 LOC) → thin orchestrator (187) + constants (29) +
barrel tabs (4) + tabs implementation split into SystemData (261), PurposeAct
(149), RisksReview (219). DataPointCatalog (658 LOC) → main (291) + helpers
(190) + CategoryGroup (124) + Row (108). ProjectSelector (656 LOC) → main
(211) + CreateProjectDialog (169) + ProjectActionDialog (140) + ProjectCard
(128). All files now under 300 LOC soft target and 500 LOC hard cap.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-04-17 09:15:23 +02:00
parent ad6e6019e9
commit ada50f0466
14 changed files with 1588 additions and 1390 deletions

View File

@@ -0,0 +1,4 @@
// Barrel re-export — implementation split into focused files
export { Tab1System, Tab2Data } from './AIUseCaseTabsSystemData'
export { Tab3Purpose, Tab4AIAct } from './AIUseCaseTabsPurposeAct'
export { Tab5Risks, Tab6PrivacyByDesign, Tab7Review } from './AIUseCaseTabsRisksReview'