Skip to content

Commit

Permalink
Freeze Interop 2024 mobile scores (#4257)
Browse files Browse the repository at this point in the history
* Freeze Interop 2024 mobile scores

* check if using static file in mobile results

* explicitly set 2024 mobile link as experimental

---------

Co-authored-by: DanielRyanSmith <[email protected]>
  • Loading branch information
DanielRyanSmith and DanielRyanSmith authored Feb 13, 2025
1 parent b4b909b commit f6f4b7e
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 3 deletions.
3 changes: 2 additions & 1 deletion webapp/components/interop-data-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ async function fetchCsvContents(url, isMobileScoresView) {
}

let csvLines;
if (isMobileScoresView) {
// Active mobile scores require decoding.
if (isMobileScoresView && !url.startsWith('/static/')) {
const respJson = await csvResp.json();
const csvText = atob(respJson['content']);
csvLines = csvText.split('\r\n').filter(l => l);
Expand Down
2 changes: 1 addition & 1 deletion webapp/components/interop-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ export const interopData = {
* https://github.com/web-platform-tests/results-analysis
**/
'csv_url': '/static/interop-2024-{stable|experimental}.csv',
'mobile_csv_url': 'https://api.github.com/repos/jgraham/interop-results/contents/2024/latest/aligned/mobile-{stable|experimental}-current.csv?ref=main',
'mobile_csv_url': '/static/interop-2024-mobile-experimental.csv',
'summary_feature_name': 'summary',
'issue_url': 'https://github.com/web-platform-tests/interop/issues/new',
'focus_areas_description': 'https://github.com/web-platform-tests/interop/blob/main/2024/README.md',
Expand Down
Loading

0 comments on commit f6f4b7e

Please sign in to comment.