Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendingLightning: Display payment paths after successful lightning payment #2345

Merged
merged 4 commits into from
Sep 4, 2024

Conversation

shubhamkmr04
Copy link
Contributor

@shubhamkmr04 shubhamkmr04 commented Aug 6, 2024

@kaloudis
Copy link
Contributor

Maybe we should join the payment path and add note buttons on one line to save real estate.

[Payment Path (3)] [Add Note]

We'd have to test against low resolutions though.

@kaloudis kaloudis added this to the v0.9.1 milestone Aug 26, 2024
@shubhamkmr04
Copy link
Contributor Author

Simulator Screenshot - iPhone 15 Pro - 2024-08-27 at 12 10 18

@kaloudis
Copy link
Contributor

Simulator Screenshot - iPhone 15 Pro - 2024-08-27 at 12 10 18

this is definitely better than before, but the margins are driving me nuts. We need to find a way to make sure everything lines up. We could also use less margins on top and bottom too for this row.

@shubhamkmr04 shubhamkmr04 force-pushed the shubham/paths-in-success-view branch from 76cfdf1 to 9a2024d Compare August 28, 2024 13:32
@kaloudis
Copy link
Contributor

@shubhamkmr04 can you provide screenshots if the layout has been changed at all?

@shubhamkmr04
Copy link
Contributor Author

@shubhamkmr04 can you provide screenshots if the layout has been changed at all?

Simulator Screenshot - iPhone 15 Pro - 2024-08-30 at 13 24 13

@shubhamkmr04
Copy link
Contributor Author

Tested on iPhone 15 pro for now


const enhancedPath = currentPayment?.enhancedPath;

const isPaymentPathExist =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: var name needs work, grammatically you probably wanted doesPaymentPathExist, but paymentPathExists may be better. Up to you.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, also fixed the bottom. Now looks good for android, small iPhones and iPad as well

@kaloudis kaloudis merged commit 3e6d565 into ZeusLN:master Sep 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants