From 7e1b75f965b731babc703b2723bfda94c9c27d6c Mon Sep 17 00:00:00 2001 From: Daniel Gonzalez Date: Tue, 8 Jul 2025 18:46:03 -0400 Subject: [PATCH] feat(nostr): Expanded profile properties --- .../app-body/nostr/nostr-post/profile-post.js | 75 ++++++++++++++++++- .../app-body/nostr/nostr-read/profile-read.js | 1 + 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/src/components/app-body/nostr/nostr-post/profile-post.js b/src/components/app-body/nostr/nostr-post/profile-post.js index 4e54755..56b49d0 100644 --- a/src/components/app-body/nostr/nostr-post/profile-post.js +++ b/src/components/app-body/nostr/nostr-post/profile-post.js @@ -16,7 +16,12 @@ function ProfilePost (props) { const { bchWalletState } = props.appData const [formData, setFormData] = useState({ name: '', - about: '' + about: '', + picture: '', + display_name: '', + website: '', + banner: '', + bot: false }) const [errorMsg, setErrorMsg] = useState('') @@ -90,7 +95,12 @@ function ProfilePost (props) { const resetForm = () => { setFormData({ name: '', - about: '' + about: '', + picture: '', + display_name: '', + website: '', + banner: '', + bot: false }) } @@ -137,6 +147,67 @@ function ProfilePost (props) { /> + + Profile Picture URL + + + + + Display Name + + + + + Website + + + + + Banner URL + + + + + { + setFormData({ + ...formData, + bot: e.target.checked + }) + setSuccessMsg('') + setErrorMsg('') + }} + /> + +
{!onFetch && (