[go: up one dir, main page]

Skip to content

Usability: Add diffs summary line to top of output in Compare Revisions page

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

The Code > Compare revisions page shows differences between two branches, with the following details displayed in order:

  1. list of commits on source branch
  2. summary line e.g. Showing 1 changed file with 1 addition and 1 deletion
  3. detailed file diffs

One use case for this page is to check that there are no differences between two revisions, and it would be useful to display the summary line first so that a user can quickly see if there are any differences between two revisions without having to scroll down past the list of commits, which may be large.

The summary line could also be repeated above the detailed diffs as it is currently.

Alternatively the list of commits could be initially displayed in a collapsed state able to be expanded if required, so that the summary line is visible near the top of the page.

This feature was requested by a customer in this support ticket.

Edited by 🤖 GitLab Bot 🤖