Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 46,545
    • Issues 46,545
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,502
    • Merge requests 1,502
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #233898
Closed
Open
Issue created Aug 06, 2020 by André Luís@andr3🚫Developer

Enable single file review mode from the MR Changes tab

Problem to solve

The recently shipped feature of reviewing File by file in MRs !35223 (merged) is buried in the User preferences (https://gitlab.com/profile/preferences).

Users should be able to toggle it on and off from the MR page itself.

Intended users

All users of MRs.

User experience goal

Easily toggle on and off the preference.

Proposal

Further details

While we have the feature flag, this needs to be tied to the same feature flag.

Another detail:

  • What should we do with the User preference in the settings? Keep these two places always in sync? Or remove it from the user settings?

Documentation

An update to this section is in order: https://docs.gitlab.com/ee/user/project/merge_requests/reviewing_and_managing_merge_requests.html#file-by-file-diff-navigation

Availability & Testing

What does success look like, and how can we measure that?

Links / references

See Epic for related work: &516 (closed)

Release Notes

Using single-file diff mode is useful to improve performance and navigation of large merge requests, however, enabling it previously meant leaving the merge request, going into user preferences, and enabling the option.

This releases introduces the capability to enable single-diff mode right within the merge request view. As you navigate to the "changes" tab of the merge request, simply click the gear icon and check the box labeled Display one file at a time. This will display a single file at a time and enable the prev and next buttons to navigate among files.

Edited Oct 09, 2020 by Daniel Gruesso
Assignee
Assign to
Time tracking