Commit 4f4290ff authored by Filipa Lacerda's avatar Filipa Lacerda 🤸🏼

Moves help_popover component to a common location

parent 3a5885c4
......@@ -4,15 +4,20 @@ import Icon from '~/vue_shared/components/icon.vue';
import { inserted } from '~/feature_highlight/feature_highlight_helper';
import { mouseenter, debouncedMouseleave, togglePopover } from '~/shared/popover';
/**
* Render a button with a question mark icon
* On hover shows a popover. The popover will be dismissed on mouseleave
*/
export default {
name: 'ReportsHelpPopover',
name: 'HelpPopover',
components: {
Icon,
},
props: {
options: {
type: Object,
required: true,
required: false,
default: () => ({}),
},
},
mounted() {
......
......@@ -2,7 +2,7 @@
import { __ } from '~/locale';
import StatusIcon from '~/vue_merge_request_widget/components/mr_widget_status_icon.vue';
import IssuesList from './issues_list.vue';
import Popover from './help_popover.vue';
import Popover from '../help_popover.vue';
const LOADING = 'LOADING';
const ERROR = 'ERROR';
......
<script>
import CiIcon from '~/vue_shared/components/ci_icon.vue';
import LoadingIcon from '~/vue_shared/components/loading_icon.vue';
import Popover from './help_popover.vue';
import Popover from '../help_popover.vue';
/**
* Renders the summary row for each report
......
---
title: Moves help_popover component to a common location
merge_request:
author:
type: other
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment