Skip to content

Web IDE feature spec: User adds or uploads a new file or directory

context: User adds a new directory

  • the directory is added in tree view
  • "new content" icon (green) is NOT present on the directory
  • context: directory already exists
    • error shows up- context: switching to commit tab
  • context: switching to commit tab
    • the directory does NOT show up in commit tab

context: User adds a new file

  • file is added in the tree view
  • "new content" icon (green) is present on the file
  • context: file/directory with the same name already exists
    • error shows up
  • context: file is binary
    • download viewer shows up
    • download link links to a blob url which contains the file's raw contents
  • context: file is an image
    • image viewer shows up
    • image link is a blob url which contains the file's raw contents
  • context: switching to commit tab
    • the file shows up in commit tab with a plus icon
Edited by Himanshu Kapoor