sahib / brig

File synchronization on top of ipfs with git like interface & web based UI
https://brig.readthedocs.io
GNU Affero General Public License v3.0
568 stars 33 forks source link

Delete doesn't remove a folder from view #34

Closed makew0rld closed 5 years ago

makew0rld commented 5 years ago

Describe the bug When clicking the delete button in the gateway, the folder I deleted stayed visible, but was deleted in the backend.

To Reproduce Try and delete a folder and see that it stays visible

Expected behavior The folder goes away in the view.

Additional context The folder disappears as expected when clicking the "Files" tab again or reloading. It was actually deleted.

makew0rld commented 5 years ago

I'll add that adding a remote doesn't add it to the remote view without reloading the whole page.

sahib commented 5 years ago

Both work for me, but I'm aware that the update might not work after some time.

Some background: When changing something, the frontend does not update its view automatically (because that would be a lot of special code), but waits for an event coming from the backend over a websocket. This websocket seems to be easily closed when changing networks, network lags or suspending your computer. I'll try to see if I can make it re-connect easily.

sahib commented 5 years ago

This should work better with 3f2ec067. If the problem persists, please paste the content of the web console (F12) and describe the exact steps you did plus the time/event after which it happened.

sahib commented 5 years ago

Please re-open when the issue happens again.