aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-04 11:16:04 -0700
committerAdam Soltys <[email protected]>2026-09-04 11:16:04 -0700
commita70d221ea6b4940b8511f16075f7b4850e465b2e (patch)
tree6ffa4dd09f1aa2d09aaf0ee3be60cc16f0e6fc39 /src/app.js
parentd92dfd42e7b01fd2a4806175136d10872474ca5c (diff)
downloadcoinosv3-a70d221ea6b4940b8511f16075f7b4850e465b2e.tar.gz
coinosv3-a70d221ea6b4940b8511f16075f7b4850e465b2e.zip
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
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MGzU12QrAA4G6BYGzGVdXz
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js2
1 files changed, 1 insertions, 1 deletions
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);
}