Skip to content

Conversation

@bcherry
Copy link
Contributor

@bcherry bcherry commented May 28, 2025

This builds on #142 and adds:

  • Agent live attribute and metadata inspector
  • Agent name support for explicit dispatch
  • Edit user attributes after connection
  • UX and style updates throughout (this new stuff is mostly collapsed by default to avoid a huge sidebar that obscures camera and mic. i collapsed rpc into a new section as well)
image

@bcherry bcherry requested review from longcw, lukasIO and mattherzog May 28, 2025 19:17
@vercel
Copy link

vercel bot commented May 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agent-app-95ln ❌ Failed (Inspect) May 29, 2025 10:23pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
agent-playground-kitt ⬜️ Ignored (Inspect) Visit Preview May 29, 2025 10:23pm

@MahmoudHemaid
Copy link
Contributor

MahmoudHemaid commented May 28, 2025

Hello @bcherry, I've created a PR to support editing participant attributes and metadata before connecting, could you take a look on it?

@bcherry
Copy link
Contributor Author

bcherry commented May 29, 2025

@MahmoudHemaid thanks for the PR - I've merged it to main and then made some improvements in here. great work this is now very nice!

const { localParticipant } = useLocalParticipant();

// Update local attributes when props change
useEffect(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the purpose of running this effect ?

Copy link
Contributor Author

@bcherry bcherry May 29, 2025

Choose a reason for hiding this comment

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

it's a one-way sync from the parent, since the local one can have unsaved changes so doesn't directly bind to the parent attributes. not sure if its the best way, and also i don't currently have the parent actually observing attributes live either (for user, where they're editable)

@bcherry bcherry merged commit 0218a5a into main May 29, 2025
5 of 6 checks passed
@bcherry bcherry deleted the bcherry/attributes branch May 29, 2025 22:26
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