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
Jérome Perrin
gitlab-ce
Commits
b4d6bbf4
Commit
b4d6bbf4
authored
Oct 02, 2017
by
Filipa Lacerda
Committed by
Phil Hughes
Oct 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove global components
parent
664cd27f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
55 additions
and
35 deletions
+55
-35
app/assets/javascripts/cycle_analytics/components/stage_code_component.vue
...ripts/cycle_analytics/components/stage_code_component.vue
+4
-0
app/assets/javascripts/cycle_analytics/components/stage_component.vue
...avascripts/cycle_analytics/components/stage_component.vue
+4
-0
app/assets/javascripts/cycle_analytics/components/stage_plan_component.vue
...ripts/cycle_analytics/components/stage_plan_component.vue
+19
-15
app/assets/javascripts/cycle_analytics/components/stage_review_component.vue
...pts/cycle_analytics/components/stage_review_component.vue
+4
-0
app/assets/javascripts/cycle_analytics/components/stage_staging_component.vue
...ts/cycle_analytics/components/stage_staging_component.vue
+4
-0
app/assets/javascripts/cycle_analytics/components/stage_test_component.vue
...ripts/cycle_analytics/components/stage_test_component.vue
+20
-14
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
...ets/javascripts/cycle_analytics/cycle_analytics_bundle.js
+0
-6
No files found.
app/assets/javascripts/cycle_analytics/components/stage_code_component.vue
View file @
b4d6bbf4
<
script
>
<
script
>
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
limitWarning
from
'
./limit_warning_component.vue
'
;
import
totalTime
from
'
./total_time_component.vue
'
;
export
default
{
export
default
{
props
:
{
props
:
{
...
@@ -8,6 +10,8 @@
...
@@ -8,6 +10,8 @@
},
},
components
:
{
components
:
{
userAvatarImage
,
userAvatarImage
,
limitWarning
,
totalTime
,
},
},
};
};
</
script
>
</
script
>
...
...
app/assets/javascripts/cycle_analytics/components/stage_component.vue
View file @
b4d6bbf4
<
script
>
<
script
>
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
limitWarning
from
'
./limit_warning_component.vue
'
;
import
totalTime
from
'
./total_time_component.vue
'
;
export
default
{
export
default
{
props
:
{
props
:
{
...
@@ -8,6 +10,8 @@
...
@@ -8,6 +10,8 @@
},
},
components
:
{
components
:
{
userAvatarImage
,
userAvatarImage
,
limitWarning
,
totalTime
,
},
},
};
};
</
script
>
</
script
>
...
...
app/assets/javascripts/cycle_analytics/components/stage_plan_component.vue
View file @
b4d6bbf4
<
script
>
<
script
>
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
iconCommit
from
'
../svg/icon_commit.svg
'
;
import
iconCommit
from
'
../svg/icon_commit.svg
'
;
import
limitWarning
from
'
./limit_warning_component.vue
'
;
import
totalTime
from
'
./total_time_component.vue
'
;
export
default
{
export
default
{
props
:
{
props
:
{
items
:
Array
,
items
:
Array
,
stage
:
Object
,
stage
:
Object
,
},
},
components
:
{
components
:
{
userAvatarImage
,
userAvatarImage
,
totalTime
,
limitWarning
,
},
},
computed
:
{
computed
:
{
iconCommit
()
{
iconCommit
()
{
return
iconCommit
;
return
iconCommit
;
},
},
},
},
};
};
</
script
>
</
script
>
<
template
>
<
template
>
<div>
<div>
...
...
app/assets/javascripts/cycle_analytics/components/stage_review_component.vue
View file @
b4d6bbf4
<
script
>
<
script
>
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
limitWarning
from
'
./limit_warning_component.vue
'
;
import
totalTime
from
'
./total_time_component.vue
'
;
export
default
{
export
default
{
props
:
{
props
:
{
...
@@ -8,6 +10,8 @@
...
@@ -8,6 +10,8 @@
},
},
components
:
{
components
:
{
userAvatarImage
,
userAvatarImage
,
totalTime
,
limitWarning
,
},
},
};
};
</
script
>
</
script
>
...
...
app/assets/javascripts/cycle_analytics/components/stage_staging_component.vue
View file @
b4d6bbf4
<
script
>
<
script
>
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
iconBranch
from
'
../svg/icon_branch.svg
'
;
import
iconBranch
from
'
../svg/icon_branch.svg
'
;
import
limitWarning
from
'
./limit_warning_component.vue
'
;
import
totalTime
from
'
./total_time_component.vue
'
;
export
default
{
export
default
{
props
:
{
props
:
{
...
@@ -9,6 +11,8 @@
...
@@ -9,6 +11,8 @@
},
},
components
:
{
components
:
{
userAvatarImage
,
userAvatarImage
,
totalTime
,
limitWarning
,
},
},
computed
:
{
computed
:
{
iconBranch
()
{
iconBranch
()
{
...
...
app/assets/javascripts/cycle_analytics/components/stage_test_component.vue
View file @
b4d6bbf4
<
script
>
<
script
>
import
iconBuildStatus
from
'
../svg/icon_build_status.svg
'
;
import
iconBuildStatus
from
'
../svg/icon_build_status.svg
'
;
import
iconBranch
from
'
../svg/icon_branch.svg
'
;
import
iconBranch
from
'
../svg/icon_branch.svg
'
;
import
limitWarning
from
'
./limit_warning_component.vue
'
;
import
totalTime
from
'
./total_time_component.vue
'
;
export
default
{
export
default
{
props
:
{
props
:
{
items
:
Array
,
items
:
Array
,
stage
:
Object
,
stage
:
Object
,
},
},
components
:
{
totalTime
,
limitWarning
,
},
computed
:
{
computed
:
{
iconBuildStatus
()
{
iconBuildStatus
()
{
return
iconBuildStatus
;
return
iconBuildStatus
;
...
@@ -15,7 +21,7 @@ export default {
...
@@ -15,7 +21,7 @@ export default {
return
iconBranch
;
return
iconBranch
;
},
},
},
},
};
};
</
script
>
</
script
>
<
template
>
<
template
>
<div>
<div>
...
...
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
View file @
b4d6bbf4
...
@@ -3,14 +3,12 @@
...
@@ -3,14 +3,12 @@
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
import
Translate
from
'
../vue_shared/translate
'
;
import
Translate
from
'
../vue_shared/translate
'
;
import
limitWarningComponent
from
'
./components/limit_warning_component.vue
'
;
import
stageCodeComponent
from
'
./components/stage_code_component.vue
'
;
import
stageCodeComponent
from
'
./components/stage_code_component.vue
'
;
import
stagePlanComponent
from
'
./components/stage_plan_component.vue
'
;
import
stagePlanComponent
from
'
./components/stage_plan_component.vue
'
;
import
stageComponent
from
'
./components/stage_component.vue
'
;
import
stageComponent
from
'
./components/stage_component.vue
'
;
import
stageReviewComponent
from
'
./components/stage_review_component.vue
'
;
import
stageReviewComponent
from
'
./components/stage_review_component.vue
'
;
import
stageStagingComponent
from
'
./components/stage_staging_component.vue
'
;
import
stageStagingComponent
from
'
./components/stage_staging_component.vue
'
;
import
stageTestComponent
from
'
./components/stage_test_component.vue
'
;
import
stageTestComponent
from
'
./components/stage_test_component.vue
'
;
import
totalTime
from
'
./components/total_time_component.vue
'
;
import
CycleAnalyticsService
from
'
./cycle_analytics_service
'
;
import
CycleAnalyticsService
from
'
./cycle_analytics_service
'
;
import
CycleAnalyticsStore
from
'
./cycle_analytics_store
'
;
import
CycleAnalyticsStore
from
'
./cycle_analytics_store
'
;
...
@@ -133,8 +131,4 @@ $(() => {
...
@@ -133,8 +131,4 @@ $(() => {
},
},
},
},
});
});
// Register global components
Vue
.
component
(
'
limit-warning
'
,
limitWarningComponent
);
Vue
.
component
(
'
total-time
'
,
totalTime
);
});
});
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