UI refresh: shared widgets, screen cleanups, and full translations

- Extract reusable widgets (chat composer/send pipeline, message bubble
  frame, reaction chips, path map scaffold, radio settings dialog,
  translation settings section, map POI clusters, nav tiles, etc.) and
  slim down the screens that used them
- Map: hide/remove markers with restore, confirm before setting node
  location, POI clustering, semantics labels
- Map cache: cancellable downloads and a bulk tile limit
- Repeater: unsaved-changes guard, CLI search/copy/share transcript,
  framed-command debug preview, disconnected banner
- Confirm before clearing chats and debug logs
- Keep cached unread totals in sync on per-contact/channel updates
- Move remaining hardcoded strings into l10n and translate the 98 new
  keys into all 17 non-English locales
This commit is contained in:
zjs81 committed 2026-10-11 15:17:01 -07:00
1 parent 9609a8231d
commit 88dcc5943f
100 files changed
+19778 -8167

No files matched your search

@@ -131,6 +131,14 @@ class RepeaterCommandService {
);
}
/// The text [sendCommand] would put on the wire for its next attempt: the
/// clock-sync rewrite plus the `XX|` reply prefix (unless [raw]). Used for
/// debug previews so they match what is actually sent.
String previewFramedCommand(String command, {bool raw = false}) {
if (raw) return command;
return '${_peekPrefixToken()}${normalizeRepeaterClockSyncCommand(command)}';
}
/// Send [line] verbatim and don't wait for a reply. While `region load` is
/// active the firmware consumes each line before prefix stripping and
/// sends nothing back (simple_repeater/MyMesh.cpp handleCommand).
@@ -185,6 +193,17 @@ class RepeaterCommandService {
_pendingByPrefix.clear();
}
String _peekPrefixToken() {
for (var i = 0; i < 256; i++) {
final value = (_prefixCounter + i) & 0xFF;
final token = '${value.toRadixString(16).padLeft(2, '0').toUpperCase()}|';
if (!_pendingByPrefix.containsKey(token)) {
return token;
}
}
return '00|';
}
String _nextPrefixToken() {
for (var i = 0; i < 256; i++) {
final value = _prefixCounter++ & 0xFF;