diff --git a/.rubocop_todo/style/inline_disable_annotation.yml b/.rubocop_todo/style/inline_disable_annotation.yml index a0f185d2c26..605a0988602 100644 --- a/.rubocop_todo/style/inline_disable_annotation.yml +++ b/.rubocop_todo/style/inline_disable_annotation.yml @@ -3020,7 +3020,6 @@ Style/InlineDisableAnnotation: - 'spec/support/sidekiq_middleware.rb' - 'spec/support_specs/ability_check_spec.rb' - 'spec/support_specs/capybara_slow_finder_spec.rb' - - 'spec/support_specs/capybara_wait_for_all_requests_spec.rb' - 'spec/support_specs/database/multiple_databases_helpers_spec.rb' - 'spec/support_specs/helpers/stub_feature_flags_spec.rb' - 'spec/support_specs/matchers/event_store_spec.rb' diff --git a/app/assets/javascripts/branches/components/delete_merged_branches.vue b/app/assets/javascripts/branches/components/delete_merged_branches.vue index 5aaa2c2b34b..e020eedda91 100644 --- a/app/assets/javascripts/branches/components/delete_merged_branches.vue +++ b/app/assets/javascripts/branches/components/delete_merged_branches.vue @@ -26,7 +26,7 @@ export const i18n = { 'Branches|This bulk action is %{strongStart}permanent and cannot be undone or recovered%{strongEnd}.', ), confirmationMessage: s__( - 'Branches|Plese type the following to confirm: %{codeStart}delete%{codeEnd}.', + 'Branches|Please type the following to confirm: %{codeStart}delete%{codeEnd}.', ), cancelButtonText: __('Cancel'), actionsToggleText: __('More actions'), diff --git a/app/assets/javascripts/ci/catalog/components/list/catalog_search.vue b/app/assets/javascripts/ci/catalog/components/list/catalog_search.vue index b922791f4b6..4c55bb41561 100644 --- a/app/assets/javascripts/ci/catalog/components/list/catalog_search.vue +++ b/app/assets/javascripts/ci/catalog/components/list/catalog_search.vue @@ -1,12 +1,14 @@ @@ -408,12 +397,9 @@ export default { import { GlTable } from '@gitlab/ui'; import { s__ } from '~/locale'; -import { TH_DESCRIPTION_TEST_ID, TH_TARGET_TEST_ID, TH_NEXT_TEST_ID } from '../../constants'; import PipelineScheduleActions from './cells/pipeline_schedule_actions.vue'; import PipelineScheduleLastPipeline from './cells/pipeline_schedule_last_pipeline.vue'; import PipelineScheduleNextRun from './cells/pipeline_schedule_next_run.vue'; @@ -15,21 +14,15 @@ export default { fields: [ { key: 'description', - actualSortKey: 'DESCRIPTION', label: s__('PipelineSchedules|Description'), thClass: 'gl-border-t-none!', columnClass: 'gl-w-8/20', - sortable: true, - thAttr: TH_DESCRIPTION_TEST_ID, }, { key: 'target', - actualSortKey: 'REF', - sortable: true, label: s__('PipelineSchedules|Target'), thClass: 'gl-border-t-none!', columnClass: 'gl-w-2/20', - thAttr: TH_TARGET_TEST_ID, }, { key: 'pipeline', @@ -39,12 +32,9 @@ export default { }, { key: 'next', - actualSortKey: 'NEXT_RUN_AT', label: s__('PipelineSchedules|Next Run'), thClass: 'gl-border-t-none!', columnClass: 'gl-w-3/20', - sortable: true, - thAttr: TH_NEXT_TEST_ID, }, { key: 'owner', @@ -76,24 +66,6 @@ export default { type: Object, required: true, }, - sortBy: { - type: String, - required: true, - }, - sortDesc: { - type: Boolean, - required: true, - }, - }, - methods: { - fetchSortedData({ sortBy, sortDesc }) { - const field = this.$options.fields.find(({ key }) => key === sortBy); - const sortingDirection = sortDesc ? 'DESC' : 'ASC'; - - if (!field?.actualSortKey) return; - - this.$emit('update-sorting', `${field.actualSortKey}_${sortingDirection}`, sortBy, sortDesc); - }, }, }; @@ -104,11 +76,8 @@ export default { :items="schedules" :tbody-tr-attr="{ 'data-testid': 'pipeline-schedule-table-row' }" :empty-text="$options.i18n.emptyText" - :sort-by="sortBy" - :sort-desc="sortDesc" show-empty stacked="md" - @sort-changed="fetchSortedData" >