Skip to content

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

This results in:

  • from top to down -> default, hover, active/focus

image

Icons

You can find them in gitlab-svgs.

  • New file --> doc-new
  • Upload file --> upload
  • New folder --> folder-new
  • Rename --> pencil
  • Duplicate --> dupilcate
  • Move --> arrow-right
  • Delete --> remove
Edited by James Ramsay (ex-GitLab)