Skip to content

fix: add app nav display name fallback#109

Closed
nboufeld wants to merge 1 commit into
Ghbounty:mainfrom
nboufeld:fix/company-display-name-fallback
Closed

fix: add app nav display name fallback#109
nboufeld wants to merge 1 commit into
Ghbounty:mainfrom
nboufeld:fix/company-display-name-fallback

Conversation

@nboufeld
Copy link
Copy Markdown

Summary

  • Add a small app-nav display-name helper that trims names and falls back to there for company profiles without a name.
  • Use the helper in AppNav so fresh company signups do not render an undefined display name.
  • Add focused unit coverage for configured, missing, and blank names.

Fixes #70.

Verification

  • npx --yes pnpm@9.12.0 typecheck
  • npx --yes pnpm@9.12.0 --filter frontend test -- display-name.test.ts from /tmp/ghbounty-clean because the local workspace path contains ?, which breaks Vite module resolution.

@nboufeld nboufeld requested a review from tomazzi14 as a code owner May 21, 2026 20:13
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

Someone is attempting to deploy a commit to the weareghbounty-6269's projects Team on Vercel.

A member of the Team first needs to authorize it.

@nboufeld nboufeld closed this by deleting the head repository May 22, 2026
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.

test: dashboard greeting shows 'Hello, undefined' for users without a name

1 participant