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
As some of the application's depend on a network connection we need to handle it's state.
The logic of the Websocke as well as the UI depends on a stable connection. Id the connection drops we have to handle errors and informing the user about it.
TODOS:
Implement a API /is-online that returns 1 to get a way to check if a internet connection is given
Implement a NetworkConnection service that exposes the online status
Implement a Ws service that wraps the default RxJS WebSocketSubject
implement a init method to initialize the connecction logic
disconnect the ws id the network connection drops
disconnect the ws id the network connection drops
Disable the SimpleAuditForm if the connection dropped
Enable the SimpleAuditForm if the connection establishes again
Initialize the WS login after the first interaction that requires a WS connection is done (e.g. click the submit button, open a result)
Add disabled styles to forms
Remove old code
The text was updated successfully, but these errors were encountered:
As some of the application's depend on a network connection we need to handle it's state.
The logic of the Websocke as well as the UI depends on a stable connection. Id the connection drops we have to handle errors and informing the user about it.
TODOS:
/is-online
that returns 1 to get a way to check if a internet connection is givenNetworkConnection
service that exposes the online statusWs
service that wraps the default RxJSWebSocketSubject
init
method to initialize the connecction logicSimpleAuditForm
if the connection droppedSimpleAuditForm
if the connection establishes againThe text was updated successfully, but these errors were encountered: