Skip to content

Conversation

@thomasyuill-livekit
Copy link
Contributor

@thomasyuill-livekit thomasyuill-livekit commented Oct 16, 2025

Restores: #286

Resolves: https://linear.app/livekit/issue/DGN-191/react-starter-clean-up-ui-code

Resolves: https://linear.app/livekit/issue/CLT-2149/integrate-tokensource-into-agent-starter-react

Fixes explicit dispatch using agentName config #288

During the clean up, in an effort to simplify the template, I erased the undefined properties sandboxId and agentName from app-config.ts because it was not clear that these are properties specific to LiveKit Cloud Sandbox and I felt they added noise to the code base.

What I didn't realize was that in the Sandbox environment getAppConfig filters the config object fetched from LiveKit Cloud based on the keys present in app-config.ts. When I deleted agentName: undefined it no longer accepted it as a valid config key.

sandboxId is an exception. It's never filtered. It is set directly, before the filter check, so when I tested removing the sandbox: undefined it had no effect in the staging environment. I incorrectly assumed that removing agentName: undefined was fine too.

@thomasyuill-livekit thomasyuill-livekit self-assigned this Oct 16, 2025
@vercel
Copy link

vercel bot commented Oct 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
sandbox-voice-assistant Ready Ready Preview Oct 16, 2025 4:47pm

@thomasyuill-livekit thomasyuill-livekit changed the title Thomasyuill/dgn-191-react-starter-clean-up-ui-code-v2 chore: UI tidyup V2 Oct 16, 2025
@thomasyuill-livekit thomasyuill-livekit changed the title chore: UI tidyup V2 chore: tidyup V2 Oct 16, 2025
Comment on lines +38 to 40
// for LiveKit Cloud Sandbox
sandboxId: undefined,
agentName: undefined,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I look forward to this sandbox config logic getting much simpler in the future!

@thomasyuill-livekit thomasyuill-livekit force-pushed the thomasyuill/dgn-191-react-starter-clean-up-ui-code-v2 branch from e05d610 to b7d411b Compare October 16, 2025 14:51
@thomasyuill-livekit thomasyuill-livekit force-pushed the thomasyuill/dgn-191-react-starter-clean-up-ui-code-v2 branch from 5a69663 to bea811b Compare October 16, 2025 16:46
@thomasyuill-livekit thomasyuill-livekit merged commit a3c3c2c into main Oct 16, 2025
5 checks passed
@thomasyuill-livekit thomasyuill-livekit deleted the thomasyuill/dgn-191-react-starter-clean-up-ui-code-v2 branch October 16, 2025 16:57
abdul-0-muheed pushed a commit to abdul-0-muheed/sdc-joint-frontend that referenced this pull request Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants