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

Function tick

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

Source from the content-addressed store, hash-verified

968 hint.textContent = 'RuSense UI failed to load: ' + (err && err.message);
969 hint.classList.remove('hidden');
970 }
971 });
972}
973
974function initRusense() {
975 showRusenseSubtab(_rusenseCurrent);
976 // Reachability hint: /api/v1/status is proxied to the sensing-server.
977 const hint = document.getElementById('rusense-offline-hint');
978 if (hint) {
979 fetch('/api/v1/status', { cache: 'no-store' })
980 .then(r => hint.classList.toggle('hidden', r.ok))
981 .catch(() => hint.classList.remove('hidden'));
982 }
983}
984
985// ── Bundled sensing backend: install / uninstall from the RuSense tab ────────
986let _sensingLogTimer = null;
987
988function refreshSensingInstallCard() {

Callers 1

startSensingLogPollFunction · 0.85

Calls 6

addMethod · 0.80
showRusenseSubtabFunction · 0.70
fetchAPIFunction · 0.70
_setKioskBadgeFunction · 0.70
_setKioskMessageFunction · 0.70

Tested by

no test coverage detected