Merge upstream/dev (86 commits) into tth
build / ci-image (push) Successful in 10s
build / build (push) Failing after 4m27s

Upstream redesigned the chat composer (bubble, round +/send button,
ChatComposerQuote for the reply preview); our terminal theme had tweaked
the old layout. Took upstream's structure and re-applied the terminal
look to the new widgets: compact panel padding, square bubble, square
button, square and one-line-low reply quote. The terminal reply padding
in channel_chat_screen now lives in ChatComposerQuote, so DMs get it too.

Also fixed for the merge:
- mesh_ui: AvatarCircle uses upstream's avatarInitials() (nullable); the
  terminal glyph falls back to the person icon like upstream does;
- chat_screen: upstream split maxMessageRetries into direct/flood limits,
  the terminal line now shows the bubble's maxSendAttempts;
- test/screens/copy_messages_test.dart: the 1x1 PNG had a bad IDAT CRC.
  Its async decode failure leaked into the next test; upstream's real
  flutter_langdetect hides that by timing, our stub (instant init) does
  not, so the DM test failed ~3 of 5 runs. Replaced with a valid PNG.

Checked in the CI image (Flutter 3.47.9): flutter analyze lib test clean;
flutter test all green except settings_reveal_test "hides Image Messages
sub-options", which fails the same way on plain upstream/dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-23 12:43:57 +01:00
commit 63907cb17d
210 files changed
+47623 -4900

No files matched your search

+9
View File
@@ -14,6 +14,8 @@ import 'screens/channels_screen.dart';
import 'utils/platform_info.dart';
import 'connector/meshcore_connector.dart';
import 'games/chess/chess_link.dart';
import 'games/chess/chess_service.dart';
import 'helpers/message_url_image_helper.dart';
import 'models/image_codec_support.dart';
import 'screens/scanner_screen.dart';
@@ -209,6 +211,9 @@ void main() async {
connector: connector,
settings: appSettingsService,
);
final chessService = ChessService(
link: ConnectorChessLink(connector, settings: appSettingsService),
);
await connector.restoreLastRadio();
@@ -230,6 +235,7 @@ void main() async {
receivedImageStore: receivedImageStore,
imageReassembler: imageReassembler,
networkMapUploadService: networkMapUploadService,
chessService: chessService,
chatBackgroundService: chatBackgroundService,
messageFilterService: messageFilterService,
),
@@ -377,6 +383,7 @@ class MeshCoreApp extends StatefulWidget {
final ReceivedImageStore receivedImageStore;
final ImageStreamReassembler imageReassembler;
final NetworkMapUploadService networkMapUploadService;
final ChessService chessService;
final ChatBackgroundService chatBackgroundService;
final MessageFilterService messageFilterService;
@@ -398,6 +405,7 @@ class MeshCoreApp extends StatefulWidget {
required this.receivedImageStore,
required this.imageReassembler,
required this.networkMapUploadService,
required this.chessService,
required this.chatBackgroundService,
required this.messageFilterService,
});
@@ -509,6 +517,7 @@ class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
ChangeNotifierProvider.value(value: widget.imageCodecService),
ChangeNotifierProvider.value(value: widget.receivedImageStore),
ChangeNotifierProvider.value(value: widget.networkMapUploadService),
ChangeNotifierProvider.value(value: widget.chessService),
ChangeNotifierProvider.value(value: widget.chatBackgroundService),
ChangeNotifierProvider.value(value: widget.messageFilterService),
],