Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 34,934
    • Issues 34,934
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,273
    • Merge Requests 1,273
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #233898

Closed
Open
Opened 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

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
13.7
Milestone
13.7 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#233898