OrgHierarchyPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Displays and manages the layered organizational structure for NHF and similar organizations. Provides tree-based visualization of national, regional, and local association relationships with controls for creating, editing, and reordering nodes. Includes configuration panels for activity rollup rules and duplicate-detection settings per hierarchy level.
org-hierarchy-page
Sources & reasoning
Line 109 states NHF has 1,400 local associations with a hard requirement that activity attribution across levels be supported. Line 107 adds duplicate-registration detection across coordinator levels. NHF is a Phase 1 launch organization (line 323), making the hierarchy model an MVP requirement.
-
docs/source/likeperson.md · line 109Bredest organisasjonsstruktur: 12 landsforeninger, 9 regioner, 1 400 lokallag - aktivitetsfordeling mellom ledd må støttes.
-
docs/source/likeperson.md · line 107Duplikatvarsling: Fange opp når samme aktivitet registreres av flere koordinatorer.
Responsibilities
- Render interactive tree view of parent-child organization relationships
- Provide forms for creating and editing hierarchy nodes and their attributes
- Display rollup configuration options per hierarchy level
- Show duplicate-detection rule settings with conflict highlighting
- Reflect validation errors and constraint violations from the service layer
Interfaces
renderHierarchyTree(orgTree: OrgNode[]): void
openNodeEditor(orgId: string): void
onRollupConfigChange(orgId: string, config: RollupConfig): void
onDuplicateRuleChange(orgId: string, rule: DuplicateRule): void
Related Data Entities (2)
Data entities managed by this component