Commit Graph
5 Commits
Author SHA1 Message Date
Super_Z 6d7c52daa9 e106dfce-74ea-448e-99c5-22dc350e2137 2026-06-23 23:13:17 +00:00
Super_Z 296c609479 v0.5.2: offline report + tab UI + persist race fix
- New: Offline earnings report dialog (welcome back popup with gain/duration/rate/progress)
  - src/lib/game/offlineReport.ts: module-level store + custom event
  - src/components/game/OfflineReportDialog.tsx: Radix Dialog UI
  - gameStore.init: setPendingOfflineReport before set()
- Fix: useGameLoop waits for persist.hasHydrated() before init
  - Root cause: Zustand persist rehydrate is async (Promise.resolve wrapper)
  - Before fix: init read INITIAL_STATE (lastTick=undefined), skipped offline branch
  - After fix: init waits for rehydrate, correctly reads saved lastTick
- UI: Tab bar redesign with per-tab accent colors + flex-col layout
- Version: v0.5 -> v0.5.2
2026-06-23 17:04:28 +00:00
Super_Z f3d2e53e4f 42773b7e-7147-4ad5-828d-da7fcf0290b8 2026-06-23 13:52:13 +00:00
Super_Z da18f32df2 3d8566bc-063f-41e8-8934-68c9ac5b8211 2026-06-23 13:38:23 +00:00
Super_Z f73b96026c d9404a31-1970-4e79-ac9a-f4f9db60350b 2026-06-23 12:47:49 +00:00