Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Confirm Folder Deletion #4446

Closed
Closed

Description

@iangcarroll

This would be extremely helpful so I don't delete my whole CSS folder, as I almost just did. phew

Activity

  1. peterflynn commented on Jul 15, 2013

    @peterflynn
    Member

    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!)

  2. WebsiteDeveloper commented on Jul 15, 2013

    @WebsiteDeveloper
    Contributor

    I think changing if from "Delete" to something like "Move to trash" would be more clear.

  3. peterflynn commented on Jul 15, 2013

    @peterflynn
    Member

    @WebsiteDeveloper We'd need OS-specific strings in that case, but it seems reasonable to me...

  4. sathyamoorthi commented on Jul 16, 2013

    @sathyamoorthi
    Contributor

    Just noticed. This is unfair. Anybody working on this?

  5. swapnilgt commented on Jul 16, 2013

    @swapnilgt

    @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.

  6. discoursed commented on Jul 16, 2013

    @discoursed
  7. TomMalbran commented on Jul 16, 2013

    @TomMalbran
    Contributor

    @swapnilgt The file delete handler is on src/document/DocumentCommandsHandlers.js at line 1135.

  8. added a commit that references this issue on Jul 19, 2013
    37ffb17
  9. swapnilgt commented on Jul 20, 2013

    @swapnilgt

    @peterflynn any particular reason for not including the confirmation dialog for file deletion?

  10. peterflynn commented on Jul 22, 2013

    @peterflynn
    Member

    @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).

  11. added a commit that references this issue on Aug 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions