From 8b1609f5ce2d0b542d1387c383e9374bc319c9c0 Mon Sep 17 00:00:00 2001 From: Gregory Salaun Date: Wed, 17 Jun 2026 22:10:32 +0200 Subject: [PATCH] feat: added live status for TM74TFR --- app.go | 1 + docs/livestatus/tm74-status.php | 98 +++++++++++++++ frontend/src/App.tsx | 17 +-- frontend/src/components/SettingsModal.tsx | 21 ++++ frontend/wailsjs/go/main/App.d.ts | 4 + frontend/wailsjs/go/main/App.js | 8 ++ livestatus.go | 143 ++++++++++++++++++++++ 7 files changed, 285 insertions(+), 7 deletions(-) create mode 100644 docs/livestatus/tm74-status.php create mode 100644 livestatus.go diff --git a/app.go b/app.go index 02f757d..fc9f000 100644 --- a/app.go +++ b/app.go @@ -769,6 +769,7 @@ func (a *App) startup(ctx context.Context) { // Anonymous usage heartbeat (once/day) so we can gauge active users. No-op // when disabled in Preferences or until the PostHog key is configured. go a.sendTelemetryHeartbeat() + go a.liveStatusLoop() // multi-op: heartbeat current activity to shared MySQL fmt.Println("OpsLog: db ready at", a.dbPath) } diff --git a/docs/livestatus/tm74-status.php b/docs/livestatus/tm74-status.php new file mode 100644 index 0000000..43cb71d --- /dev/null +++ b/docs/livestatus/tm74-status.php @@ -0,0 +1,98 @@ + (image, cached ~min by QRZ) + * or Live operators (real-time page) + * + * QRZ strips