Skip to content

Commit 9cf52af

Browse files
DanielRyanSmithDanielRyanSmith
andauthored
Availability column name change (#1474)
* change the availability column group name * Add explanation to missing one table * fix node test --------- Co-authored-by: DanielRyanSmith <danielrsmith@google.com>
1 parent a87236f commit 9cf52af

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

frontend/src/static/js/components/test/webstatus-stats-missing-one-impl-chart-panel.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@ describe('WebstatusStatsMissingOneImplChartPanel', () => {
211211
<div slot="header" id="missing-one-implementation-list-header">
212212
Missing features on 2024-01-01 for Chrome:
213213
<a href="/?q=id%3Agrid+OR+id%3Ahtml+OR+id%3Ajs+OR+id%3Abluetooth">4 features</a>
214+
<div class="table-description">
215+
* This table represents feature values
216+
<strong>
217+
as of today
218+
</strong>
219+
,
220+
and not at the selected timestamp.
221+
</div>
214222
</div>
215223
`;
216224
expect(header).dom.to.equal(expectedHeader);

frontend/src/static/js/components/webstatus-stats-missing-one-impl-chart-panel.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ export class WebstatusStatsMissingOneImplChartPanel extends WebstatusLineChartPa
7979
overflow-x: auto;
8080
white-space: nowrap;
8181
}
82+
.table-description {
83+
font-size: 14px;
84+
font-style: italic;
85+
margin: 8px 0;
86+
}
8287
`,
8388
];
8489
}
@@ -252,6 +257,10 @@ export class WebstatusStatsMissingOneImplChartPanel extends WebstatusLineChartPa
252257
<a href="${this.featureListHref}"
253258
>${this.missingFeaturesList.length} features</a
254259
>
260+
<div class="table-description">
261+
* This table represents feature values <strong>as of today</strong>,
262+
and not at the selected timestamp.
263+
</div>
255264
</div>
256265
${this.renderMissingFeaturesTable()}
257266
`;

0 commit comments

Comments
 (0)