Update to reply functionality and profile creation along with everything else. #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "ciajaf/super_ball:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The reply function now supports nevent and decodes it accordingly for reply tags.
All necessary fields for profile creation have been integrated.
Better.
Looks like the "Create profile" tab is not creating a new profile, but editing the one of the user that logs into the page.
I'll merge it if you make the following changes:
Have two tabs that work: "Edit profile", and "Create profile". Edit profile is basically what you have. "Create profile" you should be able to enter a sec key, or have the page generate a new one, and then have similar edit fields to Edit profile.
Make sure your reply follows spec and appears as a reply under some major clients, such as Primal, Amethyst, etc.
In both cases, I like the code to be able to detect and handle input types. So for secret keys, it should be able to tell if user entered hex or nsec bech format. For the reply, it should be able to handle an event id, nevent, note. Again try grabbing the post from several major clients and pasting it in, and the page should work.
As a bonus, a 5th tab should be able to create any type of event. The user specifies the kind, along with the data for content and tags, and the page generates the proper json event.
But why not let users open a new tab to log in with their new nsec if they want to create a new profile? This approach could lead to confusion if they're required to input an nsec directly in the profile creation section. The login process using nsec/bunker is already active when the page loads. Renaming the tab to 'Create/Edit Profile' might be a clearer option. I think creating a new profile is the same as editing an existing one.
Regarding replies, this aligns with the specifications outlined in https://nostrbook.dev/kinds/1.
This is just the beginning, an MVP, there’s certainly room for further refinements. Starting with these features is essential for enabling interaction on Nostr, as they form the foundational tools needed to get things going.
This technology is essential. We need to raise awareness. I was thinking of a concept similar to this, aiming to improve upon Tor. I came across your post somehow, and here we are. Also, why did you start working on this? And why did you stop?
Okay, fair enough point about loging in with a new profile to create a new user. I agree.
'Create/Edit Profile' is good.
I am currently working on my implementation of a relay and a blossom server and that is taking my time. This project was much simpler to "complete" so I threw it out there, with the intention to get back to it.
My plans for this project are to:
Implemented support for creating custom events(good idea). Also integrated functionality to generate reply events by retrieving them from relays first, with compatibility for multiple eventId formats like nevent, note, and hexadecimal strings.
Expanding the anonymity set depends on more people using it. How do we reach those who rely on it the most?
Merged manually via command line and tagged as v0.0.7.
Changes included:
Thank you for the contribution!
Pull request closed