Feature Toggle Page
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Admin-facing page that lists all platform modules (areas) with on/off switches scoped to the current organization. Surfaces dependency relationships and triggers cascade-enable confirmations when toggling a module requires others.
feature-toggle-page
Sources & reasoning
§170-186 describes module toggles as the platform's core multi-tenancy mechanism; §180 explicitly names admin-organization as the host for the Feature Toggles UI. Must be MVP because the always-on admin areas need this surface from day one to differentiate tenants.
-
docs/source/likeperson.md · line 174-177Module = Area. The canonical areas defined in the area taxonomy (section 8) are the unit of toggling. Each area ID (e.g. `expense-reimbursement`, `encrypted-assignments`, `certification-training`) is a module
-
docs/source/likeperson.md · line 180Admin Web Portal: `admin-dashboard`, `admin-user-management`, `admin-organization`, `admin-security`. `admin-organization` is always-on because it hosts the Feature Toggles UI itself
Responsibilities
- Render the full module catalog with current enabled/disabled state per organization
- Provide toggle controls and confirmation dialogs for enable/disable actions
- Display dependency chains and warn before cascade-enabling required modules
- Surface validation errors when a disable would break dependent modules
- Persist changes through the Module Registry Service and refresh the resolved module set
Interfaces
renderToggleList(orgId): ToggleListView
onToggleModule(moduleId, enabled): ToggleResult
showDependencyDialog(moduleId, dependencies): UserConfirmation
Related Data Entities (2)
Data entities managed by this component