TerminologyEditorPage
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Admin-facing page that lists all overridable platform labels and allows per-organization remapping. Each term is shown alongside its default value with an inline text field for the custom override. Changes are previewed live before being saved to tenant configuration.
terminology-editor-page
Sources & reasoning
Line 307 makes the labels system a stated mobile architecture requirement fetched at startup and cached offline. Line 244 positions it as one of the three tenant-behaviour mechanisms alongside module toggles. Phase 1 admin scope (line 327) explicitly includes 'terminologikonfigurasjon', confirming MVP classification.
-
docs/source/likeperson.md · line 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 such as peer_mentor, coordinator, contact)
-
docs/source/likeperson.md · line 244terminology/labels system for display strings
-
docs/source/likeperson.md · line 327-328Organisasjonsinnstillinger og terminologikonfigurasjon
Responsibilities
- Render the full list of overridable platform terms with their current values
- Provide inline editing fields for admins to enter custom term overrides
- Validate that overrides are non-empty and within character limits before submission
- Submit updated terminology map to TerminologyService and display success or error feedback
Interfaces
loadTerminologyMap(): TerminologyMap
updateTerm(termKey: string, override: string): void
saveOverrides(overrides: TerminologyMap): Promise<void>
resetToDefault(termKey: string): void
Related Data Entities (1)
Data entities managed by this component