From 04ca758459b33d66a12a29cc6e7d9d75e3e23fd9 Mon Sep 17 00:00:00 2001 From: Briley Sandlin Date: Wed, 16 Oct 2024 12:06:12 -0500 Subject: [PATCH 1/6] PA team paper cuts 17.6 Completing various UX polish issues for pipeline authoring Changelog: changed --- .../ci/ci_variable_list/components/ci_variable_drawer.vue | 6 +++--- .../components/table/cells/pipeline_schedule_actions.vue | 6 +++--- .../pipelines_page/components/empty_state/ci_templates.vue | 2 +- locale/gitlab.pot | 7 +++++-- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue b/app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue index ce7a29c85d2832..9ffbda6f7329a4 100644 --- a/app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue +++ b/app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue @@ -400,6 +400,7 @@ export default { }, submit() { this.$emit(this.isEditing ? 'update-variable' : 'add-variable', this.variableToEmit); + this.$refs.drawer.$el.scrollTo({ top: 0, behavior: 'smooth' }); }, trackVariableValidationErrors() { const property = this.getTrackingErrorProperty(); @@ -440,6 +441,7 @@ export default {