Merge the server screens into the Stream Studio branch
Both sides added to Nav (the studio's open-studio next to the drawers and the voice view), to App (the studio's state next to the uploads) and to the development switches (studio[:...] next to voice, pins, topics, watch); all of them are kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
55267f88bd
78 files changed
+7058
-700
No files matched your search
@@ -58,7 +58,8 @@ export component HoldToTalk inherits Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
// "Voice Connected — channel / server", disconnect, and hold-to-talk.
|
||||
// "Voice Connected — channel / server", disconnect, and hold-to-talk
|
||||
// with push-to-talk.
|
||||
export component VoiceCard inherits Rectangle {
|
||||
border-radius: Theme.radius-lg;
|
||||
background: Theme.surface-2;
|
||||
@@ -104,7 +105,7 @@ export component VoiceCard inherits Rectangle {
|
||||
clicked => { Bridge.disconnect-voice(); }
|
||||
}
|
||||
}
|
||||
if Bridge.voice-connected: HoldToTalk { }
|
||||
if Bridge.voice-connected && Bridge.audio.transmit == 0: HoldToTalk { }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,6 +164,8 @@ export component UserCard inherits Rectangle {
|
||||
initials: Bridge.nickname != "" ? "" : "?";
|
||||
tint: Theme.accent;
|
||||
label: Bridge.nickname;
|
||||
// Green ring while our voice goes out.
|
||||
speaking: Bridge.transmitting;
|
||||
status: Bridge.voice-connected ? Status.online : Bridge.observing ? Status.info : Status.offline;
|
||||
Icon {
|
||||
source: Icons.user;
|
||||
|
||||
@@ -227,12 +227,12 @@ export component TopBar inherits Rectangle {
|
||||
}
|
||||
IconButton {
|
||||
icon: Icons.users;
|
||||
label: @tr("Members and streams");
|
||||
checked: Nav.right-panel-open && Nav.page == Page.server;
|
||||
label: @tr("Members");
|
||||
checked: Nav.right-panel-open && !Nav.pins-open && !Nav.topics-open && Nav.page == Page.server;
|
||||
y: (parent.height - self.height) / 2;
|
||||
clicked => {
|
||||
Nav.show(Page.server);
|
||||
Nav.right-panel-open = !Nav.right-panel-open;
|
||||
Nav.toggle-members();
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
|
||||
Reference in new issue
Block a user