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

+6
View File
@@ -5,3 +5,9 @@ library;
/// image codec cannot work, so their settings - and the model downloads
/// behind them - are hidden.
const bool kOnDeviceMl = false;
/// Opening a repeater/room screen (settings, status, telemetry, neighbours)
/// does NOT query the node over the mesh: each screen waits for its refresh
/// button. Upstream fetches on open, which on the settings screen alone is a
/// burst of a dozen CLI requests through the mesh - every time it is opened.
const bool kFetchRemoteOnOpen = false;