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>
- 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
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.
Move login attempts and auto-fetch into the new section, and let a global clock-sync default be overridden per repeater.
Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
Direct and flood attempts are separate settings, available with auto
route rotation off. Saved single retry limits migrate to that split,
and reset restores the whole Routing section.
Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
Image settings, translation settings, and the restore prompt each listed models differently. Share ModelDownloadList so every model shows the same name, size, status, selection, and download, cancel, or remove action.
Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
Rounded borderless bubble that grows to five lines, one round button that
switches between attach and send, reply and GIF previews inside the bubble,
a byte counter shown only near the limit, and a transparent panel over chat
wallpapers. Sending, limits and compression are unchanged.
A Compression: Off / SMAZ / Cyr2Lat strip at the top of DM and channel chats
opens one sheet that explains each mode and holds the Cyr2Lat profile picker.
New connector setters keep the modes mutually exclusive. The old switches are
removed from contact settings and the channel edit sheet, so editing a channel
no longer overwrites its compression setting.
- Room chats: keep the visible message in place when synced messages arrive,
don't pull a scrolling reader back to the bottom, and keep loaded older
pages while the chat is open.
- Selecting messages no longer jumps to the newest message.
- Focus returning after a sheet, dialog or app switch no longer counts as
opening the keyboard.
- Sort channels by latest message and contacts by recent message using local
arrival time instead of the sender's clock.
- Contacts added from a card sort by when they were added until the radio
hears an advert (app-side only; lastAdvert stays 0).
- Stop entrance animations on rows scrolled into view and reuse unchanged
contact rows across connector updates.
- Map node labels follow light/dark theme changes.
- Avatar initials use only letters and digits; hop avatars fall back to the
hash prefix.
- Incoming channel bubbles are the same width connected and offline.
- Day separators wrap instead of overflowing with large text.