From 896af1acbd69010f5e9648a9b1d9ec59fb9fdd91 Mon Sep 17 00:00:00 2001 From: Nathan Friend Date: Wed, 14 Aug 2019 17:09:46 -0400 Subject: Add merge train helper text to MR widget (CE) This commit adds a helper text that describes what will happen when a user clicks the "Start/Add to merge train when pipeline succeeds" button. This text appears at the bottom of the merge request widget. In addition, this commit renames the "merge_train_info" component to "merge_train_position_indicator" to avoid ambiguity with the "merge_train_helper_text" component. --- .../components/mr_widget_merge_help.vue | 2 +- .../components/mr_widget_pipeline_container.vue | 10 +++++----- .../vue_merge_request_widget/stores/mr_widget_store.js | 3 +++ app/assets/stylesheets/pages/merge_requests.scss | 3 +-- spec/javascripts/vue_mr_widget/mock_data.js | 2 ++ 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue index a347269c916..53bf9d5ab6f 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue +++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue @@ -23,7 +23,7 @@ export default { };