breez / misty-breez

A mobile app based on Flutter showcasing the use of Breez Liquid SDK
https://github.com/breez/breez-sdk-liquid/
MIT License
7 stars 2 forks source link

Improve the UX when payment was successfully received #188

Closed Nackoo2000 closed 1 hour ago

Nackoo2000 commented 1 month ago

When I receive the payment the screen stays on the QR page it does NOT go back to the balance (home).

I don't know if the bubbles are enough. In BreezM it pops a dialog that says the payment was received but here we are avoiding dialogs so @kingonly should have input on it.

https://github.com/user-attachments/assets/807d3193-b0cf-456d-985b-6f92ad119fb8

kingonly commented 1 month ago

No, the bubbles aren't enough. We need to display "Payment Received!" with some kind of success animation in addition to the bubbles, then pop the screen and show the payment entering the list animation that we have now (w/o the bubbles).

Nackoo2000 commented 1 month ago

The animation previously was when the payment was pending, now it is when it is fully complete so there is a minute delay. I am not sure how is better.

https://github.com/user-attachments/assets/e376ddc2-dd07-4a41-a920-e332fe2ddb62

erdemyerebasmaz commented 1 month ago

The animation previously was when the payment was in a payment state now it is when it is fully complete

This is likely a coincidence, this behavior was not changed.