* 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>
* 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
* Add unit to poll interval constants
* Poll for wallets until success
* Stop polling on (impossible) unmount
---------
Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
* albyhub guide
* add more shortcuts, fix systemd code block
* add link to macOS guide for service installation
* add some formatting and better separation of concerns
* fix headings
* add references to SN
* correct order, new screenshots, in-depth steps
* 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
* 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>
* Use SSR for wallet forms
* Fix back/forward navigation with useData hook
* Fix protocol fallback not working with shallow routing
* Fix wallet refetch
* Replace useEffect for default selection with smart link
* Remove unused useWalletQuery
* Move server2client wallet transform into single function
* Add comment about graphql-tag fragment warning
* Check if wallet not found
* Handle wallet is sometimes null on back or forward navigation
* Add wallet debug logs
* Add checkbox to toggle diagnostics
* Require authentication for /wallets/debug
* Update debug log messages
* Use me.privates.diagnostics as source of truth