Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 39,511
    • Issues 39,511
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1,222
    • Merge requests 1,222
  • Requirements
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #233898

You need to sign in or sign up before continuing.
Closed
Open
Created Aug 06, 2020 by André Luís@andr3Developer

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

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