Repeater screens query the mesh only on request

Opening a repeater's settings, status, telemetry or neighbours no longer
sends anything over the mesh; each screen waits for its refresh button.
On the settings screen alone the fetch-on-open was a dozen CLI requests,
every time it was opened. Switch: kFetchRemoteOnOpen in lib/tth_fork.dart.
The node's own telemetry is local and still loads on open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-10-23 10:19:41 +02:00
1 parent 36806e289d
commit 71884e269f
5 files changed
+15 -4

No files matched your search

+3 -1
View File
@@ -21,6 +21,7 @@ import '../widgets/sync_progress_overlay.dart';
import '../widgets/telemetry_location_map.dart';
import '../theme/mesh_theme.dart';
import '../widgets/mesh_ui.dart';
import '../tth_fork.dart';
/// Opens the telemetry screen for the locally connected node.
void pushSelfTelemetryScreen(BuildContext context) {
@@ -115,7 +116,8 @@ class _TelemetryScreenState extends State<TelemetryScreen> {
_commandService = RepeaterCommandService(connector);
_loadAutoRefreshSettings();
_setupMessageListener();
_loadTelemetry();
// The node's own telemetry is local, no mesh traffic.
if (kFetchRemoteOnOpen || widget.isSelf) _loadTelemetry();
_hasData = false;
}