TerminologyEditorPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Admin portal page that lets Org Admins view and override the default display labels used across the platform. Presents a list of all configurable terminology keys with their current values and inline editing controls. Changes are submitted per-org and take effect immediately for all clients.
terminology-editor-page
Sources & reasoning
Directly described in the Mobile App Architecture section (line 305-307) as a built-in capability, and grouped with organization settings in the MVP admin scope (line 325). Multiple organizations explicitly use different terminology for the same concepts, making this a launch-critical capability rather than a deferred enhancement.
-
docs/source/likeperson.md · line 305-307Organization labels system - per-org terminology overrides fetched from backend and cached offline (currently: `contacts`, `my_contacts`, `peer_mentors`; extensible to singular forms and role terms
-
docs/source/likeperson.md · line 325Organisasjonsinnstillinger og terminologikonfigurasjon
Responsibilities
- Render the full list of terminology keys with their current org-level overrides and platform defaults
- Provide inline editing controls for each label with validation and save/cancel actions
- Display save confirmation and error feedback after submission
- Load existing overrides from OrganizationLabelsService on mount
- Disable editing for non-admin users and show read-only view
Interfaces
loadLabels(orgId: string): Promise<LabelOverrideMap>
saveLabel(orgId: string, key: string, value: string): Promise<void>
resetLabel(orgId: string, key: string): Promise<void>