diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6609868689d115e3a3c45999622c41e29062304f..cafba1c61493ca04d16d27bc930fbfcae93695c7 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -199,21 +199,6 @@ RSpec/ExpectChange: RSpec/ExpectInHook: Enabled: false -# Offense count: 68 -# Cop supports --auto-correct. -RSpec/LetBeforeExamples: - Exclude: - - 'spec/lib/banzai/filter/issue_reference_filter_spec.rb' - - 'spec/lib/banzai/filter/user_reference_filter_spec.rb' - - 'spec/lib/gitlab/email/handler/create_issue_handler_spec.rb' - - 'spec/lib/gitlab/email/handler/create_merge_request_handler_spec.rb' - - 'spec/lib/gitlab/email/handler/create_note_handler_spec.rb' - - 'spec/models/commit_range_spec.rb' - - 'spec/models/milestone_spec.rb' - - 'spec/models/project_services/packagist_service_spec.rb' - - 'spec/rubocop/cop/migration/update_column_in_batches_spec.rb' - - 'spec/serializers/pipeline_details_entity_spec.rb' - # Offense count: 2188 # Cop supports --auto-correct. # Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers. @@ -679,13 +664,6 @@ Style/RescueModifier: Style/RescueStandardError: Enabled: false -# Offense count: 50 -# Cop supports --auto-correct. -# Configuration parameters: AllowIfMethodIsEmpty. -Style/SingleLineMethods: - Exclude: - - 'lib/gitlab/ci/ansi2html.rb' - # Offense count: 102 # Cop supports --auto-correct. # Configuration parameters: . diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index e7ceb275bc47876ef10f6fd4bb6978cc5a082478..edc9f9d47b28aa4410fee31a3d900ccbb1c04b9c 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -a783958be5ae0797dac9041bdfb884440e0e6306 +02ae27efafdf367d991eac43df02b892be378a1b diff --git a/app/assets/javascripts/diffs/components/inline_diff_table_row.vue b/app/assets/javascripts/diffs/components/inline_diff_table_row.vue index e6ea441c95a62e457890931992fd5e19c682209b..15a22d1767c17e6912830f5872572b34f0ab6f1a 100644 --- a/app/assets/javascripts/diffs/components/inline_diff_table_row.vue +++ b/app/assets/javascripts/diffs/components/inline_diff_table_row.vue @@ -1,8 +1,7 @@ @@ -109,25 +189,52 @@ export default { @mouseover="handleMouseMove" @mouseout="handleMouseMove" > - - + + + + + + + + + + + + /* eslint-disable vue/no-v-html */ import { mapActions } from 'vuex'; -import { GlIcon, GlTooltipDirective } from '@gitlab/ui'; +import { GlIcon, GlLoadingIcon, GlTooltipDirective } from '@gitlab/ui'; import timeAgoTooltip from '~/vue_shared/components/time_ago_tooltip.vue'; export default { @@ -10,6 +10,7 @@ export default { GitlabTeamMemberBadge: () => import('ee_component/vue_shared/components/user_avatar/badges/gitlab_team_member_badge.vue'), GlIcon, + GlLoadingIcon, }, directives: { GlTooltip: GlTooltipDirective, @@ -195,13 +196,12 @@ export default { class="gl-ml-1 gl-text-gray-700 align-middle" /> - + class="editing-spinner" + :label="__('Comment is being updated')" + /> diff --git a/app/assets/javascripts/notes/components/noteable_note.vue b/app/assets/javascripts/notes/components/noteable_note.vue index 7116a007ebeda9010aefc2ba41f3784fe82c2eab..e5f1fbff68781dbd2a567fe8b80c7bc0b53bd03d 100644 --- a/app/assets/javascripts/notes/components/noteable_note.vue +++ b/app/assets/javascripts/notes/components/noteable_note.vue @@ -1,9 +1,8 @@