From 533876c67a1cc46f4843dc75310342de16c901bc Mon Sep 17 00:00:00 2001 From: Thomas Randolph Date: Wed, 28 Oct 2020 13:03:44 -0600 Subject: [PATCH 1/2] Expand diff_file collapsed UIs to be significantly more obvious - Expand the collapsed file body vertically - Color the collapsed file body orange - Expand the only-blob-available body vertically - Color the only-blob-available body orange - Convert the control to expand collapsed files into a button --- .../diffs/components/diff_file.vue | 22 ++++++++++++------- app/assets/javascripts/diffs/i18n.js | 4 ++-- locale/gitlab.pot | 6 +++++ .../merge_request/user_expands_diff_spec.rb | 4 ++-- .../diffs/components/diff_file_spec.js | 16 +++++++++----- 5 files changed, 34 insertions(+), 18 deletions(-) diff --git a/app/assets/javascripts/diffs/components/diff_file.vue b/app/assets/javascripts/diffs/components/diff_file.vue index 6d74952b7a16a3..ff7be75265bb24 100644 --- a/app/assets/javascripts/diffs/components/diff_file.vue +++ b/app/assets/javascripts/diffs/components/diff_file.vue @@ -1,7 +1,7 @@