Open staged files from multi file editor right sidebar
Dependencies
This issue relies on https://gitlab.com/gitlab-org/gitlab-ce/issues/41277 being implemented
Scenario
It would be really handy if files could be opened from the commit panel. This would mean that if I close a file I have changed I can quickly re-open it without having to navigate a large file tree.
Design
- Clicking those files should (re-)open the files and focus them as the active file
- The items in the sidebar should focus style-wise similarly to dropdown list items.
Follow up
Ultimately we would want to immediately show a summary of what has been changed in that file. We can introduce a "preview changes" sub tab.. similar as we have in the normal blob editor.
The follow up issue for this is https://gitlab.com/gitlab-org/gitlab-ce/issues/41640