Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
4f4290ff
Commit
4f4290ff
authored
Aug 03, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moves help_popover component to a common location
parent
3a5885c4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
app/assets/javascripts/vue_shared/components/help_popover.vue
...assets/javascripts/vue_shared/components/help_popover.vue
+7
-2
app/assets/javascripts/vue_shared/components/reports/report_section.vue
...ascripts/vue_shared/components/reports/report_section.vue
+1
-1
app/assets/javascripts/vue_shared/components/reports/summary_row.vue
...javascripts/vue_shared/components/reports/summary_row.vue
+1
-1
changelogs/unreleased/49375-move-help-popover.yml
changelogs/unreleased/49375-move-help-popover.yml
+5
-0
No files found.
app/assets/javascripts/vue_shared/components/
reports/
help_popover.vue
→
app/assets/javascripts/vue_shared/components/help_popover.vue
View file @
4f4290ff
...
@@ -4,15 +4,20 @@ import Icon from '~/vue_shared/components/icon.vue';
...
@@ -4,15 +4,20 @@ import Icon from '~/vue_shared/components/icon.vue';
import
{
inserted
}
from
'
~/feature_highlight/feature_highlight_helper
'
;
import
{
inserted
}
from
'
~/feature_highlight/feature_highlight_helper
'
;
import
{
mouseenter
,
debouncedMouseleave
,
togglePopover
}
from
'
~/shared/popover
'
;
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
{
export
default
{
name
:
'
Reports
HelpPopover
'
,
name
:
'
HelpPopover
'
,
components
:
{
components
:
{
Icon
,
Icon
,
},
},
props
:
{
props
:
{
options
:
{
options
:
{
type
:
Object
,
type
:
Object
,
required
:
true
,
required
:
false
,
default
:
()
=>
({}),
},
},
},
},
mounted
()
{
mounted
()
{
...
...
app/assets/javascripts/vue_shared/components/reports/report_section.vue
View file @
4f4290ff
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
import
{
__
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
import
StatusIcon
from
'
~/vue_merge_request_widget/components/mr_widget_status_icon.vue
'
;
import
StatusIcon
from
'
~/vue_merge_request_widget/components/mr_widget_status_icon.vue
'
;
import
IssuesList
from
'
./issues_list.vue
'
;
import
IssuesList
from
'
./issues_list.vue
'
;
import
Popover
from
'
./help_popover.vue
'
;
import
Popover
from
'
.
.
/help_popover.vue
'
;
const
LOADING
=
'
LOADING
'
;
const
LOADING
=
'
LOADING
'
;
const
ERROR
=
'
ERROR
'
;
const
ERROR
=
'
ERROR
'
;
...
...
app/assets/javascripts/vue_shared/components/reports/summary_row.vue
View file @
4f4290ff
<
script
>
<
script
>
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
LoadingIcon
from
'
~/vue_shared/components/loading_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
* Renders the summary row for each report
...
...
changelogs/unreleased/49375-move-help-popover.yml
0 → 100644
View file @
4f4290ff
---
title
:
Moves help_popover component to a common location
merge_request
:
author
:
type
:
other
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment