webui icon indicating copy to clipboard operation
webui copied to clipboard

Disable webui functionality based on the partner network status

Open hackaugusto opened this issue 6 years ago • 2 comments

Abstract

Some operations require the channel's partner to be online (e.g. sending a transfer, withdraw). If the node is known to be offline the ui should not allow these operations to be performed

Motivation

Better usability, otherwise the operation above will timeout, which may take a little while.

Specification

Depends on: https://github.com/raiden-network/raiden/issues/2016 Once the above is done the webui should just query for the state of the partners regularly and change the state of the UI accordingly (disabling buttons for the operations above if the node goes offline, or enabling if it comes online)

hackaugusto avatar Aug 20 '19 09:08 hackaugusto

@hackaugusto is this issue explicitly for the WebUI?

kelsos avatar Aug 26 '19 14:08 kelsos

This seems like a mixture of work to be done on both Raiden and the WebUI. Raiden needs to provide an API (New or existing) to return channel status including the partner network availability. The webUI has to adapt the new information it gets to implement the above.

rakanalh avatar Aug 30 '19 12:08 rakanalh