Commit 12eb3a67 authored by Yogi's avatar Yogi Committed by David O'Regan

Improve performance bar design

parent 959c8eff
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
<div id="peek-view-add-request" class="view"> <div id="peek-view-add-request" class="view">
<form class="form-inline" @submit.prevent> <form class="form-inline" @submit.prevent>
<button <button
class="btn-blank btn-link bold" class="btn-blank btn-link bold gl-text-blue-300"
type="button" type="button"
:title="__(`Add request manually`)" :title="__(`Add request manually`)"
@click="toggleInput" @click="toggleInput"
......
...@@ -94,9 +94,9 @@ export default { ...@@ -94,9 +94,9 @@ export default {
data-qa-selector="detailed_metric_content" data-qa-selector="detailed_metric_content"
> >
<gl-button v-gl-modal="modalId" class="gl-mr-2" type="button" variant="link"> <gl-button v-gl-modal="modalId" class="gl-mr-2" type="button" variant="link">
{{ metricDetailsLabel }} <span class="gl-text-blue-300">{{ metricDetailsLabel }}</span>
</gl-button> </gl-button>
<gl-modal :modal-id="modalId" :title="header" size="lg" modal-class="gl-mt-7" scrollable> <gl-modal :modal-id="modalId" :title="header" size="lg" footer-class="d-none" scrollable>
<table class="table"> <table class="table">
<template v-if="detailsList.length"> <template v-if="detailsList.length">
<tr v-for="(item, index) in detailsList" :key="index"> <tr v-for="(item, index) in detailsList" :key="index">
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
{{ item[key] }} {{ item[key] }}
<gl-button <gl-button
v-if="keyIndex == 0 && item.backtrace" v-if="keyIndex == 0 && item.backtrace"
class="gl-ml-3" class="btn-sm gl-ml-3"
data-testid="backtrace-expand-btn" data-testid="backtrace-expand-btn"
type="button" type="button"
:aria-label="__('Toggle backtrace')" :aria-label="__('Toggle backtrace')"
......
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
<div id="js-peek" :class="env"> <div id="js-peek" :class="env">
<div <div
v-if="currentRequest" v-if="currentRequest"
class="d-flex container-fluid container-limited" class="d-flex container-fluid container-limited justify-content-center"
data-qa-selector="performance_bar" data-qa-selector="performance_bar"
> >
<div id="peek-view-host" class="view"> <div id="peek-view-host" class="view">
...@@ -147,11 +147,15 @@ export default { ...@@ -147,11 +147,15 @@ export default {
id="peek-view-trace" id="peek-view-trace"
class="view" class="view"
> >
<a :href="currentRequest.details.tracing.tracing_url">{{ s__('PerformanceBar|trace') }}</a> <a class="gl-text-blue-300" :href="currentRequest.details.tracing.tracing_url">{{
s__('PerformanceBar|trace')
}}</a>
</div> </div>
<add-request v-on="$listeners" /> <add-request v-on="$listeners" />
<div v-if="currentRequest.details" id="peek-download" class="view"> <div v-if="currentRequest.details" id="peek-download" class="view">
<a :download="downloadName" :href="downloadPath">{{ s__('PerformanceBar|Download') }}</a> <a class="gl-text-blue-300" :download="downloadName" :href="downloadPath">{{
s__('PerformanceBar|Download')
}}</a>
</div> </div>
<request-selector <request-selector
v-if="currentRequest" v-if="currentRequest"
......
---
title: Improve Performance bar design
merge_request: 51788
author: Yogi (@yo)
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment