BigW Consortium Gitlab
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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
badges | Loading commit data... | |
builds | Loading commit data... | |
commits | Loading commit data... | |
issues | Loading commit data... | |
merge_requests | Loading commit data... | |
source | Loading commit data... | |
active_tab.rb | Loading commit data... | |
archived.rb | Loading commit data... | |
create.rb | Loading commit data... | |
deploy_keys.rb | Loading commit data... | |
fork.rb | Loading commit data... | |
forked_merge_requests.rb | Loading commit data... | |
graph.rb | Loading commit data... | |
hooks.rb | Loading commit data... | |
labels.rb | Loading commit data... | |
merge_requests.rb | Loading commit data... | |
network_graph.rb | Loading commit data... | |
project.rb | Loading commit data... | |
project_find_file.rb | Loading commit data... | |
project_group_links.rb | Loading commit data... | |
project_milestone.rb | Loading commit data... | |
project_shortcuts.rb | Loading commit data... | |
redirects.rb | Loading commit data... | |
services.rb | Loading commit data... | |
snippets.rb | Loading commit data... | |
star.rb | Loading commit data... | |
team_management.rb | Loading commit data... | |
wiki.rb | Loading commit data... |