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

+7 -10
View File
@@ -42,6 +42,8 @@ class _ScannerScreenState extends State<ScannerScreen> {
_connector = Provider.of<MeshCoreConnector>(context, listen: false);
_connectionListener = () {
// ModalRoute.of needs a live element, so bail out before touching it.
if (!mounted) return;
final isCurrentRoute = ModalRoute.of(context)?.isCurrent ?? true;
if (_connector.state == MeshCoreConnectionState.disconnected) {
_changedNavigation = false;
@@ -53,11 +55,9 @@ class _ScannerScreenState extends State<ScannerScreen> {
isCurrentRoute &&
!_changedNavigation) {
_changedNavigation = true;
if (mounted) {
Navigator.of(context).push(
MaterialPageRoute(builder: (context) => const ChannelsScreen()),
);
}
Navigator.of(
context,
).push(MaterialPageRoute(builder: (context) => const ChannelsScreen()));
}
};
@@ -448,16 +448,13 @@ class _BluetoothOffBanner extends StatelessWidget {
style: TextStyle(
color: scheme.error,
fontWeight: FontWeight.w600,
fontSize: 13.5,
fontSize: 15,
),
),
const SizedBox(height: 2),
Text(
context.l10n.scanner_bluetoothOffMessage,
style: TextStyle(
color: scheme.error.withValues(alpha: 0.8),
fontSize: 12,
),
style: TextStyle(color: scheme.error, fontSize: 14),
),
],
),