Commit Graph
19 Commits
Author SHA1 Message Date
3aaabe75e3 Godot client networking + auth + login/main screens; fix admin hamburger
Server:
- ConnectionLoop: accept auth.login and auth.register as valid first messages
  (not just auth.hello); all ack payloads now include sessionToken for client
  persistence
- IGatewayAuthValidator: add LoginAsync and RegisterAsync
- GatewayAuthValidator: implement both via auth gRPC; fetch displayName from
  ValidateAsync after login/register succeeds
- Admin hamburger: custom .sor-admin-hamburger CSS (hardcoded white, no Bootstrap
  btn-link theme fighting); topbar z-index 1050 with position:sticky

Client (Godot 4.5, GDScript):
- autoloads/Network.gd: WebSocketPeer state machine (CONNECTING / CONNECTED /
  RECONNECTING), exponential backoff (1→30s), app-level keepalive ping every
  30s of idle, 30s ping timeout → reconnect, request/reply correlation by
  sequence number, debug_log_packets export flag for full packet dumps
- autoloads/Auth.gd: drives auth.hello / auth.login / auth.register as first
  WS message; persists sessionToken + userId + displayName to user://auth.cfg;
  auto-resumes saved session on reconnect; auth_success / auth_failed signals
- scenes/login/LoginScreen.tscn + login_screen.gd: Login + Register tabs,
  touch-friendly inputs (44px height), status label, Enter key submits, handles
  reconnect/resume states
- scenes/main/MainScreen.tscn + main_screen.gd: top bar with live connection
  dot, welcome label, placeholder nav buttons, sign-out, redirects to login on
  session expiry
- project.godot: Network and Auth autoloads registered; LoginScreen as main scene

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-27 20:48:53 -05:00
dingo 80c5c0408a Add ranked matchmaking v1 integration spec and policies 2026-02-23 04:30:56 +00:00
dingo d6a0b393d5 Refine ranked flow and add matchmaking design draft 2026-02-23 04:28:48 +00:00
dingo 8e2a83e21a Draft bazaar economy scene with marketplace, store, sacrifice, and audit chain 2026-02-23 04:24:33 +00:00
dingo 636aa4070e Changes 2026-02-22 15:19:35 -05:00
dingo fd7964c044 Merge hub connection flow into login scene 2026-02-22 15:46:41 +00:00
dingo a7dc4e60e0 Consolidate auth and patch flows: merge AuthGateway/OAuth into Login and PatchCheck into ClientLaunch 2026-02-22 15:44:35 +00:00
dingo f577b121fa Remove outdated client-plan draft file 2026-02-22 15:35:06 +00:00
dingo a5330843a5 Expand settings scene with support, audio, and brightness controls 2026-02-22 14:47:35 +00:00
dingo 4dc5691c51 Restructure: move agnostic context docs to Shared/context-files 2026-02-22 14:17:53 +00:00
dingo d711c50d4e Split scene planning into global + per-scene context files 2026-02-22 14:11:44 +00:00
dingo 34e56d4d3d Add monthly spending cap lock, warnings, and cooldown contract 2026-02-22 14:05:22 +00:00
dingo f8a9c3c8dd Add global settings/bug controls and detailed account management scene spec 2026-02-22 14:02:46 +00:00
dingo f298c73879 Require multi-touch and global input consistency across scenes 2026-02-22 13:44:53 +00:00
dingo f3b271aed1 Add hub input model for touch/mouse camera and node selection 2026-02-22 13:43:44 +00:00
dingo c34d28f630 Expand main scene hub links and background visual direction 2026-02-22 13:29:11 +00:00
dingo 8dd3781b20 Refocus scenes doc on client scene/page/UI mapping 2026-02-22 13:22:04 +00:00
dingo 659010154d Add initial client planning draft 2026-02-22 04:27:29 +00:00
dingo 3bdbfc8c57 Initial commit 2026-02-21 17:47:52 -05:00