-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary: Update the Project Collaborators endpoint and UI to prioritize displaying a user’s full name over their username.
Backend Changes
- Endpoint:
GET /v2/projects/{id}/collaborators - Task: Add a new attribute
nameto the response object. - Logic: Fetch the value using the existing
UserProfile.name()method.
Frontend Changes
-
Table: Project Collaborators
-
Column: "Username" (or "Collaborator")
-
Logic Update: Display the new
nameattribute if it is present and not empty.- Fallback: If
nameis null/empty, continue to display theusername.
- Fallback: If
-
Avatar Integration: Update the
getAvatarfunction to use thenameattribute for generating initials.
Acceptance Criteria
- The API response for collaborators includes the
namefield. - The collaborators table shows "John Doe" instead of "jdoe123" when the full name is available.
- User avatars generate initials based on the full name (e.g., "JD").
- Existing functionality remains if the full name is missing.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request