방 설정 "다음 문제까지"(5/10/15/30초, 기본 5초)와 "다음문제인원(이상)" 투표: 정답 공개 시간을 방마다 고르고, 공개 중 ⏭ 다음 문제(Ctrl+K) 표가 기준 이상이면 바로 넘어감(마지막 문제는 결과로). 공개 화면에 남은 초, 방 카드 요약에 '공개 N초', 관리자 기본값·잠금

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-18 23:35:33 +09:00
parent c81b6b8c9a
commit a1507e5b95
12 changed files with 146 additions and 25 deletions

View File

@@ -10,6 +10,7 @@ import {
LISTEN_SECS,
LYRICS_SECS,
MODES,
REVEAL_SECS,
VOTE_RULES,
listenLabel,
voteLabel,
@@ -394,6 +395,12 @@ export function RoomSettings({
<Seg label="다시듣기인원" value={c.replayVotes} disabled={ro} onChange={(replayVotes) => onPatch({ replayVotes })} options={vote(VOTE_RULES)} />
</Section>
)}
<Section title="다음 문제까지" tip="정답을 공개한 뒤 다음 문제로 넘어가기까지 기다리는 시간. 그동안 노래는 계속 나와요">
<Seg label="다음 문제까지" value={c.revealSec} disabled={ro} onChange={(revealSec) => onPatch({ revealSec })} options={REVEAL_SECS.map((v) => ({ v, label: `${v}초` }))} />
</Section>
<Section title="다음문제인원(이상)" tip="정답 공개 중에 바로 다음 문제로 넘어가려면 다음 문제를 눌러야하는 인원 설정">
<Seg label="다음문제인원" value={c.nextVotes} disabled={ro} onChange={(nextVotes) => onPatch({ nextVotes })} options={vote(VOTE_RULES)} />
</Section>
<Section title="문제 수">
<Seg
label="문제 수"