Tester feedback: routing, bulk select, notifications, map crash

Routing
- Auto routing picks routes by Thompson sampling over faded delivery
  stats (24 h half-life, capped evidence), weighted by what the radio
  currently hears; retries prefer a different route; last attempt floods.
- Route failures are held until a message's fate is known, so an offline
  contact no longer wrecks its route history; failing routes are only
  deleted after a week without a delivery.
- Direct (zero-hop) path is a rotation candidate (#643) and a new Direct
  mode in the routing sheet; history routes are used for repeater logins.
- Remove the route-weight sliders the new chooser no longer uses.

Chats
- Bulk selection in channel chats (spam / not spam / delete / copy) and
  in the Filtered messages list.
- Tapping a search result jumps to the message.
- Swipe-to-reply ignores vertical scrolls.
- Active conversation follows route lifecycle, so covered chats count
  unread again.

Notifications
- Tapping a notification opens its conversation.
- Per-conversation coalescing and one alert per queued-message sync.
- Monochrome status-bar icon; background service stops when the app is
  swiped away; stale notifications cleared on radio or slot change.

Other
- Online map: opaque links and painted dots for dense areas to avoid an
  Impeller GPU crash; expandable hop list on path maps.
- Contact share: clipboard import of shared contacts, "Add again".
- Android: enableEdgeToEdge and scrolling-screenshot support.
- Translations for all new strings; fix mistranslated routing labels.
This commit is contained in:
zjs81 committed 2026-11-08 23:19:15 -07:00
1 parent f81f2686a7
commit 5ea44d6ce9
85 files changed
+6520 -1716

No files matched your search

+14
View File
@@ -20,12 +20,14 @@ import 'services/image_codec_service.dart';
import 'services/image_codec_settings_store.dart';
import 'services/received_image_blob_store_factory.dart';
import 'services/received_image_store.dart';
import 'services/scroll_capture_service.dart';
import 'services/storage_service.dart';
import 'services/message_filter/message_filter_service.dart';
import 'services/message_retry_service.dart';
import 'services/path_history_service.dart';
import 'services/app_settings_service.dart';
import 'services/network_map/network_map_upload_service.dart';
import 'services/notification_navigator.dart';
import 'services/notification_service.dart';
import 'services/ble_debug_log_service.dart';
import 'services/app_debug_log_service.dart';
@@ -58,6 +60,8 @@ void main() async {
// this mode before Android 10, where the old layout remains.
if (PlatformInfo.isAndroid) {
await SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
// Android's scrolling screenshot ("Capture more") for Flutter lists.
ScrollCaptureService.initialize();
}
// Initialize SharedPreferences cache
@@ -404,11 +408,19 @@ const Duration _kImageSweepInterval = Duration(seconds: 5);
class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
Timer? _imageSweepTimer;
final GlobalKey<NavigatorState> _navigatorKey = GlobalKey<NavigatorState>();
late final NotificationNavigator _notificationNavigator =
NotificationNavigator(
navigatorKey: _navigatorKey,
connector: widget.connector,
notifications: NotificationService(),
);
@override
void initState() {
super.initState();
WidgetsBinding.instance.addObserver(this);
_notificationNavigator.attach();
_imageSweepTimer = Timer.periodic(
_kImageSweepInterval,
(_) => widget.imageReassembler.evictExpired(),
@@ -417,6 +429,7 @@ class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
@override
void dispose() {
_notificationNavigator.dispose();
_imageSweepTimer?.cancel();
WidgetsBinding.instance.removeObserver(this);
super.dispose();
@@ -488,6 +501,7 @@ class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
builder: (context, settingsService, child) {
final customTheme = settingsService.activeCustomTheme;
return MaterialApp(
navigatorKey: _navigatorKey,
title: 'MeshCore Open',
debugShowCheckedModeBanner: false,
localizationsDelegates: const [