fiatjaf / nos2x

nostr signer extension
278 stars 55 forks source link

User friendly extension #50

Closed EricStrohmaier closed 4 months ago

EricStrohmaier commented 10 months ago

ups I how did i make a branch here ? haha ups

EricStrohmaier commented 10 months ago

Anyway. I made some styles to the Pop-up and prompt window. Because i didn't know what to do with the extension when i first downloaded it ... and thinking about making a user "Signup" page where the user can easily generate keys, and it's saved straight into extension!

Actually, I already made the pop-up for signup (not sure if @fiatjaf wants to continue in this direction of creating users)

Screenshot 2023-10-20 at 1 32 39 PM Screenshot 2023-10-20 at 1 33 18 PM Screenshot 2023-10-20 at 1 33 56 PM

Uploading Screen Recording 2023-10-20 at 1.35.45 PM.mov…

EricStrohmaier commented 10 months ago

https://github.com/fiatjaf/nos2x/assets/122783162/f415fa0a-0d6d-4fec-91b3-63790a73da04

fiatjaf commented 10 months ago

Thank you, the designs look good, but I don't want them. I do want the "create user" popup, but only if it's built with vanilla HTML.

EricStrohmaier commented 9 months ago

@fiatjaf Hey sorry it took me so long because I couldnt figure out how to create a user with metadata + send the info to the relays ... I would need more time to look into it and dont have that right now :((

anyway in the commit c92a18c you could just provide the logic for the publishing user with metadata to relays.

The latest commit is just creating a naked key and then saving it in extension => Ready to go!

If you could help me out that would mean the world to me if not not. I am planing to make a version of this extension with some styles for me and people I tell how to use Nostr but it needs some more simplicity. "User friendliness"

fiatjaf commented 9 months ago

No, sorry, what I meant was that the extension should just create the key, not the metadata. The metadata can be edited in clients.

This PR should be good now, I'll check it out later and merge.

EricStrohmaier commented 9 months ago

Okay perfect. But keep in mind that I changed the popup window for signing .... I put it in the middle of screen plus some small styles I think that I didn't revert ....

EricStrohmaier commented 9 months ago

should be good now!

EricStrohmaier commented 9 months ago

https://www.loom.com/share/8a52c587cfc643f9aee31d5b3401620b?sid=471e3bf3-99ce-4b0e-a854-b4136dd23bed