View Detailed Information for an Organization Unit
Tapping an org unit node in the tree or navigating directly to it opens the Org Level Detail Screen. The screen displays the unit's full metadata: its name, organizational type (national/region/local), its parent in the hierarchy, how many child units it contains, which coordinators are assigned to it, and a summary of activity statistics attributed to this level. Authorized admins additionally see edit and delete action controls. The data is fetched via the Org Structure Repository using joined queries across the four hierarchy tables.
User Story
Acceptance Criteria
- Given I tap on an organizational unit in the tree, when the detail screen opens, then I see the unit name, type badge, and its parent association name
- Given I am viewing a regional unit detail, when the screen loads, then I see the count of local associations under it and the list of assigned coordinators
- Given I am viewing a national association detail, when I scroll the activity statistics section, then I see aggregated activity counts attributed to this organizational level
- Given I am an Organization Administrator, when I view the detail screen for a unit in my organization, then I see Edit and Delete action controls
- Given I am viewing a unit with no assigned coordinators, when the screen loads, then a clear empty-state message is shown for the coordinators section
Business Value
Detailed unit views provide administrators with the information density needed to audit organizational correctness, identify understaffed regions, and verify that activity statistics are rolling up to the right tiers for Bufdir reporting. This replaces manual spreadsheet lookups and enables data-driven structural decisions.
Components
- Org Level Detail Screen ui
- Org Level Widget ui
- Org Structure Service service
- Activity Attribution Service service
- Org Structure Repository data
- Org Structure RLS Policy infrastructure