Closed computeronix closed 8 years ago
Can you write this isse as a user story please?
As
Example: As renter I would like to have a new storj cli command "delete-files". That would allow me to clean up my buckets for a better overview of "list-files" output. Please add a warning and confirmation to remember me about the consequences.
Delete the encryption key as well?
done - re -worded above
In what scenario do you want to keep an encryption key for a file that no longer exists?
I don't see any reason to keep the key. Don't ask and delete the key.
I think the "problem" in this issue is only the order. Delete-file is working fine but it is confusing for the user.
As I would like to have a better experience within deleting files using the core, I would like the order for deleting a file procedures to be adjusted per the below information.
New Order when delete-file is issued
By adjusting the above information this will allow for a better overall user experience when manipulating files. It does not not make too much sense first for asking are you sure then ask for the passphrase. As a user I would like to first be asked to prompt for the passphrase to then be able to check to see if the file exists. Why ask me to confirm to delete something that potentially does not exist?