| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | send: stop the Max buttons from cancelling their own submit, show LNURL ↵ | Adam Soltys | 2026-09-21 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | action errors Choosing Max on the LNURL-pay page left the button spinning forever. Two things combined: The Max buttons set `loading` from their click handler. Svelte flushes `disabled={loading}` to the DOM before the browser runs the button's submit activation, and a disabled button submits nothing. Set loading from the form's onsubmit instead, the way the Send button always did. The /ln page never passed `form` into the Lnurlp and Lnurlw components, so any action failure (pay, max or withdraw) rendered nothing and never reset the spinner. Pass it through, and reset loading when a result arrives. Verified in headless Chrome against the dev stack: the bolt11 Max lands on the fee view, and the LNURL Max surfaces the server's error and re-enables the buttons. Co-Authored-By: Claude Fable 5.1 <[email protected]> | ||||
| * | send: quote the lightning routing fee up front and add Max to lightning sends | Adam Soltys | 2026-09-21 | 1 | -1/+54 |
| | | | | | | | | | | | | | | | | | | | | The lightning send page now asks the server what the payment will cost before showing the Send button: the exact routing fee from the route query, the platform fee, and the total. The quoted fee is submitted as the maxfee, so what the user sees is what gets debited; advanced settings still let them override it, and if the quote fails the page falls back to the old 2% reserve. Max on the amount step asks the server for the largest amount whose amount + routing fee + platform fee lands exactly on the balance, and for an offer picks up the invoice fetched for that exact amount. LNURL-pay gets a Max button too. The invoice only exists once we name an amount, so the action fetches a probe invoice at the ceiling, lets the server solve for the amount, then fetches the real invoice for it. Co-Authored-By: Claude Fable 5.1 <[email protected]> | ||||
| * | use searchparams for lnurl | Adam Soltys | 2026-03-27 | 1 | -2/+4 |
| | | |||||
| * | lnurl proxy | Adam Soltys | 2026-03-27 | 1 | -3/+6 |
| | | |||||
| * | Fix subdomain matching in LNURL callback redirect | Adam Soltys | 2026-02-25 | 1 | -2/+2 |
| | | | | | Co-Authored-By: Claude Opus 4.6 <[email protected]> | ||||
| * | fix redirect | Adam Soltys | 2025-08-18 | 1 | -2/+4 |
| | | |||||
| * | make lnurl route public | Adam Soltys | 2025-08-10 | 1 | -2/+1 |
| | | |||||
| * | handle callbacks with params | Adam Soltys | 2025-08-06 | 1 | -2/+6 |
| | | |||||
| * | handle no invoice | Adam Soltys | 2025-08-06 | 1 | -7/+4 |
| | | |||||
| * | logging | Adam Soltys | 2025-08-06 | 1 | -0/+5 |
| | | |||||
| * | handle null tips | Adam Soltys | 2025-07-19 | 1 | -12/+4 |
| | | |||||
| * | handle tipping for lnurls, sweep fixes | Adam Soltys | 2025-07-19 | 1 | -12/+16 |
| | | |||||
| * | user lnurl | Adam Soltys | 2025-06-23 | 1 | -16/+35 |
| | | |||||
| * | handle lnurlp with fixed amount | Adam Soltys | 2025-05-07 | 1 | -0/+14 |
| | | |||||
| * | encode comments | Adam Soltys | 2025-01-25 | 1 | -1/+1 |
| | | |||||
| * | capture ln comments | Adam Soltys | 2025-01-25 | 1 | -1/+3 |
| | | |||||
| * | nostr sign in | Adam Soltys | 2025-01-03 | 1 | -2/+0 |
| | | |||||
| * | create fund | Adam Soltys | 2024-12-24 | 1 | -2/+7 |
| | | |||||
| * | fix lnurl rate | Adam Soltys | 2024-12-07 | 1 | -6/+6 |
| | | |||||
| * | cached rates | Adam Soltys | 2024-12-05 | 1 | -2/+5 |
| | | |||||
| * | svelte 5 | Adam Soltys | 2024-11-08 | 2 | -3/+3 |
| | | |||||
| * | dark styles | Adam Soltys | 2024-11-05 | 1 | -1/+1 |
| | | |||||
| * | biome | Adam Soltys | 2024-10-31 | 1 | -53/+57 |
| | | |||||
| * | biome format | Adam Soltys | 2024-10-18 | 1 | -3/+2 |
| | | |||||
| * | hide maxfee unless error | Adam Soltys | 2024-10-14 | 1 | -3/+5 |
| | | |||||
| * | support lnurl comments | Adam Soltys | 2024-10-14 | 1 | -4/+5 |
| | | |||||
| * | move routes | Adam Soltys | 2024-09-17 | 2 | -2/+2 |
| | | |||||
| * | typescript | Adam Soltys | 2024-08-31 | 1 | -2/+2 |
| | | |||||
| * | typescript | Adam Soltys | 2024-08-30 | 1 | -0/+0 |
| | | |||||
| * | redirect to payments | Adam Soltys | 2024-08-22 | 1 | -1/+1 |
| | | |||||
| * | sveltekit 2 | Adam Soltys | 2023-12-15 | 1 | -5/+5 |
| | | |||||
| * | prettier | Adam Soltys | 2023-12-04 | 1 | -1/+2 |
| | | |||||
| * | change component imports | Adam Soltys | 2023-12-01 | 2 | -2/+2 |
| | | |||||
| * | prettier | Adam Soltys | 2023-12-01 | 3 | -62/+79 |
| | | |||||
| * | fee sliderfee-slider | Adam Soltys | 2023-02-23 | 1 | -2/+3 |
| | | |||||
| * | fee slider wip | Adam Soltys | 2023-02-23 | 1 | -6/+3 |
| | | |||||
| * | prettier | Adam Soltys | 2023-01-31 | 2 | -5/+4 |
| | | |||||
| * | rm logs | Adam Soltys | 2023-01-28 | 1 | -4/+1 |
| | | |||||
| * | log | Adam Soltys | 2023-01-28 | 1 | -1/+4 |
| | | |||||
| * | check for user | Adam Soltys | 2023-01-28 | 1 | -1/+4 |
| | | |||||
| * | missing form fields | Adam Soltys | 2023-01-28 | 1 | -2/+2 |
| | | |||||
| * | deal in millisats | Adam Soltys | 2023-01-27 | 2 | -6/+16 |
| | | |||||
| * | missing var | Adam Soltys | 2023-01-27 | 1 | -0/+1 |
| | | |||||
| * | lnurlw | Adam Soltys | 2023-01-27 | 3 | -57/+55 |
| | | |||||
| * | sveltekit 1.0 | Adam Soltys | 2023-01-25 | 1 | -2/+2 |
| | | |||||
| * | lnurl pay | Adam Soltys | 2023-01-24 | 2 | -12/+30 |
| | | |||||
| * | payments migration | Adam Soltys | 2023-01-13 | 1 | -1/+1 |
| | | |||||
| * | pin code fixes | Adam Soltys | 2023-01-05 | 1 | -2/+1 |
| | | |||||
| * | prettier | Adam Soltys | 2022-12-14 | 1 | -0/+1 |
| | | |||||
| * | clean up request flow, update translations and deps | Adam Soltys | 2022-11-22 | 1 | -1/+1 |
| | | |||||
