Rename and delete files and directories in the Web IDE

I should be able to rename and delete files in the Web IDE so that I don't have to leave the Web IDE to the repository file list to do this.

Proposal

  • add delete button to file/directory drop down in file tree
  • add rename button to file/directory drop down in file tree

20180205_screenshot_1

Design

  • Get rid of the plus icon, and replace it with a menu icon

  • For files, there can already exist icons in the right side of the list element. These should be shoved aside with a small animation similar to:

2018-02-15_14.45.08

  • Files menu should consist of:

    • Rename

    • Duplicate (separate issue)

    • Move (separate issue)

    • Delete

  • Directory menu should consist of:

    • New file

    • Upload file

    • New folder

    • SEPARATOR hr

    • Rename

    • Duplicate (separate issue)

    • Move (separate issue)

    • Delete

  • The menu will display dedicated icons for each item, svg's will be available in a bit

  • The branch has always visible options, these are not extended here/much, so we can display them directly with dedicated icons.

This results in:

image

image

Edited Mar 01, 2018 by Dimitrie Hoekstra
Assignee Loading
Time tracking Loading