7 Commits

Author SHA1 Message Date
ekzyis
53c0f8c277
Fix initial value not set from NWC lud16 param (#2567) 2025-09-22 10:10:56 -05:00
ekzyis
4676fbaf60
Also check protocol name before setting address field (#2562)
* Also check protocol name before setting address field

* Add comment why we remove the domain part if lud16Domain is set

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-09-21 17:46:27 -05:00
ekzyis
a544e3952d
Use NWC lud16 parameter as initial value for lightning addresses (#2564)
* Also check protocol name before setting address field

* Add comment why we remove the domain part if lud16Domain is set

* Refactor NWC url parsing

* Use NWC's lud16 parameter as initial value

* Select lnAddr form by default if lud16 was parsed
2025-09-21 17:35:44 -05:00
ekzyis
1f4d293206
Remove lightning address domain on paste (#2559)
* Move append logic into transform fn

* Remove lightning address domain on paste

* Fix paste of other values
2025-09-20 15:35:51 -05:00
ekzyis
36d2179c9d
Link to wallet guide if exists (#2490)
* Link to guide if exists

* Add LNbits guide

* Update id to LNbits guide

also update guide and add id to ADMIN_ITEMS for perpetual edits

* Use button instead of link

This fixes following console warning:

> Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.

* Fix alignment

* Fix wrong mention of super user requirement

* Move guideUrl to wallets.json
2025-09-08 12:08:43 -05:00
ekzyis
0e583a179d
Update CLN createrune & certificate help (#2478)
* Update CLN createrune help

* Update CLN certificate help
2025-09-02 13:50:18 -05:00
ekzyis
e46f4f01b2
Wallet flow (#2362)
* Wallet flow

* Prepopulate fields of complementary protocol

* Remove TODO about one mutation for save

We need to save protocols in separate mutations so we can use the wallet id returned by the first protocol save for the following protocol saves and save them all to the same wallet.

* Fix badges not updated on wallet delete

* Fix useProtocol call

* Fix lightning address save via prompt

* Don't pass share as attribute to DOM

* Fix useCallback dependency

* Progress numbers as SVGs

* Fix progress line margins

* Remove unused saveWallet arguments

* Update cache with settings response

* Fix line does not connect with number 1

* Don't reuse page nav arrows in form nav

* Fix missing SVG hover style

* Fix missing space in wallet save log message

* Reuse CSS from nav.module.css

* align buttons and their icons/text

* center form progress line

* increase top padding of form on smaller screens

* provide margin above button bar on settings form

---------

Co-authored-by: k00b <k00b@stacker.news>
2025-08-26 09:19:52 -05:00