Add Open Intercom embed and audio take-notifications to the camera operator view#8
Draft
Add Open Intercom embed and audio take-notifications to the camera operator view#8
Conversation
- Add intercom URL, visibility, panel height, beep, and TTS fields to cue-list-view store with localStorage persistence and validated loading - Add playBeep() (Web Audio API) and speak() (Web Speech API) helpers - Add a compact toolbar at the top of the cue-list-view with headphones toggle and settings buttons - Add a resizable iframe panel that embeds the configured Open Intercom URL (intercom.apps.osaas.io) at the bottom of the cue-list-view - Add a settings modal to configure the intercom URL, beep-on-take, and TTS-on-take preferences (all persisted per device in localStorage) - Trigger beep/TTS notifications when the director takes a cue (currentCueId change); uses a ref to avoid stale closures" Agent-Logs-Url: https://github.com/jstarpl/ready2take2/sessions/9dfec70b-53a0-439f-80a5-a3d3356cfc7a Co-authored-by: jstarpl <3635991+jstarpl@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add combined UI for intercom and camera control
Add Open Intercom embed and audio take-notifications to the camera operator view
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Camera operators on tablets/phones had no intercom access and no audio feedback when the director took a cue. This adds an embedded Open Intercom panel and per-device audio/TTS notifications to the cue-list-view.
Store (
cue-list-view-store.ts)intercomUrl,isIntercomVisible,intercomPanelHeightPx,audioNotificationsEnabled,ttsNotificationsEnabledlocalStorageunderr2t2-cue-list-settingswith explicit type-guarded parsing (no blindascast)Cue-list-view (
cue-list-view.tsx)Audio notifications on take
A
useEffectkeyed onshow?.currentCueIdfires both when the director takes a cue.currentCueRefholds the latest cue object to avoid stale closures without widening the dependency array.Intercom panel
<iframe>panel appears at the bottom withallow="microphone; camera; autoplay; display-capture"so WebRTC audio worksSettings modal
Accessible from the toolbar gear button; lets each device independently configure:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
docs.osaas.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)intercom.apps.osaas.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.