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>
- Updated Ukrainian localization in app_uk.arb with new strings for bookmarks, chat compression settings, and contact management.
- Updated Chinese localization in app_zh.arb with similar new strings for bookmarks, chat compression settings, and contact management.
- Cleared untranslated.json as all relevant strings have been translated.
- Bottom panel, zoom buttons, toggle and panel contents use ColorScheme roles
- On desktop, the observed-path selector and view toggle start past the
zoom controls
- Finished games answer a behind opponent with the final move
- Keep the resign/draw/timeout packet that ended the game and resend it
- Recheck draw accepts and timeout claims after the send
- Chain values count once and in order; moves need a fresh value
- Game info carries the inviter's chain value; colours come from the invite
- Accepters keep their seed; unconfirmed sends keep the move and resend it
- Check draw accept and timeout claim preconditions; drop unused minutes
- Notify in the background, keep own games under the cap, 16-bit ply
- Sanitise adopted castling rights, guard incoming handling
- Localised square labels and translations for the new strings
- Restore two Korean strings changed by mistake
Play and watch chess on a channel via the Chess games entry in the
channel overflow menu. Moves travel as GRP_DATA packets (type 0x0100)
carrying the full position and a hash-chain value for authentication.
Includes translations for all locales.
Long-pressing one of your own channel messages offers Resend. It sends the same text again as a new message, using the channel's flood scope like a normal send. Useful when no repeats of the first copy were heard.
Reorder the Channels overflow menu so screen-specific items appear above a divider followed by Connect/Disconnect and Settings, matching Contacts. Add the section divider on Map whenever screen items precede Connect/Disconnect, standardize the overflow tooltip and screen-context callback capture across all three main views via a shared trailing-section helper, and update the UI design reference and widget tests.
Replace the Contacts add-contact modal sheet and separate menu shortcuts with a unified Add Contact screen supporting manual type/name/public-key entry, clipboard import (meshcore:// URIs, share tokens, and bare 64-hex keys), discovered contacts, and QR scanning.
Keep plausible explicit pathContacts authoritative over nearer general contacts sharing a hop prefix while still rejecting impossibly far hops. Re-resolve primary outbound hops, inferred positions, target guess, and map points when _rebuildDisplayPaths runs after self location changes.
Reject repeater matches and peer inferences whose distance from the previous plausible hop anchor exceeds the per-hop LoRa range budget (250 km scaled by consecutive unresolved hops).
Without a known self location, select the anchor chain that explains the most local hops so a single distant prefix collision does not poison resolution for the remaining hops. Apply the same hop-order resolution and anchor-bounded peer inference in PathTraceMapScreen.