You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use the samus-sync server for that, with for example an environment variable pointing to the media folder, and accepting DELETE requests with file path in body.
Keep in mind that we don't want somebody to do (for example) the equivalent of rm -rf / (what dyou think?).
Client side, we can listen to backspace/delete keycode, and show some sort of "confirm modal" with blessed. It will also have a loading state during deletion.
LGTM to use a keys combination instead of confirmation modal.
We should not forget to document this part, because deletion will work only if all our users have their own samus-sync server.
So I guess we will be forced to put this in .samusrc file.
I hope you had a wonderful night, my friənd.
Might be out-of-scope of the project, but it's really a pain that we need to connect manually to the server if we want to delete a file.
Do you have any idea how we can solve this problem? A simple API could do the trick and it might be good to have.
The text was updated successfully, but these errors were encountered: