web-ui
web-ui copied to clipboard
[Bug] Opening an old link of a deleted resource hangs the web ui
Hi,
Just discovered this one without looking for it. My web browser opened previously opened tabs from last day, peergos was opened on a resource that was deleted since then, and the web ui is loading indefinitely without erroring. I can't click anywhere because peergos is trying to load the directory but it does not exist anymore.
In this situation, I guess it should either fail/timeout after a reasonable time, or allow the user to click on a path link on the top to unstuck.
related PR: https://github.com/Peergos/web-ui/pull/649 UI should now be more stable in the case of changes across tabs