Skip to content

Commit 2bbc6fc

Browse files
Changed duration column to start time column. Sorting is switched to "run index"
1 parent 635b6ec commit 2bbc6fc

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

report-ng/app/src/components/classes/classes-table.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
</button>
4343
</div>
4444
</th>
45-
<th class="mdc-data-table__header-cell" click.delegate="sortByDuration()">
45+
<th class="mdc-data-table__header-cell" click.delegate="sortByRunIndex()">
4646
<div class="mdc-data-table__header-cell-wrapper">
47-
<div class="mdc-data-table__header-cell-label">Duration</div>
47+
<div class="mdc-data-table__header-cell-label">Start time</div>
4848
<button class="mdc-icon-button material-icons mdc-data-table__sort-icon-button p-sort-button">
4949
arrow_upward
5050
</button>
@@ -77,7 +77,10 @@
7777
></a>
7878
</td>
7979
<!-- Duration -->
80-
<td class="p1">${methodDetails.methodContext.contextValues.endTime-methodDetails.methodContext.contextValues.startTime | durationFormat:"h[h] m[min] s[s]"}</td>
80+
<td class="p1">
81+
<div title="${methodDetails.methodContext.contextValues.startTime|dateFormat: 'default'}">${methodDetails.methodContext.contextValues.startTime|dateFormat: 'time'}</div>
82+
<div class="secondary secondary-note">(${methodDetails.methodContext.contextValues.endTime-methodDetails.methodContext.contextValues.startTime | durationFormat:"h[h] m[min] s[s]"})</div>
83+
</td>
8184
<td class="p1 wrapable" mdc-body1>
8285

8386
<!-- Method name -->

report-ng/app/src/components/classes/classes.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,7 @@ $text-color: #884AB9;
6666
padding-right: 0;
6767
width: 28px;
6868
}
69+
70+
.secondary-note {
71+
font-size: 14px;
72+
}

0 commit comments

Comments
 (0)