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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
a3949585
Commit
a3949585
authored
Apr 26, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
1dcc19d2
97b4aa4f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
17 deletions
+2
-17
app/assets/javascripts/vue_shared/components/notes/system_note.vue
...s/javascripts/vue_shared/components/notes/system_note.vue
+0
-4
changelogs/unreleased/60855-mr-popover-is-not-attached-in-system-notes.yml
...ased/60855-mr-popover-is-not-attached-in-system-notes.yml
+0
-5
spec/frontend/vue_shared/components/notes/system_note_spec.js
.../frontend/vue_shared/components/notes/system_note_spec.js
+0
-6
spec/models/clusters/applications/runner_spec.rb
spec/models/clusters/applications/runner_spec.rb
+2
-2
No files found.
app/assets/javascripts/vue_shared/components/notes/system_note.vue
View file @
a3949585
...
...
@@ -22,7 +22,6 @@ import noteHeader from '~/notes/components/note_header.vue';
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
TimelineEntryItem
from
'
./timeline_entry_item.vue
'
;
import
{
spriteIcon
}
from
'
../../../lib/utils/common_utils
'
;
import
initMRPopovers
from
'
~/mr_popover/
'
;
const
MAX_VISIBLE_COMMIT_LIST_COUNT
=
3
;
...
...
@@ -72,9 +71,6 @@ export default {
);
},
},
mounted
()
{
initMRPopovers
(
this
.
$el
.
querySelectorAll
(
'
.gfm-merge_request
'
));
},
};
</
script
>
...
...
changelogs/unreleased/60855-mr-popover-is-not-attached-in-system-notes.yml
deleted
100644 → 0
View file @
1dcc19d2
---
title
:
Fix bug where system note MR has no popover
merge_request
:
27589
author
:
type
:
fixed
spec/frontend/vue_shared/components/notes/system_note_spec.js
View file @
a3949585
...
...
@@ -5,10 +5,8 @@ import createStore from '~/notes/stores';
describe
(
'
system note component
'
,
()
=>
{
let
vm
;
let
props
;
let
initMRPopoversSpy
;
beforeEach
(()
=>
{
initMRPopoversSpy
=
spyOnDependency
(
issueSystemNote
,
'
initMRPopovers
'
);
props
=
{
note
:
{
id
:
'
1424
'
,
...
...
@@ -58,8 +56,4 @@ describe('system note component', () => {
it
(
'
removes wrapping paragraph from note HTML
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.system-note-message
'
).
innerHTML
).
toEqual
(
'
<span>closed</span>
'
);
});
it
(
'
should initMRPopovers onMount
'
,
()
=>
{
expect
(
initMRPopoversSpy
).
toHaveBeenCalled
();
});
});
spec/models/clusters/applications/runner_spec.rb
View file @
a3949585
...
...
@@ -24,7 +24,7 @@ describe Clusters::Applications::Runner do
it
'is initialized with 4 arguments'
do
expect
(
subject
.
name
).
to
eq
(
'runner'
)
expect
(
subject
.
chart
).
to
eq
(
'runner/gitlab-runner'
)
expect
(
subject
.
version
).
to
eq
(
'0.4.0'
)
expect
(
subject
.
version
).
to
eq
(
Clusters
::
Applications
::
Runner
::
VERSION
)
expect
(
subject
).
to
be_rbac
expect
(
subject
.
repository
).
to
eq
(
'https://charts.gitlab.io'
)
expect
(
subject
.
files
).
to
eq
(
gitlab_runner
.
files
)
...
...
@@ -42,7 +42,7 @@ describe Clusters::Applications::Runner do
let
(
:gitlab_runner
)
{
create
(
:clusters_applications_runner
,
:errored
,
runner:
ci_runner
,
version:
'0.1.13'
)
}
it
'is initialized with the locked version'
do
expect
(
subject
.
version
).
to
eq
(
'0.4.0'
)
expect
(
subject
.
version
).
to
eq
(
Clusters
::
Applications
::
Runner
::
VERSION
)
end
end
end
...
...
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