Skip to content

Conversation

@krusche
Copy link
Member

@krusche krusche commented Jan 22, 2026

Summary

This PR updates the display labels for roles in the UI to align with CIT terminology:

  • supervisor role → now displayed as "Examiner" in the UI
  • advisor role → now displayed as "Supervisor" in the UI

This is a UI-only change. The server code, database schema, API field names, and Keycloak roles remain unchanged.

Changes

UI Components (11 files)

File Changes
ThesesTable.tsx Column titles: "Supervisor" → "Examiner", "Advisor(s)" → "Supervisor(s)"
ThesisData.tsx Labels: "Supervisor" → "Examiner", "Advisor" → "Supervisor" (pluralized)
TopicData.tsx Labels: "Supervisor" → "Examiner", "Advisor" → "Supervisor" (pluralized)
TopicsTable.tsx Column titles: "Supervisor" → "Examiner", "Advisor(s)" → "Supervisor(s)"
CreateThesisModal.tsx Form labels: "Advisor(s)" → "Supervisor(s)", "Supervisor" → "Examiner"
PublishedTheses.tsx Column title: "Advisor(s)" → "Supervisor(s)"
ReplaceTopicModal.tsx Form labels: "Supervisor" → "Examiner", "Advisor(s)" → "Supervisor(s)"
CollapsibleTopicElement.tsx Labels: "Supervisor" → "Examiner", "Advisor" → "Supervisor" (pluralized)
ResearchGroupMembers.tsx Select options: "Advisor" → "Supervisor", "Supervisor" → "Examiner"
ThesisConfigSection.tsx Form labels: "Advisor(s)" → "Supervisor(s)", "Supervisor" → "Examiner"
TopicAdittionalInformationCard.tsx Section titles: "Supervisors" → "Examiners", "Advisors" → "Supervisors"

Documentation (2 files)

File Changes
DEVELOPMENT.md Added note about role terminology mapping and UI Label column to example users table
MAILS.md Added note explaining the server vs UI role terminology

Technical Details

  • No server changes required - API field names (supervisorIds, advisorIds) remain the same
  • No database migration needed - schema is unchanged
  • No Keycloak changes needed - role names remain supervisor and advisor
  • Build compiles successfully
  • Prettier formatting passes

Test Plan

  • Browse topics page - verify "Examiner" and "Supervisor" labels appear correctly
  • Create thesis modal - verify form labels show "Examiner" and "Supervisor(s)"
  • Thesis config section - verify labels in thesis editing
  • Research group members page - verify role select dropdown shows "Examiner" and "Supervisor"
  • Landing page / Published theses - verify column headers
  • Topic details page - verify role labels in additional information card

🤖 Generated with Claude Code

Change display labels in the frontend:
- "Supervisor" is now displayed as "Examiner"
- "Advisor" is now displayed as "Supervisor"

This is a UI-only change. Backend roles, API field names, and
database schema remain unchanged (supervisor/advisor internally).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants