Skip to content

Add a Go back option to Web IDE

André Luís requested to merge 4592-go-back-option-ide into master

What does this MR do?

Adds a Go Back link to Web IDE.

The link points to the page where the WebIDE was triggered from. If no referrer is found, falling back to the Project URL.

Are there points in the code the reviewer needs to double check?

There was some seemingly unnecessary code specifying min-height using calc that was causing issues and needed to have the calc() updated every time we added a new item.

I updated that and couldn't see any bugs or regressions in the layout. Please advise if I missed anything. (https://gitlab.com/gitlab-org/gitlab-ee/commit/75e0aaf6f4d063daf11a3da51433395ad8f6e261#c459364695ad302a6eea4dfa209a3ea071c73af5_635_635)

Why was this MR needed?

As part of improving the UX of jumping in and out of WebIDE, this provides an exit to the point they were before jumping into the Web IDE.

See https://gitlab.com/gitlab-org/gitlab-ee/issues/4592 for more details.

Screenshots (if relevant)

Screen_Shot_2018-03-14_at_13.38.42

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #4592 (closed)

Edited by André Luís

Merge request reports