PR: #495: fix(team): render team role names in role columns [Story-1963] by @ayush-pramaan
View PR →
Story 1963

Pending, expired, members, and deactivated rows show team role names

The Team page ROLE column now resolves through one shared presentation helper. Member rows still show firmRole.name. Invitation rows read publicMetadata.teamRoleId when present, then use the matching system-default team-role name as the display-only fallback for legacy invitations.

Invitation contract

Role cell helper

Rows and tabs

Stories and tests

Acceptance criteria

Verification

Files changed

16 file(s), +278 / -34 lines

Path Role + -
messages/en.jsonConfig+1-0
messages/hi.jsonConfig+1-0
src/components/settings/team/member-table-row.tsxComponent+5-1
src/components/settings/team/pending-invite-row.stories.tsxComponent+11-3
src/components/settings/team/pending-invite-row.tsxComponent+12-2
src/components/settings/team/pending-invites-table.stories.tsxComponent+3-1
src/components/settings/team/pending-invites-table.tsxComponent+4-0
src/components/settings/team/presentation.test.tsComponent+85-2
src/components/settings/team/presentation.tsComponent+86-12
src/components/settings/team/team-fixtures.tsComponent+12-5
src/components/settings/team/team-list-content.tsxComponent+1-0
src/components/settings/team/team-list-page.tsxComponent+4-2
src/lib/team-invitations/reconcile.test.tsLibrary+1-0
src/lib/team-invitations/schema.tsLibrary+4-1
src/lib/team-invitations/server.test.tsLibrary+33-0
src/lib/team-invitations/server.tsLibrary+15-5