Commit a239936a authored by Phil Hughes's avatar Phil Hughes

Merge branch '44742-tech-debt' into 'master'

Resolve "`TimeTrackingComparisonPane` vue component tech debt"

Closes #44742

See merge request gitlab-org/gitlab-ce!19593
parents f268da84 24a272f9
<script> <script>
import { parseSeconds, stringifyTime } from '../../../lib/utils/pretty_time'; import { parseSeconds, stringifyTime } from '../../../lib/utils/pretty_time';
import tooltip from '../../../vue_shared/directives/tooltip';
export default { export default {
name: 'TimeTrackingComparisonPane', name: 'TimeTrackingComparisonPane',
directives: {
tooltip,
},
props: { props: {
timeSpent: { timeSpent: {
type: Number, type: Number,
...@@ -51,17 +55,12 @@ export default { ...@@ -51,17 +55,12 @@ export default {
<div class="time-tracking-comparison-pane"> <div class="time-tracking-comparison-pane">
<div <div
class="compare-meter" class="compare-meter"
data-toggle="tooltip"
data-placement="top"
role="timeRemainingDisplay"
:aria-valuenow="timeRemainingTooltip"
:title="timeRemainingTooltip" :title="timeRemainingTooltip"
:data-original-title="timeRemainingTooltip" v-tooltip
:class="timeRemainingStatusClass" :class="timeRemainingStatusClass"
> >
<div <div
class="meter-container" class="meter-container"
role="timeSpentPercent"
:aria-valuenow="timeRemainingPercent" :aria-valuenow="timeRemainingPercent"
> >
<div <div
......
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