fix: replace relay dropdown with direct dialog on click
Some checks failed
Build Release Binaries / build-amd64 (push) Failing after 3m53s

- Click relay button opens Manage Relays dialog directly (no dropdown)
- Click a relay in the dialog to select it (highlighted with accent border)
- × button to delete, Add Relay button to add new
- Removed all dropdown menu code and CSS

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-04-06 12:53:13 +04:00
parent c268ce419a
commit d31b81a21d
3 changed files with 32 additions and 112 deletions

View File

@@ -14,17 +14,11 @@
<p class="subtitle">Encrypted Voice</p>
<div class="form">
<label>Relay
<div class="relay-dropdown-wrap">
<button id="relay-selected" class="relay-selected" type="button">
<span id="relay-dot" class="dot"></span>
<span id="relay-label">Select relay...</span>
<span class="arrow">&#9662;</span>
</button>
<div id="relay-menu" class="relay-menu hidden">
<div id="relay-list"></div>
<button id="relay-manage-btn" class="relay-manage-btn" type="button">Manage Relays...</button>
</div>
</div>
<button id="relay-selected" class="relay-selected" type="button">
<span id="relay-dot" class="dot"></span>
<span id="relay-label">Select relay...</span>
<span class="arrow">&#9881;</span>
</button>
</label>
<label>Room
<input id="room" type="text" value="android" />