MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / syncNetDiagDisplayFromServer

Function syncNetDiagDisplayFromServer

web/scripts/ragnar_modern.js:2164–2174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2162 // WIDS pivot: once the flagged BSSID shows up in a survey, select it
2163 // (applied guards recursion — wifiSelectAp() re-enters wifiRender()).
2164 _wifiFlagBanner();
2165 const f = _wifiState.flagged;
2166 if (f && !f.applied && d.aps.some(a => a.bssid === f.bssid)) {
2167 f.applied = true;
2168 wifiSelectAp(f.bssid);
2169 _wifiFlagBanner();
2170 }
2171}
2172
2173// Redraw every visible spectrum surface: the in-page chart and, when it's open,
2174// the full-screen console.
2175function _wifiDrawSpectrum() {
2176 _wifiDrawSpectrumInto(document.getElementById('wifi-spectrum'), { height: 360 });
2177 if (_wifiState.fs.open) {

Callers 1

showNetworkSubtabFunction · 0.85

Calls 1

fetchAPIFunction · 0.70

Tested by

no test coverage detected