(config)
| 1053 | showRusenseSubtab(_rusenseCurrent); |
| 1054 | } |
| 1055 | } |
| 1056 | }).catch(() => {}); |
| 1057 | }; |
| 1058 | tick(); |
| 1059 | _sensingLogTimer = setInterval(tick, 2000); |
| 1060 | } |
| 1061 | |
| 1062 | // ── RuSense tab visibility (toggle lives in Settings; hidden by default) ───── |
| 1063 | // Stored server-side under the same key so the choice is shared across every |
| 1064 | // browser/device (like Ragnar's other settings). localStorage is a local cache |
| 1065 | // for instant first paint; the server value is synced in on load and wins. |
| 1066 | const RUSENSE_TAB_KEY = 'rusense_tab_visible'; |
no test coverage detected