From a70d221ea6b4940b8511f16075f7b4850e465b2e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 4 Sep 2026 11:16:04 -0700 Subject: Your own profile page opens as a PROFILE now, not a form: npub (tap to copy — it was hidden on your own page), bio, and latest posts, exactly like anyone else's, with the editor behind an explicit Edit profile button (Save or the new Cancel returns to the view) and a New post button that unfolds a composer — publishPost signs a plain kind-1 with the login/wallet identity, publishes to the identity's own relays, and prepends it to the notes list so it shows immediately. The header avatar's tooltip says "Your profile" instead of "Edit profile" to match. Compose/edit state clears on open/back so drafts never leak across profiles. Verified headless end-to-end: onboard → avatar → view mode (buttons + npub, no form) → Edit opens form → Cancel → New post opens composer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01MGzU12QrAA4G6BYGzGVdXz --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index cf5f9bf..bd1579d 100644 --- a/src/app.js +++ b/src/app.js @@ -1953,7 +1953,7 @@ function avatarMenu() { }); return h('button', { class: 'header-avatar', - title: me ? t('profEdit') : undefined, + title: me ? t('profYourProfile') : undefined, onClick: me ? () => { featureHook('showProfile', me); render(); } : undefined, }, node); } -- cgit v1.2.3