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
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Reviewed. We should prompt to confirm folder deletion but not file deletion (like Sublime does).
Also fyi @snapapps, the folder would not be gone forever. Like other editors, our delete commands just move to trash / recycle bin. (If anyone has ideas for making this more clear in the UI, let us know!)
@peterflynn , @sathyamoorthi : Hi. I am new to this project and github. I would like to work on this. Where to find the required code for modification? Already checked out the code and set up for dev.
@swapnilgt Other editors like Sublime don't confirm for single files. Because the files are just moved to the trash, it's an easily undoable operation. Modern OSes are moving away from confirmation dialogs too (albeit for folders also).
Activity
peterflynn commentedon Jul 15, 2013
Reviewed. We should prompt to confirm folder deletion but not file deletion (like Sublime does).
Also fyi @snapapps, the folder would not be gone forever. Like other editors, our delete commands just move to trash / recycle bin. (If anyone has ideas for making this more clear in the UI, let us know!)
WebsiteDeveloper commentedon Jul 15, 2013
I think changing if from "Delete" to something like "Move to trash" would be more clear.
peterflynn commentedon Jul 15, 2013
@WebsiteDeveloper We'd need OS-specific strings in that case, but it seems reasonable to me...
sathyamoorthi commentedon Jul 16, 2013
Just noticed. This is unfair. Anybody working on this?
swapnilgt commentedon Jul 16, 2013
@peterflynn , @sathyamoorthi : Hi. I am new to this project and github. I would like to work on this. Where to find the required code for modification? Already checked out the code and set up for dev.
discoursed commentedon Jul 16, 2013
@swapnilgt @peterflynn
TomMalbran commentedon Jul 16, 2013
@swapnilgt The file delete handler is on
src/document/DocumentCommandsHandlers.jsat line 1135.Confirm folder delete modal fixes adobe#4446
swapnilgt commentedon Jul 20, 2013
@peterflynn any particular reason for not including the confirmation dialog for file deletion?
peterflynn commentedon Jul 22, 2013
@swapnilgt Other editors like Sublime don't confirm for single files. Because the files are just moved to the trash, it's an easily undoable operation. Modern OSes are moving away from confirmation dialogs too (albeit for folders also).
Merge pull request #4515 from g-palmer/confirmDelete