Skip to content

Resolve "Make the MR file tree react on viewport resize if no setting is saved on localStorage"

André Luís requested to merge 52622-file-tree-resize-aware into master

What does this MR do?

A followup work of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22273 was to have the file tree respect the default when a resize occurs (ie, tablet is rotated to landscape and is now large enough to show tree).

Scenario:

  • User opens MR page for first time with file tree in a small screen: tree doesn't open by default
  • User rotates screen, making it now large enough that it should show tree by default: tree now opens on resize

If user opens/closes, that setting is honoured across resizes, though.

What are the relevant issue numbers?

Closes #52622 (closed)

Does this MR meet the acceptance criteria?

Edited by André Luís

Merge request reports