Zap split UX confusion #140

Closed
opened 2024-11-17 12:15:50 +00:00 by freakoverse · 0 comments
Owner

2 QR codes are generated to zap a mod post, where once the first zap is paid (for the creator) and confirmed, it'll auto swap to a new QR code (for the site) and that's it, causing a bit of a confusion as to what's happening.

I'm thinking of making this more obvious with UI changes (unless its figured out how we can do zap splits in one transaction qr without running a LN node), by adding the user's profile picture and name somewhere associated with the current QR and showing a preview and text details of the next QR that'd be shown.

Update:
Added a screenshot for reference. (basically to show that there will be 2 QR codes, and they'd change to the second one, once the first is paid, changing the icon to a checkmark as well).
Added "inputLabelWrapperMainQR" to "inputLabelWrapperMain" that's hold the QR stuff (

).

Regarding the two buttons:

<div style="display:flex;flex-direction:row;width:100%;flex-wrap:wrap;">
<button class="btn btnMain" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-64 0 512 512" width="1em" height="1em" fill="currentColor"><path d="M240.5 224H352C365.3 224 377.3 232.3 381.1 244.7C386.6 257.2 383.1 271.3 373.1 280.1L117.1 504.1C105.8 513.9 89.27 514.7 77.19 505.9C65.1 497.1 60.7 481.1 66.59 467.4L143.5 288H31.1C18.67 288 6.733 279.7 2.044 267.3C-2.645 254.8 .8944 240.7 10.93 231.9L266.9 7.918C278.2-1.92 294.7-2.669 306.8 6.114C318.9 14.9 323.3 30.87 317.4 44.61L240.5 224z"></path></svg>5K</button>
<button class="btn btnMain" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-64 0 512 512" width="1em" height="1em" fill="currentColor"><path d="M240.5 224H352C365.3 224 377.3 232.3 381.1 244.7C386.6 257.2 383.1 271.3 373.1 280.1L117.1 504.1C105.8 513.9 89.27 514.7 77.19 505.9C65.1 497.1 60.7 481.1 66.59 467.4L143.5 288H31.1C18.67 288 6.733 279.7 2.044 267.3C-2.645 254.8 .8944 240.7 10.93 231.9L266.9 7.918C278.2-1.92 294.7-2.669 306.8 6.114C318.9 14.9 323.3 30.87 317.4 44.61L240.5 224z"></path></svg>5K</button>
</div>

Where the inactive one gets a style="background:unset;"

2 QR codes are generated to zap a mod post, where once the first zap is paid (for the creator) and confirmed, it'll auto swap to a new QR code (for the site) and that's it, causing a bit of a confusion as to what's happening. I'm thinking of making this more obvious with UI changes (unless its figured out how we can do zap splits in one transaction qr without running a LN node), by adding the user's profile picture and name somewhere associated with the current QR and showing a preview and text details of the next QR that'd be shown. Update: Added a screenshot for reference. (basically to show that there will be 2 QR codes, and they'd change to the second one, once the first is paid, changing the icon to a checkmark as well). Added "inputLabelWrapperMainQR" to "inputLabelWrapperMain" that's hold the QR stuff (<div class="inputLabelWrapperMain inputLabelWrapperMainQR" style="align-items: center;">). Regarding the two buttons: ``` <div style="display:flex;flex-direction:row;width:100%;flex-wrap:wrap;"> <button class="btn btnMain" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-64 0 512 512" width="1em" height="1em" fill="currentColor"><path d="M240.5 224H352C365.3 224 377.3 232.3 381.1 244.7C386.6 257.2 383.1 271.3 373.1 280.1L117.1 504.1C105.8 513.9 89.27 514.7 77.19 505.9C65.1 497.1 60.7 481.1 66.59 467.4L143.5 288H31.1C18.67 288 6.733 279.7 2.044 267.3C-2.645 254.8 .8944 240.7 10.93 231.9L266.9 7.918C278.2-1.92 294.7-2.669 306.8 6.114C318.9 14.9 323.3 30.87 317.4 44.61L240.5 224z"></path></svg>5K</button> <button class="btn btnMain" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="-64 0 512 512" width="1em" height="1em" fill="currentColor"><path d="M240.5 224H352C365.3 224 377.3 232.3 381.1 244.7C386.6 257.2 383.1 271.3 373.1 280.1L117.1 504.1C105.8 513.9 89.27 514.7 77.19 505.9C65.1 497.1 60.7 481.1 66.59 467.4L143.5 288H31.1C18.67 288 6.733 279.7 2.044 267.3C-2.645 254.8 .8944 240.7 10.93 231.9L266.9 7.918C278.2-1.92 294.7-2.669 306.8 6.114C318.9 14.9 323.3 30.87 317.4 44.61L240.5 224z"></path></svg>5K</button> </div> ``` Where the inactive one gets a style="background:unset;"
freakoverse added the
Priority
Low
label 2024-11-17 12:15:50 +00:00
freakoverse self-assigned this 2024-11-17 12:15:50 +00:00
freakoverse added this to the Issues project 2024-11-17 12:15:50 +00:00
freakoverse added the
Kind/Enhancement
label 2024-11-17 16:02:08 +00:00
freakoverse moved this to Backlog in Issues on 2025-01-10 21:28:59 +00:00
freakoverse moved this to Backlog in Issues on 2025-01-11 01:03:12 +00:00
freakoverse moved this to Backlog in Issues on 2025-01-25 01:07:50 +00:00
freakoverse moved this to Backlog in Issues on 2025-01-28 01:12:11 +00:00
freakoverse moved this to To Do in Issues on 2025-01-29 21:52:49 +00:00
freakoverse moved this to To Do in Issues on 2025-01-30 09:08:46 +00:00
enes moved this to In Progress in Issues on 2025-01-30 13:44:40 +00:00
enes referenced this issue from a commit 2025-01-30 17:06:41 +00:00
enes closed this issue 2025-01-30 17:27:26 +00:00
enes moved this to In Progress in Issues on 2025-01-30 17:27:42 +00:00
freakoverse moved this to Done in Issues on 2025-01-30 17:30:51 +00:00
freakoverse moved this to Done in Issues on 2025-01-30 18:22:10 +00:00
freakoverse moved this to Done in Issues on 2025-02-03 19:52:55 +00:00
freakoverse moved this to Done in Issues on 2025-02-04 09:59:12 +00:00
freakoverse moved this to Done in Issues on 2025-02-04 12:49:04 +00:00
Sign in to join this conversation.
No description provided.