ui: clean up self entry in peer list

Replace bold duplicate-looking self row with dimmed name + small accent
"you" badge. Removes the ID (already shown in identity section at top).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Fredrik Johansson
2026-06-25 19:48:28 +02:00
parent 1d38766006
commit 076f9641c2
2 changed files with 4 additions and 2 deletions

View File

@@ -92,8 +92,8 @@ export function Sidebar() {
{/* Self */}
<div className="peer-row peer-row-self">
<span className="peer-dot" style={{ background: 'var(--accent)' }} />
<span className="peer-row-alias" style={{ fontWeight: 700 }}>{displayAlias || '…'}</span>
<span className="peer-row-id">{displayId.slice(0, 8)}</span>
<span className="peer-row-alias">{displayAlias || '…'}</span>
<span className="peer-row-you">you</span>
</div>
{connectedPeers.length === 0 && (