chore: header greeting use display name instead of email (#162) #177
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Relates to #162
Severity: Minor
Problem
The top-right shows "Welcome back, eric.gullickson@gmail.com". Using the full email is impersonal when there's a Display Name ("Eric Gullickson") available in settings.
Recommendation
Use the display name: "Welcome back, Eric" (first name only or full display name).
Acceptance Criteria
Implementation Plan (from #162 -- Milestone 17)
Phase: 8 (Header and minor polish) | Priority: Minor | Depends on: None | Blocks: None
Context
The header greeting currently shows the user's email address instead of their display name. The existing logic is
user?.name || user?.email, but Auth0'suser.namemay not always be populated or may contain the full name when a first name would be more compact.Implementation
1. In
frontend/src/components/Layout.tsx:Files
frontend/src/components/Layout.tsxCommit Convention
Test Criteria
Branch
Work on branch
issue-162-ux-design-audit-cleanup(shared with all #162 sub-issues)Milestone: Implementation Complete
Phase: Execution | Agent: Developer | Status: PASS
Changes
Layout.tsxfromuser?.name || user?.emailtouser?.given_name || user?.name?.split(' ')[0] || user?.nickname || user?.emailVerification
da4cd85Verdict: PASS | Next: Move to status/done