Closed jancborchardt closed 9 years ago
I guess it might be ok to remove the entries right away while the ajax call is still running. If the user navigates away, the PHP code will still be running and the deletion will still be in progress, which is fine.
The only thing that could happen is that deletion fails for some reason, in which case the entries need to be re-inserted into the table.
Closing in favor of the undo logic https://github.com/owncloud/core/issues/119
Yup, correct. With undo, the file should vanish directly (ideally with quick slideUp animation) and a longer deletion process will be invisible to people.
When deleting files, there’s spinners shown on the right. Since this often takes quite some time I assume the spinners directly reflect what happens in the backend.
If that takes long, it’s annoying. Can’t we have the entries disppear right away (ideally animated collapsing) instead?
In the future, this should be followed by #119 (improve how undo deletion works with sync)
@schiesbn @owncloud/designers