Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support async endpoints #28

Closed
3 tasks done
unmade opened this issue Aug 24, 2021 · 0 comments · Fixed by #29
Closed
3 tasks done

Support async endpoints #28

unmade opened this issue Aug 24, 2021 · 0 comments · Fixed by #29
Labels
enhancement Improvement of the existing functionality
Milestone

Comments

@unmade
Copy link
Owner

unmade commented Aug 24, 2021

Refactor endpoints according to the changes made in unmade/shelf-back#24:

  • always move file with /files/move_batch or /files/move_to_trash_batch
  • empty trash asynchronously
  • delete file asynchronously

For deleting a file and emptying the trash we can use optimistic update and hide files even before task completes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of the existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant