Commit Graph
968 Commits
Author SHA1 Message Date
zjs81 222b45e130 Keep explicit trace contacts and re-resolve on self move
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.
2026-11-21 13:44:39 -07:00
zjs81 79f624c743 Ignore impossible hops in path map resolution
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.
2026-11-21 13:14:32 -07:00
zjs81 3a93481bdf Merge pull request #681 from zjs81/fix/visual-consistency
Fix stale map labels, avatar initials and offline bubble widths
2026-11-21 09:30:23 -07:00
zjs81 787f1bb931 Merge pull request #686 from zjs81/fix/copy-full-and-special-messages
Preserve reply mentions and support copying image messages
2026-11-21 09:29:37 -07:00
zjs81 96b8ff5cf7 Merge origin/dev into fix/visual-consistency 2026-11-21 08:51:01 -07:00
zjs81 4065d60a16 Merge origin/dev into cursor/routing-send-settings-ef15 2026-11-21 08:33:50 -07:00
zjs81 ee7b4c8f8b Preserve reply mentions and support copying image messages 2026-11-21 08:03:25 -07:00
zjs81 eb0f7ae1ad Merge pull request #670 from jooray/fix/background-service-stops-on-pause
Keep the background service running when the app leaves the screen
2026-11-21 07:40:29 -07:00
zjs81 cd84855c15 Merge pull request #673 from zjs81/cursor/fix-manual-path-builder-ux-63c1
Fix manual path builder search and keep hops visible
2026-11-21 07:38:55 -07:00
zjs81 b5d9dea1c3 Merge pull request #680 from zjs81/fix/chat-scroll-and-keyboard
Keep chat reading position during sync, selection and app switches
2026-11-21 07:38:06 -07:00
zjs81 031844788a Merge pull request #682 from zjs81/cursor/consistent-model-download-ui-092a
Use one model row for image and translation downloads
2026-11-21 07:37:03 -07:00
zjs81 d76d488e45 Add optional SMAZ compression indicator icon on messages 2026-11-21 04:10:43 -07:00
zjs81 e65b3982e2 Reveal model settings on enable and align model row icons 2026-11-21 03:39:13 -07:00
zjs81 816dc92f2b Improve slider inactive track contrast inside SettingsReveal panels 2026-11-21 03:10:43 -07:00
zjs81 b649d8373d Wrap channel bubble metadata row on narrow screens 2026-11-21 02:41:05 -07:00
zjs81 f96bf31444 Merge remote-tracking branch 'origin/dev' into pr681-fix 2026-11-21 02:34:43 -07:00
zjs81 94f24cf635 Merge origin/dev into cursor/consistent-model-download-ui-092a 2026-11-21 02:24:16 -07:00
zjs81 bd91fb1ff9 Keep failed translation downloads visible after leaving settings
Record download failure metadata on TranslationService so reopening App Settings still surfaces the failed row and retry action instead of losing the error when the previous page state was disposed.
2026-11-21 02:22:07 -07:00
zjs81 7772650c25 Merge remote-tracking branch 'origin/dev' into pr673-work
# Conflicts:
#	lib/screens/contacts_screen.dart
2026-11-20 23:32:13 -07:00
zjs81 f85dbee51e Scroll path editor sheet whenever pinned fields cannot fit 2026-11-20 23:31:55 -07:00
zjs81 aa621526ec Keep composer focus-intent tracking local to chat screens 2026-11-20 23:09:48 -07:00
zjs81 267936bb91 Merge branch 'dev' into fix/chat-scroll-and-keyboard 2026-11-20 23:06:46 -07:00
zjs81 84c0b97710 Merge remote-tracking branch 'origin/dev' into cursor/routing-send-settings-ef15
# Conflicts:
#	documentation/design.md
#	lib/screens/channels_screen.dart
#	lib/screens/chat_screen.dart
2026-11-20 22:53:08 -07:00
zjs81 723fa18b68 Enforce flood threshold in retry and path-prep selection
Ensure MessageRetryService forces flood once the attempt reaches floodFromAttempt even if a selector returns null, and pass SendAttemptPlan.floodFromAttempt from preparePathForContactSend so zero-budget plans keep the saved path.
2026-11-20 22:51:35 -07:00
zjs81 ae967ec21f Merge pull request #676 from zjs81/fix/list-sorting-and-performance
Fix list ordering and long-list scrolling
2026-11-20 21:21:07 -07:00
zjs81 173c8db9cc Merge pull request #678 from zjs81/feat/chat-compression-selector
Add in-chat compression selector
2026-11-20 21:15:51 -07:00
zjs81 22f488bbfa Merge pull request #679 from zjs81/feat/signal-style-composer
Restyle the chat composer
2026-11-20 21:14:20 -07:00
zjs81 27cc332383 Add leading icons to every settings row 2026-11-20 20:59:56 -07:00
zjs81 3f4215a955 Keep a long reply region chip inside the composer quote 2026-11-20 18:13:53 -07:00
zjs81 df7c3efa4a Show the saved Cyr2Lat profile again after a failed save 2026-11-20 18:13:51 -07:00
Cursor Agentandzjs81 1656486d77 Flood when the direct-attempt budget is already spent
A flood-only send was keeping the contact's direct path whenever route history had not loaded yet.

Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
2026-11-21 01:10:11 +00:00
Cursor Agentandzjs81 dca270e5ad Add Repeaters and Rooms settings for login and clock sync
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>
2026-11-21 01:06:26 +00:00
Cursor Agentandzjs81 1b804bd1eb Move send controls into Routing and split retry limits
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>
2026-11-21 00:50:53 +00:00
Cursor Agentandzjs81 05ebecd977 Keep a custom model download visible after leaving settings
The in-progress URL lived only in the settings page, so reopening App Settings hid the progress and Cancel control while the download continued. The service now keeps the URL and file name, and the list rebuilds that row from it.

Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
2026-11-21 00:14:51 +00:00
Cursor Agentandzjs81 9ffdbaae09 Use one model row for image and translation downloads
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>
2026-11-21 00:05:39 +00:00
zjs81 d7fff0533e Allow building without ONNX Runtime
flutter_onnxruntime downloads ORT natively at build time, and the Linux and
Windows downloads from github.com/microsoft/onnxruntime are unavailable.
scripts/onnx.sh off swaps in a pure-Dart stub via pubspec_overrides.yaml, so no
platform pulls ORT; image messages then show as unavailable, as on web. Linux
CI builds use this mode for now.
2026-11-20 16:38:09 -07:00
zjs81 bc0062363d Restyle the chat composer
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.
2026-11-20 16:38:01 -07:00
zjs81 fc5f7eb516 Add in-chat compression selector
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.
2026-11-20 16:37:54 -07:00
zjs81 ffbb61bc3d Keep chat reading position during sync, selection and app switches
- 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.
2026-11-20 16:37:51 -07:00
zjs81 316088dfd6 Fix list ordering and long-list scrolling
- 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.
2026-11-20 16:37:47 -07:00
zjs81 92dadb0d3a Fix stale map labels, avatar initials and offline bubble widths
- 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.
2026-11-20 16:04:50 -07:00
Cursor Agentandzjs81 cd211da0ef Scroll the path sheet when the keyboard leaves no room
A landscape keyboard can leave less than the search field under the
header. The pinned column overflowed there, so that band now scrolls
the hops, hex field, search field, and repeater list together.

Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
2026-11-20 22:53:06 +00:00
Cursor Agentandzjs81 c4675d810e Seat the path sheet header with the other sheets
The sheet background was taller than its content, leaving an empty band
above the drag handle. Use the shared sheet header, and rank the share
sheet's own contact with the same name and hash matcher.

Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
2026-11-20 22:30:35 +00:00
Cursor Agentandzjs81 3e1c71162d Shrink the path hop list when hex validation grows
An invalid hex path adds error lines under the field. The hop viewport
now gives that space back, and a long error scrolls inside its own box
instead of overflowing the sheet.

Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
2026-11-20 21:48:17 +00:00
Cursor Agentandzjs81 a1604af4d4 Fix manual path search ranking, hash matching, and layout
Rank name prefixes ahead of other substring matches, match hop hashes
in the path builder and contact search, and keep the hop list and hex
field on screen while the keyboard is open.

Co-authored-by: zjs81 <zjs81@users.noreply.github.com>
2026-11-20 21:43:49 +00:00
Juraj Bednar 7bb9def628 Keep the background service running when the app leaves the screen
flutter_foreground_task's stopWithTask option (9.2 to 11.0) does not wait
for the task to be removed: it registers activity lifecycle callbacks and
stops the service on the first onActivityPaused with no resumed activity.
So the "MeshCore background" service stopped every time the app went to
the background or the screen turned off. Android then cached and froze the
process, the Bluetooth link dropped and the low-memory killer ended the
app a few hours later. Usage stats on a Pixel show FOREGROUND_SERVICE_STOP
in the same second as every ACTIVITY_STOPPED.

Drop the option. android:stopWithTask="true" in the manifest still stops
the service when the app is swiped away, which is what the option was
meant to do.
2026-11-18 14:31:35 +01:00
zjs81 89071473a5 Merge branch 'dev' into ez_bookmark 2026-11-15 15:16:18 -07:00
zjs81 69421243cf Merge pull request #661 from ericszimmermann/ez_backup-restore_2
Small bugfix for Restore
2026-11-15 15:14:11 -07:00
zjs81 53e4e457ca Preview image versions before sending, and repair unheard chunks
Send sheet: opens on what recipients will see (the encoded photo decoded
on this device) instead of the original. "Try another version" encodes
the whole photo again with a near-invisible zoom/shift; the generative
decoder reconstructs each version differently, and on Kodak the best of
three raised CLIP agreement from 0.828 to 0.853. The user picks the
version to send; packet count and airtime follow the selection. Version 1
is byte-identical to the previous encode, so the wire format is
unchanged. The sender's bubble shows the chosen version and carries the
AI-reconstructed label.

Repeater echoes: the raw RX log handler now decrypts GRP_DATA as well as
GRP_TXT and counts repeaters re-flooding each chunk of our own images.
The bubble shows the repeat count like channel text, and Packet info
lists each packet. About 15 s after sending, chunks no repeater echoed
are resent once, but only when another chunk of the same image was
echoed, so senders with no repeater in earshot do not double their
airtime. Outgoing entries now record their payload size.
2026-11-14 20:58:43 -07:00
ericz ef94e6be50 Export bookmarks into a Markdownfile. Ordering of Bookmarks in the bookmarks overview. 2026-11-14 00:36:46 +01:00