Skip to content

Commit 1740d80

Browse files
committed
Display message about USB workflow issue
1 parent 57eb2ed commit 1740d80

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

index.html

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<body>
1313
<div id="blackout" class="body-blackout"></div>
1414
<div id="clickblock" class="body-blackout no-overlay"></div>
15-
1615
<div class="layout">
1716
<header id="site-header">
1817
<div class="wrapper">

js/script.js

+1
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ document.addEventListener('DOMContentLoaded', async (event) => {
588588
}
589589
}
590590
} else {
591+
await showMessage("USB Workflow is currently experiencing issues. See <a href=\"https://github.com/circuitpython/web-editor/issues/203\">GitHub issue #203</a> for more details. Please use Web Workflow.");
591592
await checkConnected();
592593
}
593594
});

sass/layout/_layout.scss

+9
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@
133133
}
134134
}
135135

136+
.popup-modal {
137+
#message {
138+
a {
139+
color: #0062c7;
140+
text-decoration: underline;
141+
}
142+
}
143+
}
144+
136145
.mode-button {
137146
display: inline-block;
138147
font-size: 1.1em;

0 commit comments

Comments
 (0)