From 83e66eef414ad7bc77950e83d54e9e851dda373c Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 6 Jun 2017 15:46:31 -0500 Subject: Add support for multiple tooltips in the same Vue component Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33223 --- .../components/environment_actions.vue | 3 +- .../issue_show/components/fields/project_move.vue | 4 +- .../components/graph/action_component.vue | 3 +- .../components/graph/dropdown_action_component.vue | 3 +- .../components/graph/dropdown_job_component.vue | 5 +- .../pipelines/components/graph/job_component.vue | 4 +- .../pipelines/components/pipeline_url.vue | 10 ++-- .../pipelines/components/pipelines_actions.js | 3 +- .../javascripts/pipelines/components/time_ago.js | 2 +- .../vue_shared/components/header_ci_component.vue | 3 +- .../vue_shared/components/markdown/header.vue | 5 +- .../components/markdown/toolbar_button.vue | 3 +- .../vue_shared/components/time_ago_tooltip.vue | 5 +- .../components/user_avatar/user_avatar_image.vue | 3 +- .../javascripts/vue_shared/mixins/tooltip.js | 13 +++-- doc/development/fe_guide/style_guide_js.md | 12 +++-- spec/javascripts/vue_shared/mixins/tooltip_spec.js | 62 ++++++++++++++++++++++ 17 files changed, 102 insertions(+), 41 deletions(-) create mode 100644 spec/javascripts/vue_shared/mixins/tooltip_spec.js diff --git a/app/assets/javascripts/environments/components/environment_actions.vue b/app/assets/javascripts/environments/components/environment_actions.vue index 41d5453f1b2..baa28746f3b 100644 --- a/app/assets/javascripts/environments/components/environment_actions.vue +++ b/app/assets/javascripts/environments/components/environment_actions.vue @@ -54,10 +54,9 @@ export default { role="group">