Skip to content

File tree is not collapsable on per-commit view

Summary

Can't collapse file tree on commit view on Merge Request

Steps to reproduce

On a Merge request, choose to view a single commit change.

Example Project

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22522/diffs?commit_id=f6023d16075681addb5bb842b8470543690dac44

What is the current bug behavior?

The collapse file tree button is not vissible on per-commit view.

What is the expected correct behavior?

File tree should be able to be collapsable on any diff.

Relevant logs and/or screenshots

Correct (Whole MR view)

Captura_de_pantalla_de_2018-10-22_15-51-42

Incorrect

Captura_de_pantalla_de_2018-10-22_15-52-06

Output of checks

This bug happens on GitLab.com

Proposed design

image

Edited by Jeethu Karthik