-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LNURL-Payment & outgoing LN Invoices UI Rework (#214)
* Convert processing payment dialog into a fullscreen Match system navigation bar color to background color * Handle all LNURL Payment requests on LnUrlPaymentPage * Remove LNURLPaymentDialog, LNURLPaymentInfo * Return PrepareLnUrlPayResponse from LnUrlPaymentPage * Check if metadata text is available before rendering LNURLMetadataText Display LNURLMetadataImage at top * Move comment section to bottom * Fetch fees on clicking min & max limits * Change payment limits error message Remove trailing zeros from formatted amounts * Add Fee information * Show prepareLnurlPay errors on text form field * Add payee information for fixed amount invoices * Correct form paddings * Calculate fees each time amount form field gets submitted * Add Amount information for fixed amount invoices * Add missing imports * Remove unnecessary value reset * Display Close button if there's an error validating LNURL-Payment Show error * Show errors in a warning box * Do not display payee information widget if fees are not fetched for fixed amount invoices * Display fee as "?" if no valid amount is selected in accepted range * Create LnUrlPaymentPage widgets * Make LnUrlPaymentPage form scrollable * Show errors as validation error messages * Increase validation error max lines to 3 of AmountFormField * Merge payment validation functions Merge validatorErrorMessage & _errorMessage to errorMessage Prepare LnUrlPayment only if there are no error messages * Display error message if fetching lightning payment limits fails * Display error messages below payment amount for fixed amount invoices * Correct the displayed payment amount * Don't validate manually on pasting & submitting * Fix light theme issues on LNURL Payment pages * Handle LNURL success actions * Add custom handler for currency converter dialog Only call handlers if amount str is not empty * Convert SuccessAction dialog into fullscreen dialog Display scrollbar by default on the message Use the same message widget on ShareablePaymentRow * Hide fees if there's an error * Create a Fullscreen UI for outgoing Lightning payments closes #210 * Remove 'PaymentRequestDialog' and it's components * Remove 'Invoice' helper class * Make LnUrlMetadaText widget scrollable * Fix the zero-amount invoice dismissal * TODO: Handle SendPaymentResponse results * Show fiat value on long pressing invoice amount * unfocus amount field if min or max limits are pressed * Show payment amount at all times on LNInvoicePaymentPage * fix: Validate the correct amount for non-fixed amount lnurl payments * Add a confirmation page for non-fixed amount LNURL payments
- Loading branch information
1 parent
09764bd
commit 8a9f499
Showing
29 changed files
with
1,144 additions
and
1,378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.