damus-io / damus

iOS nostr client
GNU General Public License v3.0
1.95k stars 291 forks source link

Investigate Zap Profile Flow [Zaps][UX][Experimental] #1289

Closed alltheseas closed 7 months ago

alltheseas commented 11 months ago

Zap Profile Flow BIG ZAP BUTTON

@robagreda

alltheseas commented 11 months ago

Option B: add to ellipsis menu

image

https://damus.io/note177zngd5vpjfdc2zk7gxpwm222r9gxeqgw03fpavwhu8ev98nlpcqdcv779

Origin: @dmnyc

alltheseas commented 11 months ago

Option C: go to web store in browser

Origin: Hilary

https://damus.io/note13dwxfdee4ax42makhqhmqlu7wsyqqcamzeupsqc40k95jspu3mds96alqk

Variations:

https://damus.io/note14mnh8vqqyec2nmqxxcugwwzalu2nytxgy8jq6p2m2x5qf4hg6dlq42pp4m

alltheseas commented 11 months ago

Option D: halfway profile

https://github.com/damus-io/damus/assets/64376233/2e1349ad-6f02-4089-9880-9978b9aaca20

https://damus.io/note1r5zxll4ar3aaywjzuk8yxjfms7tc2pa7vek4v237gu9vqr22caashfermc

Samson

alltheseas commented 11 months ago

E: hold tap note

https://Damus.io/note1sd8nzx5y2zfyxmkskjqjcsugcwe396dhx3ds6s5r84jt43t7ynlsdhfkmn

Tanel

alltheseas commented 11 months ago

F: external service that zaps if detects likes

https://damus.io/note1k9vcjaangvuw5x66drt8pr2y9ww9cdauy6kx5rr0gq4qqla9d5ssjegn2v

alltheseas commented 11 months ago

https://damus.io/note17xtd0txl787595dxp7f35dejepu6ldjx09gk5s2qwh8ljlvrpeqs6fplws

image

Skyler

@robagreda

alltheseas commented 11 months ago

There’s a way for them to know if in the code you’re adding zaps instead of something else?

Because I can think that you can define for example a star interaction to send sats.

Example of reactions:

Blue star = default zap amount Purple star = 1,000 sats Green star = 5,000 sats Yellow star = 10,000 sats Black star = million sats

Users can also define ranges of sats for each star color so every time you pick a star color as a reaction a random amount of sats will be sent within that range defined.

Is that crazy? 😬

@robagreda

alltheseas commented 11 months ago

The only requirement that is clear to me: profile must be visualized in the zap flow to associate zap with the profile (and disassociate zap with note)

@jb55

alltheseas commented 11 months ago

image

Make onlyzaps icon next to PFP as tappable zap profile action.

Origin: Tanel

alltheseas commented 11 months ago

New product requirement identified per Apple arbiter update: as of June 26th there cannot be a shortcut to zap profiles in notes.

https://damus.io/note1z9drnr8qzkca7nd7fjfs3mscdra7d2vpzqv95p977886y6pg5exsk8gqzn

jb55 commented 11 months ago

On Wed, Jun 14, 2023 at 09:15:04AM -0700, alltheseas wrote:

The only requirement that is clear to me: profile must be visualized in the zap flow to associate zap with the profile (and disassociate zap with note)

the zap can't be initiated from the note, that was what I was told. I think having custom zap amounts listed on the profile should be ok though?

alltheseas commented 11 months ago

On Wed, Jun 14, 2023 at 09:15:04AM -0700, alltheseas wrote: The only requirement that is clear to me: profile must be visualized in the zap flow to associate zap with the profile (and disassociate zap with note) the zap can't be initiated from the note, that was what I was told. I think having custom zap amounts listed on the profile should be ok though?

What do you think about initiating zap from another profile picture: https://github.com/damus-io/damus/issues/1289#issue-1755553464 ?

I think having custom zap amounts listed on the profile should be ok though

I think so. I wonder what is the best possible UX for profile zap @robagreda @sashapavlova

alltheseas commented 11 months ago

image

https://damus.io/note19x63w7zynwlyzhl4ksdt003eejkk85v9av5k9e2r4jsq07ewmexqquejxr

alltheseas commented 11 months ago

Uncle Bob Martin mobile-> desktop zap link

just zapped @jb55 88 sats by using Damus on my iPhone to send myself this DM: "zap 88->jb55 hi there".

This worked because more-speech, which I have running on my laptop, will do the zap for me if it recieves a DM from myself to myself (an auto-dm) with that message format.

It seems to me that every desktop client could be set up this way. Then, when you use your phone you can DM yourself with a zap request and your desktop client will do the job for you.

To make this easy Damus, and other mobile apps, could allow users to create message templates. Something like: "zap {amount}-{user} {comment}". Such a template could be invoked with a single button push. It could pop up a dialog asking for the variables and then send it as a auto-dm.

https://damus.io/note1qq9hd4fzr8ezthy5cpcghwl0j8w5wzctvtfq209helr3cduzg9eqltvkur

alltheseas commented 11 months ago

Swipe right UI shortcut -> show profile view (perhaps partial screen) -> zap profile

questions

  1. Does Damus auto return to note view?
  2. Does Damus toast (see https://github.com/damus-io/damus/issues/1315)

image

Origin: Signal & Rage

@jb55

alltheseas commented 10 months ago

Will mentions half press window for PFP tap without loading 1,000 notes related to

https://github.com/damus-io/damus/issues/1177

alltheseas commented 10 months ago

@jb55 mentioned he is working on other items. Removing Will from assigned column for time being.

@tyiu is interested, but does not have time currently.

alltheseas commented 10 months ago

Related

https://github.com/damus-io/damus/issues/1391

alltheseas commented 7 months ago

See https://github.com/damus-io/damus/issues/1596