From deba7ab2bbd4af5b90e5693ad07175f593257ce9 Mon Sep 17 00:00:00 2001 From: kurihada Date: Thu, 26 Feb 2026 20:25:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20AudioContext=20=E5=A4=8D=E7=94=A8=20+=20?= =?UTF-8?q?=E7=9B=B2=E7=9B=92=E5=8A=A0=E8=BD=BD=E9=94=99=E8=AF=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=20+=20icon=20=E6=8C=89=E9=92=AE=20aria-label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - #27: panic/blindbox/ShareCardModal/AuthModal 中 icon-only 按钮补 aria-label - #28: playChime 缓存复用单个 AudioContext,避免超出浏览器 ~6 个上限 - #29: 已完成(上一批次 ApiError.name = "ApiError") - #30: blindbox lobby fetchRooms 失败时显示"加载失败/点击重试" - #31: 已完成(theme.ts VALID_THEMES 校验) --- src/app/blindbox/[code]/page.tsx | 3 +++ src/app/blindbox/page.tsx | 23 +++++++++++++++++++++-- src/app/panic/page.tsx | 3 +++ src/components/AuthModal.tsx | 1 + src/components/ShareCardModal.tsx | 1 + src/lib/celebrate.ts | 15 ++++++++++++--- 6 files changed, 41 insertions(+), 5 deletions(-) diff --git a/src/app/blindbox/[code]/page.tsx b/src/app/blindbox/[code]/page.tsx index 5f377de..edbb3b4 100644 --- a/src/app/blindbox/[code]/page.tsx +++ b/src/app/blindbox/[code]/page.tsx @@ -334,6 +334,7 @@ export default function BlindboxRoomPage() {
+ ) : rooms.length === 0 ? ( /* ============ Layer 2: Logged in, no rooms — Create first ============ */ @@ -399,6 +400,7 @@ export default function PanicPage() { {cuisine && !loading && (