Threshold Config Admin Widget
Component Detail
Infrastructure
low complexity
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Next.js admin portal UI component under Organization Management allowing org admins to define and edit the threshold rule set (count, label, action type) for their organization. Renders a form backed by ThresholdRulesConfigService.
threshold-config-admin-widget
Responsibilities
- Display existing threshold rules in an editable list
- Allow adding, editing, and removing threshold rules
- Validate input and show inline errors before submitting
- Call ThresholdRulesConfigService to persist changes
Interfaces
ThresholdConfigWidget(organizationId: string) → JSX.Element
onSave(rules: ThresholdRule[]) → Promise<void>