You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
General:
Error and success messages should be reset when leaving the screen (right now e.g. click "CREATE LNDHUB ACCOUNT" with empty Host, leave the view and come back -> you will still see the error).
LNDHub:
Disable "CREATE LNDHUB ACCOUNT" button if Host is empty. In case user is setting up an existing account: Disable button if Host or Username or Password is empty.
Host input typing: block all illegal hostname-chars
Host input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars within data were pasted
Existing Account->Username input typing: block space chars
Existing Account->Username input pasting: auto clean leading/trailing white spaces and line breaks, display error message if space char within data was pasted
Existing Account -> Password input: no blocking of space chars, no autoCorrect
LND (Lightning Node Connect):
Pairing Phrase input typing: block all chars but a-z, A-Z and space char (also block space char if it is the first char in the input, also block space char if it is more than 1 space char in a row)
Pairing Phrase input pasting: auto clean leading/trailing white spaces and line breaks, also auto-replace more than 1 space char in a row into 1, also auto-clean line breaks in between words, display error message if illegal chars pasted
Pairing Phrase input focus loss: display error message if pairing phrase is not exactly 10 words, no error message if pairing phrase is empty -> user obviously wants to do other stuff first
Custom Mailbox Server input typing: block all illegal hostname-chars (but allow :)
Custom Mailbox Server input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars pasted
Custom Mailbox Server input focus loss: display error message if not formatted host:port or host (default port 443 ist used in this case), no error message if custom mailbox server is empty -> user obviously wants to do other stuff first
Disable "SAVE NODE CONFIG" button if Pairing Phrase word count is != 10 (or if Custom Mailbox Server is used, but it's not formatted host:port or host).
Host input typing: block all illegal hostname-chars
Host input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars within data were pasted
LND/c-Lightning-REST: Macaroon input typing: block non-hex chars (although it shouldnt really happen that users type a macaroon)
LND/c-Lightning-REST: Macaroon input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars within data were pasted
CLNRest: Rune input typing: block illegal chars (although it shouldnt really happen that users type a rune)
CLNRest: Rune input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars within data were pasted
Disable "SAVE NODE CONFIG" button if Host or Macaroon/Rune is empty (empty REST Port is ok, since Zeus will try default port)
We should improve error handling, when you enter a well formatted but invalid Macaroon, right now you get this:
The text was updated successfully, but these errors were encountered:
myxmaster
changed the title
Better error handling in Node Configuration
Better error handling and general UI in Node Configuration
Dec 2, 2024
myxmaster
changed the title
Better error handling and general UI in Node Configuration
Better error handling and general UX in Node Configuration
Dec 2, 2024
Describe your enhancement idea
General:
Error and success messages should be reset when leaving the screen (right now e.g. click "CREATE LNDHUB ACCOUNT" with empty
Host
, leave the view and come back -> you will still see the error).LNDHub:
Host
is empty. In case user is setting up an existing account: Disable button ifHost
orUsername
orPassword
is empty.Host
input typing: block all illegal hostname-charsHost
input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars within data were pastedUsername
input typing: block space charsUsername
input pasting: auto clean leading/trailing white spaces and line breaks, display error message if space char within data was pastedPassword
input: no blocking of space chars, no autoCorrectLND (Lightning Node Connect):
Pairing Phrase
input typing: block all chars but a-z, A-Z and space char (also block space char if it is the first char in the input, also block space char if it is more than 1 space char in a row)Pairing Phrase
input pasting: auto clean leading/trailing white spaces and line breaks, also auto-replace more than 1 space char in a row into 1, also auto-clean line breaks in between words, display error message if illegal chars pastedPairing Phrase
input focus loss: display error message if pairing phrase is not exactly 10 words, no error message if pairing phrase is empty -> user obviously wants to do other stuff firstCustom Mailbox Server
input typing: block all illegal hostname-chars (but allow:
)Custom Mailbox Server
input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars pastedCustom Mailbox Server
input focus loss: display error message if not formattedhost:port
orhost
(default port 443 ist used in this case), no error message if custom mailbox server is empty -> user obviously wants to do other stuff firstPairing Phrase
word count is != 10 (or ifCustom Mailbox Server
is used, but it's not formattedhost:port
orhost
).LND (Rest) / Core Lightning (CLNRest) / Core Lightning (c-lightning-REST):
Host
input typing: block all illegal hostname-charsHost
input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars within data were pastedMacaroon
input typing: block non-hex chars (although it shouldnt really happen that users type a macaroon)Macaroon
input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars within data were pastedRune
input typing: block illegal chars (although it shouldnt really happen that users type a rune)Rune
input pasting: auto clean leading/trailing white spaces and line breaks, display error message if illegal chars within data were pastedHost
orMacaroon
/Rune
is empty (emptyREST Port
is ok, since Zeus will try default port)We should improve error handling, when you enter a well formatted but invalid
Macaroon
, right now you get this:The text was updated successfully, but these errors were encountered: