From e0bd3a45d9dc6c74cac1a33ea8c03d6d8334249b Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 1 Oct 2019 21:06:09 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../diffs/components/inline_diff_view.vue | 11 +++++----- .../diffs/components/parallel_diff_view.vue | 13 ++++++------ app/policies/group_policy.rb | 10 +++++----- app/policies/milestone_policy.rb | 2 +- app/views/dashboard/snippets/index.html.haml | 4 ---- ...the-top-of-expandable-code-diff-blocks.yml | 5 +++++ changelogs/unreleased/issue_32364.yml | 5 +++++ ...e-primary-button-in-dashboard-snippets.yml | 5 +++++ lib/gitlab/search_results.rb | 2 +- spec/lib/gitlab/search_results_spec.rb | 4 ++-- spec/policies/group_policy_spec.rb | 20 +++++++++++++++++-- .../policies/group_policy_shared_context.rb | 1 + 12 files changed, 54 insertions(+), 28 deletions(-) create mode 100644 changelogs/unreleased/32192-remove-gap-at-the-top-of-expandable-code-diff-blocks.yml create mode 100644 changelogs/unreleased/issue_32364.yml create mode 100644 changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml diff --git a/app/assets/javascripts/diffs/components/inline_diff_view.vue b/app/assets/javascripts/diffs/components/inline_diff_view.vue index aee01409db7..1eb17588376 100644 --- a/app/assets/javascripts/diffs/components/inline_diff_view.vue +++ b/app/assets/javascripts/diffs/components/inline_diff_view.vue @@ -45,12 +45,11 @@ export default { :data-commit-id="commitId" class="code diff-wrap-lines js-syntax-highlight text-file js-diff-inline-view" > - - - - - - + + + + +