Skip to content

Commit 8a30c95

Browse files
committed
Revert "ui: devices: drop the group column"
This reverts commit 392a39f. Intel fixed their groups so we can bring the group column back. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 392a39f commit 8a30c95

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

ui/devices.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ function load_tables()
1414
year_ago.setFullYear(year_ago.getFullYear() - 1);
1515

1616
for (ste of stability) {
17-
let tn = ste.test + ':' + ste.subtest;
17+
let tn = ste.grp + ':' + ste.test + ':' + ste.subtest;
1818
if (ste.subtest == null)
19-
tn = ste.test + ':';
19+
tn = ste.grp + ':' + ste.test + ':';
2020
let rn = ste.remote + ste.executor;
2121

2222
if (!(tn in sta_db)) {
@@ -67,6 +67,7 @@ function load_tables()
6767

6868
for (tbl of [sta_tb, sta_to]) {
6969
const hdr = tbl.createTHead().insertRow();
70+
hdr.insertCell().innerText = 'Group';
7071
hdr.insertCell().innerText = 'Test';
7172
hdr.insertCell().innerText = 'Subtest';
7273
for (rn of Object.keys(display_names)) {
@@ -89,11 +90,12 @@ function load_tables()
8990
row = sta_to.insertRow();
9091

9192
row.insertCell(0).innerText = tn.split(':')[0];
92-
let cell = row.insertCell(1);
93-
if (tn.split(':').length == 2)
94-
cell.innerText = tn.split(':')[1];
93+
row.insertCell(1).innerText = tn.split(':')[1];
94+
let cell = row.insertCell(2);
95+
if (tn.split(':').length == 3)
96+
cell.innerText = tn.split(':')[2];
9597

96-
let i = 2;
98+
let i = 3;
9799
for (rn of Object.keys(display_names)) {
98100
cell = row.insertCell(i++);
99101
if (rn in sta_db[tn]) {

0 commit comments

Comments
 (0)