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.

Feature: Peer Mentor Profile & Status Screen

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

API Contract

View full contract →
REST /api/v1/organization-labels 7 endpoints
GET /api/v1/organization-labels
GET /api/v1/organization-labels/:key
POST /api/v1/organization-labels
PUT /api/v1/organization-labels/:key
DELETE /api/v1/organization-labels/:key
POST /api/v1/organization-labels/initialize
+1 more