gitlab-org--gitlab-foss/features
Douwe Maan ef9ba9050e Merge branch 'single-file-diffs' into 'master'
Single file diffs

Closes #14103. Related (not part of this MR): #19553.

This adds a `diff_for_path` action to each place we render diffs (commit, compare, new MR, existing MR) which renders the diff for a single path. The action is always available with the same params as the 'parent' action, to make it simpler to generate the URIs.

If a diff is bigger than 10 KB, it will be collapsed by default and have a data attribute added. You can then click the message or the filename to expand that diff. For expanded files, you can collapse and expand them, but they won't make any AJAX requests.

![Expand_and_collapse_diffs](/uploads/a4072029085082b85c47006f67ac531c/Expand_and_collapse_diffs.gif)

See merge request !4990
2016-07-11 17:51:57 +00:00
..
admin Revert "Revert "Merge branch 'issue_3946' into 'master' "" 2016-07-07 23:48:02 -04:00
dashboard Updated tests 2016-07-05 09:06:38 +01:00
explore Fix test 2016-03-04 19:27:02 +01:00
group Updates from last code review. 2016-03-06 23:07:19 -05:00
profile Test changing notification settings per project fron notificaitons page 2016-03-30 10:44:20 +02:00
project Disable overflow messages 2016-07-08 10:57:21 +01:00
snippets
steps Merge branch 'single-file-diffs' into 'master' 2016-07-11 17:51:57 +00:00
support Remove coveralls lines 2016-06-30 19:52:36 +02:00
abuse_report.feature
groups.feature Remove go to dashboard test suite for group page and get rid of AR warning 2016-05-03 13:04:47 +02:00
invites.feature
search.feature Fixed logout tests 2016-06-28 13:17:29 +01:00
snippet_search.feature
user.feature Fix specs 2016-03-01 17:42:44 -05:00