From 23416df76506c8c15fb1733308a33b506c4f691f Mon Sep 17 00:00:00 2001 From: JiaJun <2394389886@qq.com> Date: Wed, 10 Jun 2026 14:34:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(game):=20=E6=B7=BB=E5=8A=A0=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E6=8A=95=E6=B3=A8=E9=87=91=E9=A2=9D=E9=99=90=E5=88=B6?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 UserStreakMessageData 接口中添加 maxBetPerNumber 字段 - 在 WebSocket 消息解析器中处理 max_bet_per_number 数据 - 实现游戏实时同步中最大投注金额的更新逻辑 - 将最大投注金额同步到游戏会话状态的仪表板数据 - 更新通知弹窗组件样式以支持当前文本颜色 - 在通知弹窗标题区域应用主题色调类名 --- AGENTS.md | 2 +- CLAUDE.md | 2 +- src/components/ui/notification-alert.tsx | 3 ++- src/hooks/use-game-realtime-sync.ts | 6 ++++++ src/lib/ws/message-parsers.ts | 1 + src/type/game.type.ts | 1 + 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index b4454f8..9da77e7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,7 +1,7 @@ # GitNexus — Code Intelligence -This project is indexed by GitNexus as **36-character-flower** (3087 symbols, 6103 relationships, 263 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. +This project is indexed by GitNexus as **36-character-flower** (3095 symbols, 6119 relationships, 264 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first. diff --git a/CLAUDE.md b/CLAUDE.md index b4454f8..9da77e7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,7 +1,7 @@ # GitNexus — Code Intelligence -This project is indexed by GitNexus as **36-character-flower** (3087 symbols, 6103 relationships, 263 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. +This project is indexed by GitNexus as **36-character-flower** (3095 symbols, 6119 relationships, 264 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first. diff --git a/src/components/ui/notification-alert.tsx b/src/components/ui/notification-alert.tsx index aae9231..d7ec3b0 100644 --- a/src/components/ui/notification-alert.tsx +++ b/src/components/ui/notification-alert.tsx @@ -181,6 +181,7 @@ export function AppNotificationAlert() { isMobileViewport ? 'flex min-h-design-28' : 'flex min-h-design-38', + tone.title, )} >