Skip to content

Commit ae6f7da

Browse files
authored
viewer: Allow opening .gz trace files in the file picker (#315)
1 parent d5e2120 commit ae6f7da

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dial9-viewer/ui/viewer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@
563563
<div>
564564
<div style="font-size: 2em; margin-bottom: 12px">📊</div>
565565
<div>
566-
Drop a <code>.bin</code> trace file here or click to open
566+
Drop a <code>.bin</code> or <code>.bin.gz</code> trace file here or click to open
567567
</div>
568568
<div style="font-size: 0.8em; margin-top: 8px; color: #666">
569569
Expects D9TF binary format
@@ -572,7 +572,7 @@
572572
<a href="#" id="load-demo" style="color: #6c63ff; font-size: 0.9em">or load demo trace</a>
573573
</div>
574574
</div>
575-
<input type="file" id="file-input" accept=".bin" />
575+
<input type="file" id="file-input" accept=".bin,.gz" />
576576
</div>
577577

578578
<div id="viewer">
@@ -1142,7 +1142,7 @@ <h3>⌨ Keyboard</h3>
11421142
dropZone.innerHTML = `
11431143
<div>
11441144
<div style="font-size: 2em; margin-bottom: 12px">📊</div>
1145-
<div>Drop a <code>.bin</code> trace file here or click to open</div>
1145+
<div>Drop a <code>.bin</code> or <code>.bin.gz</code> trace file here or click to open</div>
11461146
<div style="font-size: 0.8em; margin-top: 8px; color: #666">Expects D9TF binary format</div>
11471147
<div style="margin-top: 12px">
11481148
<a href="#" id="load-demo" style="color: #6c63ff; font-size: 0.9em">or load demo trace</a>

0 commit comments

Comments
 (0)