Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab Community Edition
GitLab Community Edition
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 14,050
    • Issues 14,050
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 800
    • Merge Requests 800
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab Community EditionGitLab Community Edition
  • Issues
  • #51859

Closed
Open
Opened Sep 25, 2018 by James Ramsay@jramsay
  • Report abuse
  • New issue
Report abuse New issue

Add list mode to merge request file tree

Iterating on #14249 (closed)

There are benefits and disadvantages to file trees vs lists, but people have strong opinions one way or another. A particularly advantage of lists is that they are more compact for changes that span many levels of directories. We should allow users to choose.

Proposal

  • Add a file list mode to the file tree.
  • Remember the user preference so that all merge requests are shown the same way.

Designs

Inline diffs Side-by-side diffs Filter files
inline side-by-side search-results
  • The file list items show the full path and are truncated at the beginning so that the file names are intact.
  • When the filter files text input receives focus, the list/tree toggle buttons are hidden and the text input is made full width of the file browser pane. This is to prevent the user from changing list/tree modes when viewing the filter results.

Links / references

Edited Oct 08, 2018 by Jeethu Karthik

Related issues

Assignee
Assign to
Epic
11.5
Milestone
11.5
Assign milestone
Time tracking
None
Due date
No due date
9
Labels
Create Deliverable In dev P3 UX ready devops:create feature frontend merge requests
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-ce#51859