stacker.news/pages
SatsAllDay 362f95add9
LUD-18 Wallet implementation (#531)
* LUD-18 Wallet implementation

Query the lightning address provider client-side to learn of capabilities

Conditionally render LUD-12 and LUD-18 fields based on what the remote
server says is supported

Allow identifier, name, and email to be sent from the SN side during the withdrawal flow. Auth seems too complicated for our use case, and idk about pubkey?

* Clear inputs if the new ln addr provier doesn't support those fields

* various ux improvements

* dynamic client-side validation for required payer data

* don't re-init form state on error

* correct min and max amount values

* only send applicable data to graphql api based on payerdata schema

* input type for numeric values (amount, max fee)

* update step for amount and max fee

* Fix identifier optional and field blur

* reuse more code

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-10-03 18:22:56 -05:00
..
[name] fix closure stacker bug 2023-08-30 19:03:05 -05:00
api LUD-18 Service Support (#518) 2023-10-03 14:35:53 -05:00
auth upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
invites fix conditional nextFetchPolicy overriding cache-only on SSR and suppress time hydration warnings 2023-07-31 14:54:30 -05:00
invoices Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00
items/[id] redirect to login on pages that require auth (#269) 2023-08-28 12:52:15 -05:00
referrals redirect to login on pages that require auth (#269) 2023-08-28 12:52:15 -05:00
rewards Lightning strike on donation, if enabled. Else success toast (#517) 2023-09-24 15:10:44 -05:00
stackers redirect to login on pages that require auth (#269) 2023-08-28 12:52:15 -05:00
withdrawals Singular/Plural "Sats" labels (#380) 2023-08-08 16:04:06 -05:00
~ Add search hints to initial search page (#497) 2023-09-18 17:50:41 -05:00
404.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
500.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
_app.js Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
_document.js Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
_error.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
email.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
live.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
login.js show errors on settings during auth linking 2023-07-30 15:39:18 -05:00
notifications.js remove stray log statement 2023-08-30 20:08:38 -05:00
offline.js improve service worker asset precaching and offline page 2023-07-28 10:57:12 -05:00
satistics.js LUD-18 Service Support (#518) 2023-10-03 14:35:53 -05:00
settings.js Image refactor refactor (#541) 2023-10-03 13:05:04 -05:00
share.js Service worker rework, Web Target Share API & Web Push API (#324) 2023-07-04 14:36:07 -05:00
signup.js upgrade react-bootstrap 2023-07-24 13:53:53 -05:00
wallet.js LUD-18 Wallet implementation (#531) 2023-10-03 18:22:56 -05:00