Every share link now goes through LinkRouter, which parses it and holds
it until its confirmation can be shown. LinkRouterHost, wrapping the home
route, shows that confirmation over whatever screen is open. Nothing is
added without the user confirming.
- Channel links open the channel-add confirmation, now shared with the
QR scanner (confirmAndAddSharedChannel), which keeps the slot-after-
confirm rule from #1021.
- Contact links open the add-contact dialog, already filled in.
- The older meshcore://<advert hex> form that "Copy Advert to Clipboard"
still produces is imported through the radio after a confirmation, the
same as "Add Contact from Clipboard".
- A hashtag link needs no secret: the key is derived from the name, and
#public means the real Public channel.
- With no radio connected, the link waits, with a persistent message, and
its confirmation appears once a radio connects and, for a channel, the
channel table has settled. Only the latest link is held, in memory only.
- A malformed link gets a persistent message instead of nothing.
- A meshcore:// link in a chat message is now tappable and opens this
flow. Before, it was plain text: the URL linkifier only knows http(s).
Regression tests:
- channel_share_uri_test: hashtag links derive the reference app's keys.
- link_router_test: parsing and the holding rules.
- meshcore_linkifier_test: finding links in message text.
- link_router_host_test: wait, confirm, cancel, duplicate, malformed, and
a tap in a message.
Against dev's parser and link handler, 7 of them fail.
New strings are English only; untranslated.json updated.
Epic: #1285
Feature: #1280
Agent: StormyElk (session 088ce922)
#1075: the contact, channel, message and channel-sender menus were plain
Columns in a sheet capped at 9/16 of the screen, so items past the cap were
clipped. A room server's Delete Contact was unreachable on an iPhone. They
now scroll, and the sheet can grow to the safe area.
#1074: a message with an @mention or contact card was built as rich text
whose plain segments were never linkified. Those segments now go through
LinkifySpan with the same options, style and confirm dialog as Linkify.
Three new widget tests fail without the fix and pass with it.
Epic #1078.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
this adds a generator showDismissibleSnackBar which by default allows
tapping to clear snack bar toasts. all SnackBar properties are still
available and the
all callers should now use showDismissibleSnackBar() instead of calling
ScaffoldMessenger.of(context).showSnackBar(SnackBar())
- Companion radio stats: poll and display noise floor, RSSI, SNR, airtime
with dedicated ValueNotifier and ref-counted polling
- Adaptive RF-aware TX backoff based on radio conditions instead of fixed 5s
- Variable-width path hash support (1-3 bytes per hop)
- Air activity dot indicator in app bar with tap to open stats screen
- Jump to oldest unread setting for chat screens
- 1s send cooldown on DM and channel messages
- Link style: theme-aware orange, added EmailLinkifier
- New languages: Hungarian, Japanese, Korean
- Remove dead DeviceScreen and BatteryIndicatorChip
- Remove wakelock_plus dependency
- TX power fields now read as signed int8
- Implemented radio statistics features in multiple screens including chat, channels, and settings.
- Added localization for new strings in Swedish, Ukrainian, and Chinese.
- Introduced a setting to jump to the oldest unread message in chat and channels.
- Enhanced path management and display for contacts and messages.
- Updated app settings to include new boolean for jumping to the oldest unread message.
- Improved battery indicator and radio stats display in the app bar.
- Removed unused wakelock_plus dependency and updated plugin registrations.
formats all dart files using `dart format .` from the root project dir
this makes the code style repeatable by new contributors and makes PR review easier
- Added flutter_linkify package to auto-detect and linkify URLs in chat messages.
- Implemented LinkHandler class to manage link tap confirmations and URL launching.
- Updated chat_screen.dart to use Linkify for displaying message text with links.
- Registered url_launcher plugin for handling URL launches across platforms.
- Updated pubspec.yaml and pubspec.lock to include new dependencies.
- Cleaned up untranslated.json by removing unused translations.