Update voice demo chat id handling

This commit is contained in:
Xin Wang
2026-06-01 09:44:44 +08:00
parent d62c564a0d
commit 0913f8e655
3 changed files with 108 additions and 14 deletions

View File

@@ -27,13 +27,25 @@
</label>
<label class="connection__field connection__field--chat">
<span>Chat ID</span>
<input
id="chat-id"
type="text"
placeholder="optional chatId"
spellcheck="false"
autocomplete="off"
/>
<div class="chat-id-control">
<input
id="chat-id"
type="text"
placeholder="optional chatId"
spellcheck="false"
autocomplete="off"
/>
<button
id="copy-chat-id-btn"
class="chat-id-control__copy"
type="button"
disabled
title="Copy Chat ID"
aria-label="Copy Chat ID"
>
Copy
</button>
</div>
</label>
<button id="connect-btn" class="btn btn--primary" type="button">
Connect