diff --git a/README.md b/README.md
index 5037bc6..f53f583 100644
--- a/README.md
+++ b/README.md
@@ -46,8 +46,9 @@ phone GPS (gps.js) ────────────────────
receptions), a status strip (GPS accuracy, pending uploads, upload health + last-upload age,
capture rate), the last reception's SNR on a peak-hold meter, and the recently-heard list.
- **🗺️ Map** — live per-cell coverage for this session.
-- **⚙️ Settings** — CoreScope broker status + a **Push pending now** button, companion info, and
- diagnostics (verbose toggle, debug log, share/mail the log).
+- **⚙️ Settings** — the **Connect/Disconnect** button (with connection progress), CoreScope broker
+ status + a **Push pending now** button, companion info, and diagnostics (verbose toggle, debug log,
+ share/mail the log). The app opens here until a companion is connected, then jumps to Home.
## Self-hosting (for a CoreScope sysop)
diff --git a/index.html b/index.html
index 098a5a7..bb5e853 100644
--- a/index.html
+++ b/index.html
@@ -84,11 +84,6 @@
-
-
-
-
-
— nothing yet —
@@ -99,6 +94,11 @@
+
+
+
+
+
— not connected —
diff --git a/package.json b/package.json
index 0b582b9..9a08b80 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "coredrive-rx",
- "version": "1.3.0",
+ "version": "1.3.1",
"private": false,
"license": "GPL-3.0-or-later",
"type": "module",
diff --git a/public/sw.js b/public/sw.js
index bedc8c1..273d5b9 100644
--- a/public/sw.js
+++ b/public/sw.js
@@ -1,7 +1,7 @@
// Minimal service worker: makes the app installable and lets the shell load
// offline. Network-first (always fresh online), cache fallback (offline).
// Only the static app assets go through fetch; MQTT runs over WSS (not cached).
-const CACHE = 'coredrive-rx-v8';
+const CACHE = 'coredrive-rx-v9';
self.addEventListener('install', () => self.skipWaiting());
self.addEventListener('activate', (e) => e.waitUntil((async () => {
diff --git a/src/app.js b/src/app.js
index a4b921a..9e72c0f 100644
--- a/src/app.js
+++ b/src/app.js
@@ -211,8 +211,10 @@ async function renderStatusStrip() {
function renderLastHeard() {
if (!state.lastHeard) { els('lastHeardCard').style.display = 'none'; return; }
els('lastHeardCard').style.display = 'block';
- const { label, at } = state.lastHeard;
- els('lhLine').textContent = label + ' — ' + agoText(at, Date.now());
+ // Derive the label live so it upgrades from ID → resolved name once names.js
+ // returns (the per-second tick re-renders this).
+ const { key, at } = state.lastHeard;
+ els('lhLine').textContent = nodeLabel(key) + ' — ' + agoText(at, Date.now());
}
function renderSnrMeter() {
@@ -280,7 +282,7 @@ async function processFrame(dv) {
state.rxTotal++;
state.rxTimes.push(Date.now());
addNodeKey(state.nodeKeys, hk.heardKey);
- state.lastHeard = { label: nodeLabel(hk.heardKey), snr: f.snr, at: Date.now() };
+ state.lastHeard = { key: hk.heardKey, snr: f.snr, at: Date.now() };
noteSnr(f.snr); // sets bar/peak + colour from the now-current lastHeard
renderCounters();
renderLastHeard();
@@ -425,6 +427,8 @@ async function connectAll() {
state.lastFireAt = 0; // fire a discover sweep immediately on the first tick
state.tick = setInterval(monitorTick, 1000);
log('capturing as ' + (info.name || state.companionPubkey.slice(0, 12)));
+ switchView('home'); // connected → jump to the live monitor
+
} catch (e) {
step('✗ ' + e.message, 'err');
dbg('connect failed: ' + e.message, 'no');
@@ -492,7 +496,7 @@ window.addEventListener('DOMContentLoaded', async () => {
els('tabHome').addEventListener('click', () => switchView('home'));
els('tabMap').addEventListener('click', () => switchView('map'));
els('tabSettings').addEventListener('click', () => switchView('settings'));
- switchView('home');
+ switchView(state.connected ? 'home' : 'settings'); // land on Settings (where Connect lives) until connected
// Network came back (e.g. cellular→WiFi handoff) — kick a drain so backlog flushes
// without waiting for the 5 s loop.
window.addEventListener('online', () => { drain().then(refreshCounters).catch(() => {}); });