MCPcopy Create free account
hub / github.com/garrytan/gstack / setLoadingStatus

Function setLoadingStatus

extension/sidepanel.js:1247–1253  ·  view source on GitHub ↗
(msg, debug)

Source from the content-addressed store, hash-verified

1245// staring at a blank "Connecting..." with no info.
1246let connectAttempts = 0;
1247function setLoadingStatus(msg, debug) {
1248 // The status line lives inside the Terminal bootstrap card now —
1249 // sidepanel-terminal.js owns it. We only update the debug pre block,
1250 // and trust the terminal pane to surface the human-readable status.
1251 const dbg = document.getElementById('loading-debug');
1252 if (dbg && debug !== undefined) dbg.textContent = debug;
1253}
1254
1255async function tryConnect() {
1256 connectAttempts++;

Callers 1

tryConnectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected