DNP_DAPPMANAGER icon indicating copy to clipboard operation
DNP_DAPPMANAGER copied to clipboard

Refactor long task handling through a DM restart

Open tropicar opened this issue 4 years ago • 1 comments

Find a more friendly UX way to handle tasks that never resolve like:

  • Reboot
  • Exiting DAPPMANAGER, VPN, WIFI. Due to installation, change ENV or restart

Currently, the UI will wait for a WebSocket message that completes a restart call. However, this message will never happen because the DAPPMANAGER forgets it was resetting itself. These tasks should be handled in a cross-process way such as persisting their status to a temporal file or db.

tropicar avatar Jan 21 '21 17:01 tropicar

Also: Review continueIfCalleDisconnected now that UI uses socket.io and will change views if connection interrupts

dapplion avatar Mar 22 '21 10:03 dapplion