aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send
Commit message (Collapse)AuthorAgeFilesLines
* send: explain duplicate submits instead of reporting a routing failureAdam Soltys13 days1-0/+17
| | | | | | | | | Resubmitting an invoice that was already paid, is still in flight, or is awaiting reconciliation came back as the generic "failed to route" error, which reads as if the payment never went out. Map those server responses to specific messages with a link to the payment history. Co-Authored-By: Claude Opus 5.5 <[email protected]>
* send: stop the Max buttons from cancelling their own submit, show LNURL ↵Adam Soltys2026-09-211-2/+9
| | | | | | | | | | | | | | | | | | | | | | | 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]>
* funds: remove the create, deposit, withdraw and gift buttonsAdam Soltys2026-09-211-10/+0
| | | | | | | | | | | | | Funds are retired, and the server now refuses deposits, withdrawals and pre-authorizations outright, so every one of these buttons led to an error. Gone: "Create a fund" on the send screen, and Add/Take funds plus the gift link on a fund's page. A fund's page still shows its balance, managers, share link and payment history, so existing funds stay readable while they are settled out of band. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
* send: quote the lightning routing fee up front and add Max to lightning sendsAdam Soltys2026-09-212-9/+112
| | | | | | | | | | | | | | | | | | | 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]>
* bolt12 zaps: accept offers in send flow, show/publish user offerAdam Soltys2026-07-301-3/+1
| | | | | | | | | | - parse lno= from BIP-321 bitcoin: URIs; send page parses offers for preview now that /parse handles them - settings/nostr shows the user's standing lno1 offer with copy/QR and a button to publish it as a kind 10058 offer list for NIP-177 zaps - new locale strings translated Co-Authored-By: Claude Fable 5 <[email protected]>
* fix: rename hidden maxfee field to fee to match form handlerAdam Soltys2026-02-151-1/+1
| | | | Co-Authored-By: Claude Opus 4.6 <[email protected]>
* fix importsAdam Soltys2026-02-091-1/+1
|
* increase default maxfeeAdam Soltys2025-12-101-2/+2
|
* pass cookies to parseAdam Soltys2025-09-181-3/+3
|
* remove unused importAdam Soltys2025-09-091-1/+0
|
* set tipAdam Soltys2025-08-201-5/+1
|
* numpad fixesAdam Soltys2025-08-203-9/+23
|
* remove logAdam Soltys2025-08-081-2/+0
|
* prompt for tip for auto paysAdam Soltys2025-07-191-7/+12
|
* disable ecashAdam Soltys2025-07-165-250/+0
|
* fix pin issueAdam Soltys2025-07-162-13/+23
|
* catch payment errorsAdam Soltys2025-07-111-3/+10
|
* auto payAdam Soltys2025-07-083-12/+60
|
* sweep successAdam Soltys2025-07-081-6/+23
|
* fund sweepAdam Soltys2025-07-071-13/+14
|
* user lnurlAdam Soltys2025-06-231-1/+0
|
* display locked balanceAdam Soltys2025-05-122-4/+8
|
* account for subtracted feesAdam Soltys2025-05-063-7/+22
|
* platform fee displayAdam Soltys2025-04-161-8/+1
|
* wipAdam Soltys2025-03-141-10/+10
|
* invalidate contactsAdam Soltys2025-02-262-2/+2
|
* pinsAdam Soltys2025-02-262-5/+29
|
* fix nostr registerAdam Soltys2025-02-251-1/+0
|
* fix maxfeeAdam Soltys2025-02-121-1/+4
|
* hide fund buttonAdam Soltys2025-02-111-10/+10
|
* change maxfee param nameAdam Soltys2025-02-051-1/+1
|
* capture ln commentsAdam Soltys2025-01-252-1/+2
|
* preserve insufficient funds messageAdam Soltys2025-01-251-2/+4
|
* parse payment memosAdam Soltys2025-01-241-1/+1
|
* settings logic tweakAdam Soltys2025-01-221-4/+10
|
* notesAdam Soltys2025-01-212-12/+16
|
* event formattingAdam Soltys2025-01-182-6/+16
|
* zap right awayAdam Soltys2025-01-171-50/+16
|
* set lud16Adam Soltys2025-01-171-1/+6
|
* event viewer and zapsAdam Soltys2025-01-162-0/+140
|
* show error message for zero-amount invoicesAdam Soltys2025-01-101-7/+12
|
* default account idAdam Soltys2025-01-061-1/+1
|
* nostr sign inAdam Soltys2025-01-031-2/+2
|
* iconify noobserverAdam Soltys2024-12-301-4/+4
|
* default accountAdam Soltys2024-12-291-3/+4
|
* default accountAdam Soltys2024-12-291-1/+1
|
* create fundAdam Soltys2024-12-245-83/+106
|
* fix sendmaxAdam Soltys2024-12-221-1/+1
|
* send max for internal paymentsAdam Soltys2024-12-213-14/+34
|
* bolt 12Adam Soltys2024-12-191-1/+1
|