Skip to content

fix(home): wait for account before greeting by name - #161

Merged
alpha5611331 merged 1 commit into
mainfrom
fix/home-greeting-email
Nov 27, 2026
Merged

alpha5611331 merged 1 commit into
mainfrom
fix/home-greeting-email

Conversation

@alpha5611331

Copy link
Copy Markdown
Member

The home greeting showed the email's local part (for example alpha5611331) for a moment and then switched to the user's first name.

Cause: accountService.pullFromBackend() writes accountEmail in its own updateState before the interview config. A remembered login's config.email is available even earlier, at launch. The greeting fell back to the email until fullName arrived.

Fix: the greeting uses a name only once interviewConfigLoaded is true, which is written in the same update as fullName. Until then it reads "Welcome back". With no name set, it still falls back to the email's local part. If the pull fails, it stays "Welcome back". The onboarding redirect already waits on the same flag.

🤖 Generated with Claude Code

The email arrives before the account config, so the greeting showed the
email's local part and then swapped it for the name. Hold the name until
interviewConfigLoaded, which lands in the same write as fullName.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gitar-bot

gitar-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@alpha5611331
alpha5611331 merged commit 0160086 into main Nov 27, 2026
2 checks passed
@alpha5611331
alpha5611331 deleted the fix/home-greeting-email branch November 27, 2026 18:44
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.

1 participant