This commit is contained in:
2026-05-04 06:13:52 +00:00
parent b8937ef030
commit 1aa426ebd8
3 changed files with 14 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"Bash(python3 *)"
]
}
}

View File

@@ -269,6 +269,10 @@ function updateUsersList() {
// real mic state (we can't hear them anyway).
const breakoutIsolated = !user.isLocal && (!!user.breakout !== myBreakout);
const inBreakout = !!user.breakout;
// Visible breakout markers (BR tag, dimmed styling) are only shown to people
// already inside the breakout room. From the lobby, breakout users just look
// muted via the audio gating - nothing reveals that the room is in use.
const showBreakoutMarkers = myBreakout;
// Volume icon changes based on level
let volumeIcon;
@@ -287,12 +291,12 @@ function updateUsersList() {
const micLooksMuted = user.micOn === false || breakoutIsolated;
return `
<div class="user-item ${user.speaking && !breakoutIsolated ? 'speaking' : ''} ${user.isLocal ? 'local' : ''} ${breakoutIsolated ? 'breakout-isolated' : ''} ${inBreakout ? 'in-breakout' : ''}" data-id="${user.id}">
<div class="user-item ${user.speaking && !breakoutIsolated ? 'speaking' : ''} ${user.isLocal ? 'local' : ''} ${breakoutIsolated && showBreakoutMarkers ? 'breakout-isolated' : ''} ${inBreakout && showBreakoutMarkers ? 'in-breakout' : ''}" data-id="${user.id}">
<div class="user-info">
${user.isLocal ? '' : getNetworkQualityHTML(user.id)}
<span class="user-name${user.rainbowNick ? ' rainbow-nick' : ''}">${escapeHtml(user.username)}</span>
${user.fed && !state.fedFakeActive ? '<span class="fed-tag" title="Recording the call">FED</span>' : ''}
${inBreakout ? '<span class="breakout-tag" title="In breakout room">BR</span>' : ''}
${inBreakout && showBreakoutMarkers ? '<span class="breakout-tag" title="In breakout room">BR</span>' : ''}
<div class="user-indicators">
${micLooksMuted ? '<svg class="indicator mic-muted" viewBox="0 0 24 24" fill="currentColor" title="Muted"><path d="M19 11h-1.7c0 .74-.16 1.43-.43 2.05l1.23 1.23c.56-.98.9-2.09.9-3.28zm-4.02.17c0-.06.02-.11.02-.17V5c0-1.66-1.34-3-3-3S9 3.34 9 5v.18l5.98 5.99zM4.27 3L3 4.27l6.01 6.01V11c0 1.66 1.33 3 2.99 3 .22 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c.91-.13 1.77-.45 2.54-.9L19.73 21 21 19.73 4.27 3z"/></svg>' : ''}
${user.camOn ? '<svg class="indicator cam-on" viewBox="0 0 24 24" fill="currentColor" title="Camera On"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"/></svg>' : ''}

View File

@@ -2362,7 +2362,7 @@ body.pong-mode.schizo-mode .video-tile video {
filter: grayscale(0.6);
}
/* Small "BR" pill on anyone currently in the breakout room. Visible to everyone. */
/* Small "BR" pill on anyone currently in the breakout room. Only rendered for viewers who are themselves in the breakout room. */
.breakout-tag {
display: inline-block;
margin-left: 6px;