User Interface medium complexity mobile
1
Dependencies
0
Dependents
2
Entities
0
Integrations

Description

Hamburger menu widget that renders the user's active organization memberships and enables single-tap context switching. Visible only when the authenticated user holds more than one active membership.

Feature: Profile Switching

role-switch-widget

Responsibilities

  • Render list of active organization memberships with current context highlighted
  • Dispatch context-switch intent to Organization Membership Service on selection
  • Show loading and confirmation states during token exchange and navigation rebuild

Interfaces

build(memberships: List<OrganizationMembership>, activeOrgId: String): Widget
onMembershipTapped(organizationId: String): void
setLoading(isLoading: bool): void

Relationships

Dependencies (1)

Components this component depends on

Related Data Entities (2)

Data entities managed by this component