Resolve "Make the MR file tree react on viewport resize if no setting is saved on localStorage"
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?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Edited by André Luís