I'll be pushing a NostrGram update later that moves the zap message into the zap pop-up box (instead of showing an additional pop-up after you select the amount).

I'm trying to figure out a way to allow a one-click zap with a pre-defined amount you setup for notes while still allowing for custom amounts when you want to send them. Any ideas?

Reply to this note

Please Login to reply.

Discussion

Maybe single click sends the default amount (if configured) and double-click opens up the dialog for a custom amount?

That can be kind of an annoying pattern for usability from an accessibility or bad mouse perspective.

A one click zap should show the users preset amount as part of the UI.

I feel like there needs to be two actions, both single tap activated. One being the one-click-zap and the other doing traditional menu prompt for amount.

So you're saying an additional ⚡ icon? Wouldn't that be confusing to users?

Yeah i see the problem.

Does long press for mobile or hover for desktop provide a reasonable way to get a prompt?

Or only show the 2nd ⚡ icon if single-click zaps are configured, with the satoshis amount below the icon. That could work well, as long as it fits nicely into the mobile UI also.

ideally, one click for the default amount and default note, not even a dialog box. A second icon to open the dialog box with amounts and note field.

Maybe custom amount requires going to “3 dots” menu and one-click through zap icon.

Ah yes, great idea. This makes sense. I'll do it this way. Thanks!

Happy to help!

Nah, custom needs to be more accessable IMO, almost as easy as 1 click, & in the same spot. A long tap or sonething.

Desktop doesn't have a long tap, and it needs to work on both.

You know. That’s a good point.

Damus does this and I think initially there was some confusion on that. Not sure what consensus is on it now.

I mean I know that I need to do it this way and have no problem with it.

How would that work on desktop?

For some reason I’m not sure what the analog of a long press on desktop is. Right click?

On amethyst you can enter custom amounts & save them as buttons to click when you tap the zap button. That works fine & while I was going to say you could eliminate the extra tap it is worth noting that it probably prevents accidental zaps. Sending money is more costly than an accidental like. But if I have to type a custom amount I don't need to make it a button. So if the choice of fixed amount or a custom box appeared & you just either go with fixed or type & send then you could just have that show with a single tap or click.

I hadn't thought of the accidental zap thing.

It makes me doubt now that it really is a good idea...

After all 2 clicks isn't that hard, except for zapathons of course!! 😅

Unless you approach it the way I approach emails!

I.e. I set a delay for sending out my emails to 30 seconds so I have time to “rethink words”.

This could be 5 seconds of timeout, that allows you to undo.

I’m probably overengineering this. I admit automatic zaps makes me a tiny bit uneasy and my fat fingers have accidentally zapped (which was stopped with the wallet selection dialog in Damus).

I also think a few people have done the same when I see generated and unfulfilled invoices on my wallet from part 1 of the zap process.

A five second cancel option is a good idea. Maybe the icon starts to countdown and you click it again to cancel but if it wasn't a mistake you just keep scrolling.

Seems perfect like this! 👍

Sounds cool 😎

I guess maybe that doesn't matter (at least the way I've been using amethyst) now that I think about it... I still have to hit send when it opens my wallet.

That's either because your wallet doesn't support sending zaps without confirming or you haven't configured it.

I just learned about all this today myself 😅

Butt idk if there's a wallet on Android that allows that...

NostrGram already has custom zap amounts so that functionality is already in place. For people worried about accidental zaps they don't have to enable the one click zap.

Add the one click Zap as the ♥️ button. User can set to 0 if they only want to ♥️ the note.

Hope not. Eventually the heart button for reactions _should_ be enhanced to allow users to set their preferred reaction as well as the downvote (-) choice

🥰

I don't have suggestions for your question.

But can you also allow us to define a default zapping amount so that we don't have to select anything except confirm if we want to send that amount?

And if we choose to we can select another amount.

Possible? 🤔

You can already do that. Just open the zap menu by clicking the icon on your profile and then click the the edit icon 📝

Oh ok. How did I miss that?!? 😅

Thanks for the support, as always! 👍⚡

With so many updates it's easy to miss one (or many!). At some point I'm going to create a detailed Help section that people can go to and see all the features and how to use them all lol

just used it a couple minutes ago for a custom amount and it was mighty fine, no objections here 😊