clay-server 3.4.0-beta.23 → 3.4.0-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/public/css/pane.css
CHANGED
|
@@ -25,6 +25,10 @@ body.pane-mode #sticky-notes-container {
|
|
|
25
25
|
|
|
26
26
|
body.pane-mode #file-viewer { display: none !important; }
|
|
27
27
|
|
|
28
|
+
body.pane-mode #connect-overlay { background: var(--bg); }
|
|
29
|
+
body.pane-mode #connect-overlay #ascii-logo-canvas { display: none; }
|
|
30
|
+
body.pane-mode #connect-overlay-msg { color: var(--text-dimmer); }
|
|
31
|
+
|
|
28
32
|
body.pane-mode .notif-banner-container {
|
|
29
33
|
display: none !important;
|
|
30
34
|
}
|
package/lib/public/index.html
CHANGED
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
<div id="app">
|
|
404
404
|
<div id="connect-overlay">
|
|
405
405
|
<canvas id="ascii-logo-canvas"></canvas>
|
|
406
|
-
<p id="connect-overlay-msg">
|
|
406
|
+
<p id="connect-overlay-msg">Connecting…</p>
|
|
407
407
|
</div>
|
|
408
408
|
<div id="sticky-notes-container" class="hidden"></div>
|
|
409
409
|
<div id="debate-info-float" class="hidden"></div>
|
|
@@ -17,6 +17,7 @@ var reconnectTimer = null;
|
|
|
17
17
|
var reconnectDelay = 1000;
|
|
18
18
|
var connectTimeoutId = null;
|
|
19
19
|
var connectOverlay = null;
|
|
20
|
+
var hasConnectedOnce = false;
|
|
20
21
|
|
|
21
22
|
export function initConnection() {
|
|
22
23
|
connectOverlay = document.getElementById("connect-overlay");
|
|
@@ -39,6 +40,7 @@ export function initConnection() {
|
|
|
39
40
|
if (state.connected !== prev.connected) {
|
|
40
41
|
var sendBtn = getSendBtn();
|
|
41
42
|
if (state.connected) {
|
|
43
|
+
hasConnectedOnce = true;
|
|
42
44
|
if (sendBtn) sendBtn.disabled = false;
|
|
43
45
|
if (connectOverlay) connectOverlay.classList.add("hidden");
|
|
44
46
|
var updPill = document.getElementById("update-pill-wrap");
|
|
@@ -46,6 +48,10 @@ export function initConnection() {
|
|
|
46
48
|
stopLogoAnimation();
|
|
47
49
|
} else {
|
|
48
50
|
if (sendBtn) sendBtn.disabled = true;
|
|
51
|
+
if (hasConnectedOnce && connectOverlay) {
|
|
52
|
+
var overlayMessage = document.getElementById("connect-overlay-msg");
|
|
53
|
+
if (overlayMessage) overlayMessage.textContent = "Reconnecting to server…";
|
|
54
|
+
}
|
|
49
55
|
if (connectOverlay) connectOverlay.classList.remove("hidden");
|
|
50
56
|
startLogoAnimation();
|
|
51
57
|
}
|
package/package.json
CHANGED