Organization Labels Provider
Component Detail
Infrastructure
low complexity
Shared Component
frontendmobile
1
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Riverpod provider supplying organization-specific terminology strings (e.g., 'peer mentor' vs 'likeperson' vs 'kontaktperson') used in UI labels throughout the app. The peer mentor detail screen uses this to render role names and section headings correctly per organization.
org-labels-provider
Responsibilities
- Supply dynamic label strings keyed by organization ID and label key
- Provide fallback default labels when org-specific override is absent
- Expose reactive stream so label changes propagate to UI automatically
Interfaces
orgLabelsProvider
String getLabel({required String orgId, required String labelKey})
Map<String, String> getAllLabels(String orgId)
Stream<Map<String, String>> watchLabels(String orgId)
Relationships
Dependencies (1)
Components this component depends on
Related Data Entities (1)
Data entities managed by this component