채팅 연속 입력 전부 전송(짧은 연타 허용 + 보내기 대기열), 사람도 '입력 중' 표시, 오른쪽 위 소리 크기(0~100, 기본 50)
- 서버 방 채팅: 0.5초 고정 간격 대신 토큰 버킷(4줄 연속, 초당 2줄) — 도배는 여전히 막음 - 웹: useChatOutbox(방 채팅·마피아·라이어 게임)로 빠르게 친 줄도 순서대로 전송 - typing 메시지(방 채팅 / 게임 공개 채팅만, 마피아 밤 채널은 보내지 않음), BotActivity에 사람 표시 - VolumeControl: 사이트 머리글·방 막대 오른쪽 위, 설정 페이지에도 슬라이더 - e2e/chat.e2e.ts: 연타 7줄, 입력 중, 소리 크기 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -668,6 +668,47 @@ label.field {
|
||||
.theme-toggle:hover {
|
||||
background: var(--surface-2);
|
||||
}
|
||||
.header-tools {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
.header-tools .theme-toggle {
|
||||
margin-left: 0;
|
||||
}
|
||||
/* Site volume: speaker button + a small slider panel under it. */
|
||||
.volume-control {
|
||||
position: relative;
|
||||
}
|
||||
.volume-pop {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: calc(100% + 6px);
|
||||
width: 240px;
|
||||
padding: 12px 14px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
|
||||
z-index: 45;
|
||||
animation: anim-slide-up 0.15s ease-out both;
|
||||
}
|
||||
.volume-pop input[type='range'] {
|
||||
width: 100%;
|
||||
accent-color: var(--primary);
|
||||
min-height: 32px;
|
||||
}
|
||||
.volume-num {
|
||||
font-weight: 800;
|
||||
font-variant-numeric: tabular-nums;
|
||||
min-width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
.header-user {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user