From c5fccdda93870d0e0e6cfef8e383743348bb7e26 Mon Sep 17 00:00:00 2001 From: Michael Sitarzewski Date: Fri, 13 Mar 2026 23:37:00 -0500 Subject: [PATCH] feat: rename session buttons to broadcast language Host sees "Start Broadcast" / "End Broadcast". Guest joining via link sees "Join Broadcast" / "Leave Broadcast". Resets on session end. Co-Authored-By: Claude Opus 4.6 --- web/index.html | 4 ++-- web/js/main.js | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/web/index.html b/web/index.html index bf1935c..384cc59 100644 --- a/web/index.html +++ b/web/index.html @@ -30,9 +30,9 @@

OpenStudio

- + - +
diff --git a/web/js/main.js b/web/js/main.js index c117569..7d994b4 100644 --- a/web/js/main.js +++ b/web/js/main.js @@ -78,6 +78,12 @@ class OpenStudioApp { // Check for room ID in URL hash this.checkUrlHash(); + // Update CTA if joining an existing room + if (this.roomIdFromUrl) { + this.startSessionButton.textContent = 'Join Broadcast'; + this.endSessionButton.textContent = 'Leave Broadcast'; + } + // Auto-connect to signaling server this.initializeApp(); @@ -821,6 +827,8 @@ class OpenStudioApp { this.recordingTracksDiv.style.display = 'none'; this.lastRecordings = null; window.location.hash = ''; + this.startSessionButton.textContent = 'Start Broadcast'; + this.endSessionButton.textContent = 'End Broadcast'; // Reconnect to signaling this.signaling.connect();