Skip to content

feat: splash screen with profile collage and live metrics#300

Merged
barrydeen merged 1 commit intomainfrom
feat/splash-screen
Mar 24, 2026
Merged

feat: splash screen with profile collage and live metrics#300
barrydeen merged 1 commit intomainfrom
feat/splash-screen

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Replaces the bare auth form as the first screen logged-out users see with a visually striking splash screen
  • Background is a centered grid of real Nostr profile pictures (up to 300) fetched from premium.primal.net, fading into the background via a gradient
  • Live "N people online now" card sourced from wss://api.nostrarchives.com/v1/ws/live-metrics, shown with a green indicator dot
  • Create Account and Log In buttons replace the old single-screen auth flow — log in navigates to AuthScreen with the sign-up section hidden
  • Routes.SPLASH is the new unauthenticated start destination; onAddAccount still goes directly to Routes.AUTH, bypassing splash

Test plan

  • Cold launch logged-out: splash screen appears with placeholder circles, then real profile pictures populate
  • Live metrics card appears within a few seconds with a real online count
  • "Create Account" generates a keypair and navigates to onboarding profile screen
  • "Log In" navigates to auth screen with no sign-up button visible
  • Login with nsec → loading → feed
  • Adding a second account (onAddAccount) goes directly to auth, not splash
  • Deep link received while on splash is held until login completes

🤖 Generated with Claude Code

- Add SplashScreen as the entry point for logged-out users, replacing
  the bare auth form as the first impression
- Profile picture collage fetches up to 300 kind-0 events from
  premium.primal.net, displayed as a centered grid of avatar circles
  that fades into the background via a vertical gradient
- SplashViewModel connects to wss://api.nostrarchives.com/v1/ws/live-metrics
  for a live "N people online now" card with a green indicator dot
- AuthScreen gains a showSignUp param; when navigating from splash the
  sign-up button is hidden (create account lives on the splash screen)
- Navigation updated: Routes.SPLASH is the new unauthenticated start
  destination; Routes.AUTH is login-only from this flow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@barrydeen barrydeen merged commit 0de6aa0 into main Mar 24, 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.

1 participant