diff --git a/documentation/channels.md b/documentation/channels.md index bc6994f7..6f324f7d 100644 --- a/documentation/channels.md +++ b/documentation/channels.md @@ -101,7 +101,7 @@ Messages also show a region label when known, independently of message tracing. ### Message Types in Chat -- **Plain text** with linkified URLs +- **Plain text** with linkified URLs and interactive decimal GPS coordinates (tap to open the **Location** map, long-press for **Copy location** / **Open in maps**; see [Inline GPS Coordinates](chat-and-messaging.md#inline-gps-coordinates)) - **GIFs** (`g:{gifId}`) rendered inline via Giphy CDN - **Location pins** (`m:{lat},{lon}|{label}|`) shown as tappable location cards - **Mesh images** sent as GRP_DATA chunks and reconstructed locally ([setup and limitations](image-messages.md)) @@ -144,6 +144,8 @@ Where your radio only hears nearby repeaters, turn on **Also count different nea | Mark as Unread | Incoming messages only | Marks this message and all subsequent incoming messages as unread | | Delete | All messages | Removes locally (not from mesh) | +Long-pressing directly on a detected GPS coordinate opens the coordinate action sheet (**Copy location** and **Open in maps**) instead of this message menu; long-press non-coordinate text in the message (or right-click on desktop) for channel message actions. + ## Communities Communities are a layer above channels that provide a private namespace. diff --git a/documentation/chat-and-messaging.md b/documentation/chat-and-messaging.md index 175eaabb..40826682 100644 --- a/documentation/chat-and-messaging.md +++ b/documentation/chat-and-messaging.md @@ -35,7 +35,7 @@ Below the app bar, above the messages, a strip shows **Compression: Off**, **SMA - **Incoming messages**: Left-aligned, grey background with a colored avatar (initial letter or first emoji of sender name; color is deterministic from a hash of the sender name) - Long-press a message and choose **Bookmark** to show a yellow bookmark on the bubble. **Show bookmarks** in the chat menu toggles a filter for bookmarked messages; use **Bookmarks** in the Channels screen menu to browse saved messages, including those from deleted contacts or channels. From the bookmarks list, copy a message with its copy button. It is ordered oldest-to-newest and opens at the newest message. The Export screen can save or share a dated Markdown file, grouped by contact and then channel, with linked URLs and URL-image embeds. Links remain tappable, and supported URL-image previews are shown when **Load images from links** is enabled in App Settings. - Bubble width capped at 72% of screen width -- Hyperlinks rendered as tappable green underlined text +- Hyperlinks rendered as tappable underlined text; inline decimal GPS coordinates are rendered as bold underlined links (see [Inline GPS Coordinates](#inline-gps-coordinates)) - Message text follows the system font size (Android/iOS accessibility text size); pinch-to-zoom scales on top of it - **Pinch-to-zoom**: Two-finger zoom (0.8x–1.8x) and double-tap to reset - **Jump to bottom**: Floating button appears when scrolled away from the bottom @@ -61,12 +61,40 @@ The composer is a rounded bubble at the bottom of the chat with one round button | Type | Wire Format | Display | |---|---|---| -| Plain text | Raw UTF-8 string | Inline text with link detection | +| Plain text | Raw UTF-8 string | Inline text with URL and decimal coordinate detection | | URL image preview | Image URL in text (per-contact opt-in; requires internet) | Downloaded inline preview | | GIF | `g:` | Inline GIF image from Giphy CDN | | Location pin | `m:,\|