Skip to content

fix(auth): sign-in control visible on first paint - #74

Merged
catomean merged 1 commit into
mainfrom
fix/auth-control-first-paint
Aug 13, 2026
Merged

fix(auth): sign-in control visible on first paint#74
catomean merged 1 commit into
mainfrom
fix/auth-control-first-paint

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Follow-up to #73. The auth control's loading branch rendered an empty placeholder, and SSR is always in the loading state — so "Sign in with OrangeCat" was invisible until the client-side session fetch finished (and invisible to anything without JS). Default to the signed-out button: most visitors are signed out; a signed-in user sees it swap to their name once the session arrives.

Verified: npm run verify green (33 tests).

🤖 Generated with Claude Code

The loading branch rendered an empty placeholder, and SSR is always in
the loading state — so the nav's sign-in control was invisible until the
client-side session fetch finished. Default to the signed-out button
instead: most visitors are signed out, and a signed-in user just sees it
swap to their name.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@catomean
catomean merged commit fe6f0ab into main Aug 13, 2026
2 checks passed
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