라이어 게임 입력 중: 설명 차례인 사람이 토론 채팅을 쳐도 "입력 중"이 보이게
- BotActivity hide → hideBots: 컴퓨터 활동에만 적용(사람의 입력 중은 언제나 채팅 칸에서 오므로 숨기지 않음) - BotActivity.test.tsx: 설명 차례인 사람의 채팅 입력은 보이고, 설명 차례인 컴퓨터의 입력은 숨겨지고, 상태 줄에는 생각 중만 - e2e: 설명 첫 차례에 말하는 사람이 토론 채팅을 치면 다른 사람 채팅 칸에 입력 중, 보낸 말은 설명으로 치지 않음 - apps/web tsconfig: *.test.tsx도 타입 검사에서 제외(.test.ts와 같게) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -458,7 +458,7 @@ function ChatBox({ v, players, me, act }: { v: LiarView; players: Record<string,
|
||||
),
|
||||
)}
|
||||
</div>
|
||||
{room && <BotActivity room={room} only="typing" ch="game" hide={v.phase.kind === 'describe' && v.phase.speaker ? [v.phase.speaker] : undefined} />}
|
||||
{room && <BotActivity room={room} only="typing" ch="game" hideBots={v.phase.kind === 'describe' && v.phase.speaker ? [v.phase.speaker] : undefined} />}
|
||||
{canWrite ? (
|
||||
<form
|
||||
className="lg-form"
|
||||
|
||||
Reference in New Issue
Block a user