Added changed state to IDE
What does this MR do?
Allows changed or added files to be closed in the IDE. Previously any changed/added file would be forced to stay open because only tracked changed/added files in the openFiles
array. Now we track this in a different array changedFiles
.
To discard changes, there is now a button in the sidebar that allows for file changes to be discarded.
Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/4540
-
UX reviewed
Edited by Phil Hughes