Health Check: Connection statuses #18
adamantmm
announced in
Dev Guidelines & Docs
Replies: 1 comment
-
|
Thanks for outlining the statuses so clearly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
See also: Health Check: Algorithm, General Description
Connection Statuses
There are three connection statuses related to receiving and sending messages:
1. No internet connection
No active nodesmay actually meanNo internet connection2. No active/available ADM nodes
(same for coins/services:
No active BTC services)3. No enabled ADM nodes
(same for coins/services:
No enabled BTC services)Unsupportedstatus, but the status is stillNo enabled nodes.Priority of Checks
No internet connectionNo active/available ADM nodesNo enabled ADM nodesSpecific cases
General snackbar
No internet connectionYesNo active/available ADM nodesNoNo enabled ADM nodesNoIn-chat warning popup
No internet connectionNoNo active/available ADM nodesNoNo enabled ADM nodesYes (Connection is alive and No available ADM nodes and User has at least one manually disabled/unchecked node)General updating spinner
(~header, meaning: data/messages are not actual)
See also: Health Check: General updating spinner
Data Loading spinner
Loading chat list spinner/ Specific chat spinner/ ADM tx list spinner.
Show on user request, e.g.:
Spinner is shown until data is updated.
Sending a new message or file
No connection? Show a message in-chat with
Pendingtx status.When do we switch
Pendingstatus toFailed?Note: We implemented two timeouts:
Sending in-chat ADM or other crypto
Also applies to: Sending ADM coins directly.
For Sending non-ADM coins directly (from Account ⟶ Coin ⟶ Send):
See also: In-chat Crypto transfer scenario (TODO)
Starting a new chat
No enabled ADM nodesadditionally: Additional In-chat warning popupOn connection restore
Finish pending requests. E.g., send pending messages, update where spinners.
Login with passphrase
No internet connectionandNo active/available ADM nodesStay on the Login screen + Show snackbar/popupNo enabled ADM nodesGo to the ADM nodes screen + Show snackbar/popupLogin by password/Biometrics
Beta Was this translation helpful? Give feedback.
All reactions