Update to reply functionality and profile creation along with everything else. #2

Closed
ciajaf wants to merge 4 commits from ciajaf/super_ball:master into master
First-time contributor

The reply function now supports nevent and decodes it accordingly for reply tags.
All necessary fields for profile creation have been integrated.

The reply function now supports nevent and decodes it accordingly for reply tags. All necessary fields for profile creation have been integrated.
ciajaf added 4 commits 2025-11-18 04:00:15 +00:00
This commit introduces new features to enhance user interaction and profile management:

- Adds the ability to create replies for comments
- Enables profile creation for users
- Supports post creation for sharing updates and content
ciajaf added 1 commit 2025-11-18 04:11:39 +00:00
Owner

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.

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.
Author
First-time contributor

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?

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?
Owner

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:

  • implement the ability to create events other than type 1. (what you are working on)
  • Create a more visual and user friendly web page.
  • Create a thrower demon in C.
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: - implement the ability to create events other than type 1. (what you are working on) - Create a more visual and user friendly web page. - Create a thrower demon in C.
ciajaf added 1 commit 2025-11-22 11:24:51 +00:00
Implemented support for creating custom events. 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.
Author
First-time contributor

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?

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?
ciajaf added 1 commit 2025-11-24 03:48:42 +00:00
ciajaf added 1 commit 2025-11-24 03:49:22 +00:00
ciajaf added 1 commit 2025-11-30 03:47:38 +00:00
Owner

Merged manually via command line and tagged as v0.0.7.

Changes included:

  • Post tab functionality
  • Reply tab with nevent support
  • Edit Profile tab
  • Fixed CSS tab rendering

Thank you for the contribution!

Merged manually via command line and tagged as v0.0.7. Changes included: - Post tab functionality - Reply tab with nevent support - Edit Profile tab - Fixed CSS tab rendering Thank you for the contribution!
laantungir closed this pull request 2025-12-01 18:19:39 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: laantungir/super_ball#2
No description provided.