ipfs-webui icon indicating copy to clipboard operation
ipfs-webui copied to clipboard

Files screen: Improve experience when connection dropped

Open jessicaschilling opened this issue 5 years ago • 0 comments

Bug discovered by @lidel in https://github.com/ipfs-shipyard/ipfs-webui/pull/1577#issuecomment-682939157:

When I shut down my node and open Files screen (without reloading the page), it displays connection error AND import drawer is expanded with "Imported 0 items" message – it hit me how confusing it looks. Quick fix would be to redirect to status page when offline, or at least hide the import drawer, if possible. If we only had Orange error, then user would instinctively refresh the page:

2020-08-17--23-56-23

To replicate, avoid refreshing the page. Try:

  1. be on the Status or Peer screen and when node is online and everything works ok
  2. shut down your node, so webui loses connection to the API
  3. switch to Files screen (without refreshing the page)

jessicaschilling avatar Sep 01 '20 14:09 jessicaschilling