"Open in Web IDE" button in MR should open all modified files
Summary
When clicking "Open in Web IDE" in a merge request with multiple changed files, I expect the Web IDE to open up all changed files in separate tabs (with some reasonable limit, like 5 or 10 tabs).
Currently, the Web IDE only opens 1 tab. If it's not the file you want to modify, you need to then hunt down the other file in the file tree.
Steps to reproduce
- Open a merge request with multiple files changed, or find an existing one.
- Click "Open in Web IDE".
- Observe 1 tab open, instead of multiple tabs for each modified file.
What is the current bug behavior?
The Web IDE opens with 1 tab. Not sure which file it decides to open.
What is the expected correct behavior?
All modified files in the MR should open in the Web IDE (up to some reasonable limit).
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)