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
927d2459
Commit
927d2459
authored
Jun 11, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename MrWidgetAuthorTime vue component
parent
878f870a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
8 deletions
+13
-8
app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue
...merge_request_widget/components/mr_widget_author_time.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_closed.vue
...rge_request_widget/components/states/mr_widget_closed.vue
+2
-2
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_merged.vue
...rge_request_widget/components/states/mr_widget_merged.vue
+2
-2
changelogs/unreleased/use-tooltip-component-in-mr-widget-author-time-component.yml
...-tooltip-component-in-mr-widget-author-time-component.yml
+5
-0
spec/javascripts/vue_mr_widget/components/mr_widget_author_time_spec.js
...ts/vue_mr_widget/components/mr_widget_author_time_spec.js
+3
-3
No files found.
app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue
View file @
927d2459
...
...
@@ -3,7 +3,7 @@
import
MrWidgetAuthor
from
'
./mr_widget_author.vue
'
;
export
default
{
name
:
'
M
R
WidgetAuthorTime
'
,
name
:
'
M
r
WidgetAuthorTime
'
,
components
:
{
MrWidgetAuthor
,
},
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_closed.vue
View file @
927d2459
<
script
>
import
m
rWidgetAuthorTime
from
'
../../components/mr_widget_author_time.vue
'
;
import
M
rWidgetAuthorTime
from
'
../../components/mr_widget_author_time.vue
'
;
import
statusIcon
from
'
../mr_widget_status_icon.vue
'
;
export
default
{
name
:
'
MRWidgetClosed
'
,
components
:
{
m
rWidgetAuthorTime
,
M
rWidgetAuthorTime
,
statusIcon
,
},
props
:
{
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_merged.vue
View file @
927d2459
...
...
@@ -4,7 +4,7 @@
import
loadingIcon
from
'
~/vue_shared/components/loading_icon.vue
'
;
import
{
s__
,
__
}
from
'
~/locale
'
;
import
ClipboardButton
from
'
~/vue_shared/components/clipboard_button.vue
'
;
import
m
rWidgetAuthorTime
from
'
../../components/mr_widget_author_time.vue
'
;
import
M
rWidgetAuthorTime
from
'
../../components/mr_widget_author_time.vue
'
;
import
statusIcon
from
'
../mr_widget_status_icon.vue
'
;
import
eventHub
from
'
../../event_hub
'
;
...
...
@@ -14,7 +14,7 @@
tooltip
,
},
components
:
{
m
rWidgetAuthorTime
,
M
rWidgetAuthorTime
,
loadingIcon
,
statusIcon
,
ClipboardButton
,
...
...
changelogs/unreleased/use-tooltip-component-in-mr-widget-author-time-component.yml
0 → 100644
View file @
927d2459
---
title
:
Use Tooltip component in MrWidgetAuthorTime vue comonent
merge_request
:
19635
author
:
George Tsiolis
type
:
performance
spec/javascripts/vue_mr_widget/components/mr_widget_author_time_spec.js
View file @
927d2459
import
Vue
from
'
vue
'
;
import
authorTimeComponent
from
'
~/vue_merge_request_widget/components/mr_widget_author_time.vue
'
;
import
MrWidgetAuthorTime
from
'
~/vue_merge_request_widget/components/mr_widget_author_time.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
describe
(
'
M
R
WidgetAuthorTime
'
,
()
=>
{
describe
(
'
M
r
WidgetAuthorTime
'
,
()
=>
{
let
vm
;
beforeEach
(()
=>
{
const
Component
=
Vue
.
extend
(
authorTimeComponent
);
const
Component
=
Vue
.
extend
(
MrWidgetAuthorTime
);
vm
=
mountComponent
(
Component
,
{
actionText
:
'
Merged by
'
,
...
...
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