Module Toggle Page
Component Detail
User Interface
medium complexity
frontend
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Admin portal page listing all toggleable platform areas for an organization, showing current enabled state and declared inter-module dependencies. Admins enable or disable modules with dependency resolution surfaced before confirmation.
module-toggle-page
Responsibilities
- Render the full list of toggleable area modules with current enabled/disabled state per organization
- Surface dependency warnings when enabling an area that requires another area to be active
- Implicitly enable required dependency modules and present this to the admin before applying changes
- Display always-on core modules as non-toggleable for transparency without exposing a control
- Reflect change confirmation and show audit feedback after a toggle action is applied
Interfaces
renderToggleList(orgId: string): AreaToggleListView
handleToggle(areaId: string, enabled: boolean): Promise<void>
showDependencyWarning(areaId: string, deps: string[]): void
resolveDependencyChain(areaId: string): string[]
renderAlwaysOnSection(): AlwaysOnModuleView