Skip to content

Replace Username with Name in the final score cards #79

@O2sa

Description

@O2sa

Currently, the final score cards of the two users displays the user's username. We want to improve the UI by showing the user's full name instead, while keeping the username as a fallback in case the name is not available.

Required Changes:

Navigate to:
result-dashboard.tsx
Go to line 163

And replace:

title={user1.username}

With:

title={user1.name || user1.username}

And do the same for the line 169.

Expected Behavior:

If user.name exists → display the full name
If user.name is missing/null → fallback to user.username

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions