BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
7d651ad1
Unverified
Commit
7d651ad1
authored
Mar 21, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed check for host
changed wrapper to container with correct widths
parent
ab53f7aa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
35 deletions
+27
-35
detailed_metric.vue
...avascripts/performance_bar/components/detailed_metric.vue
+8
-10
performance_bar_app.vue
...cripts/performance_bar/components/performance_bar_app.vue
+18
-18
request_selector.vue
...vascripts/performance_bar/components/request_selector.vue
+1
-1
performance_bar.scss
app/assets/stylesheets/performance_bar.scss
+0
-6
No files found.
app/assets/javascripts/performance_bar/components/detailed_metric.vue
View file @
7d651ad1
...
...
@@ -28,8 +28,11 @@ export default {
},
},
computed
:
{
metricDetails
()
{
return
this
.
currentRequest
.
details
[
this
.
metric
];
},
detailsList
()
{
return
this
.
currentRequest
.
details
[
this
.
metric
]
[
this
.
details
];
return
this
.
metricDetails
[
this
.
details
];
},
},
};
...
...
@@ -38,6 +41,7 @@ export default {
<div
:id=
"`peek-view-$
{metric}`"
class="view"
v-if="currentRequest.details"
>
<button
:data-target=
"`#modal-peek-$
{metric}-details`"
...
...
@@ -45,17 +49,11 @@ export default {
type="button"
data-toggle="modal"
>
<span
v-if=
"currentRequest.details"
class=
"bold"
>
{{
currentRequest
.
details
[
metric
].
duration
}}
/
{{
currentRequest
.
details
[
metric
].
calls
}}
</span>
{{
metricDetails
.
duration
}}
/
{{
metricDetails
.
calls
}}
</button>
<gl-modal
v-if=
"currentRequest.details"
:id=
"`modal-peek-$
{metric}-details`"
:header-title-text="header"
class="performance-bar-modal"
...
...
app/assets/javascripts/performance_bar/components/performance_bar_app.vue
View file @
7d651ad1
...
...
@@ -113,27 +113,21 @@ export default {
id=
"js-peek"
:class=
"env"
>
<request-selector
v-if=
"currentRequest"
:current-request=
"currentRequest"
:requests=
"requests"
@
change-current-request=
"changeCurrentRequest"
/>
<div
id=
"peek-view-host"
class=
"view prepend-left-5"
>
<span
v-if=
"currentRequest && currentRequest.details && currentRequest.details.host"
class=
"current-host"
>
{{
currentRequest
.
details
.
host
.
hostname
}}
</span>
</div>
<div
v-if=
"currentRequest"
class=
"
wrapper
"
class=
"
container-fluid container-limited
"
>
<div
id=
"peek-view-host"
class=
"view"
>
<span
v-if=
"currentRequest.details"
class=
"current-host"
>
{{
currentRequest
.
details
.
host
.
hostname
}}
</span>
</div>
<upstream-performance-bar
v-if=
"initialRequest && currentRequest.details"
/>
...
...
@@ -186,6 +180,12 @@ export default {
gc
</span>
</div>
<request-selector
v-if=
"currentRequest"
:current-request=
"currentRequest"
:requests=
"requests"
@
change-current-request=
"changeCurrentRequest"
/>
</div>
</div>
</
template
>
app/assets/javascripts/performance_bar/components/request_selector.vue
View file @
7d651ad1
...
...
@@ -37,7 +37,7 @@ export default {
<
template
>
<div
id=
"peek-request-selector"
class=
"
append-right-5
pull-right"
class=
"pull-right"
>
<select
v-model=
"currentRequestId"
>
<option
...
...
app/assets/stylesheets/performance_bar.scss
View file @
7d651ad1
...
...
@@ -43,12 +43,6 @@
}
}
.wrapper
{
width
:
80%
;
height
:
$performance-bar-height
;
margin
:
0
auto
;
}
// UI Elements
.bucket
{
background
:
$perf-bar-bucket-bg
;
...
...
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