From 1ca688addabade87a9606a0dc232b76d72291488 Mon Sep 17 00:00:00 2001 From: ssmithx Date: Sun, 2 Aug 2026 16:20:23 +0000 Subject: [PATCH] fix(ui): display npub instead of raw hex for the logged-in identity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit App.vue fell back to the first 8 hex chars of the pubkey whenever displayName wasn't set (the common case right after nostr sign-in, before any kind-0 metadata has been fetched) — indistinguishable between different identities at a glance, and not a form anyone recognizes as "their" nostr identity. nostr-tools was already a frontend dependency; just wasn't used for npub encoding anywhere. Full hex pubkey is still available via a title tooltip on hover. --- frontend/src/App.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index f790440..c35a2c4 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,10 +1,25 @@