Skip to content

Fix #86: assign names to all users#87

Merged
ayush00git merged 2 commits into
ayush00git:mainfrom
divyansh-v15-06:fix1
Jun 10, 2026
Merged

Fix #86: assign names to all users#87
ayush00git merged 2 commits into
ayush00git:mainfrom
divyansh-v15-06:fix1

Conversation

@divyansh-v15-06

@divyansh-v15-06 divyansh-v15-06 commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Previously, the Warden and CentreHead user roles did not collect or store a "Name" field. As a result, when these users viewed their profile dashboard, the application fell back to trimming their email prefix (e.g., displaying warden instead of their actual name). This was inconsistent with how Faculty users were handled and felt less personalized. Because the backend /api/profile endpoint directly serializes the user models to JSON, the frontend Profile.tsx page now automatically receives the name property and renders it perfectly without requiring any extra changes!)

Closes #86

@ayush00git

Copy link
Copy Markdown
Owner

Replace position/role in comment card with name field and also verify the same for /profile.
image

@ayush00git ayush00git merged commit 91aa2cc into ayush00git:main Jun 10, 2026
1 check passed
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.

[FIX]: should assign names to all users

2 participants