Add Czech, in-chat search, typed-hash path trace and contact sharing
- Czech UI locale (app_cs.arb), selectable in the language picker and as a message translation language; language names added to every locale. - Fix wrong language names: Slovak shown as Slovenian in it/ja/pt/sl, garbled Slovak/Bulgarian in pl, Ukrainian in ru, Hungarian in ko/zh. - Search inside DM and channel chats across the full stored history, with highlighted matches; filtered channel messages are excluded. - Path trace by typed hashes (e.g. A1,B2,C3) from the Contacts and map menus, without needing node locations; the map trace panel can hand its hops to it. - Share contacts in chats using the official app's <pubkey:type:name> format; received cards have a one-tap Add contact button that reuses the QR card import path. - Translations for all new strings in every locale; docs updated.
This commit is contained in:
1 parent
e57f97616c
commit
c939f7a29c
67 files changed
+17245
-381
No files matched your search
@@ -26,7 +26,7 @@ A bottom sheet with a search field and a grid of GIF thumbnails.
|
||||
App Settings → Appearance → Language
|
||||
|
||||
### Supported Languages (18)
|
||||
English, French, Spanish, German, Polish, Slovenian, Portuguese, Italian, Chinese, Swedish, Dutch, Slovak, Bulgarian, Russian, Ukrainian, Hungarian, Japanese, Korean
|
||||
English, French, Spanish, German, Polish, Slovenian, Portuguese, Italian, Chinese, Swedish, Dutch, Slovak, Czech, Bulgarian, Russian, Ukrainian, Hungarian, Japanese, Korean
|
||||
|
||||
### How It Works
|
||||
- All UI strings go through Flutter's ARB localization system
|
||||
|
||||
@@ -18,7 +18,8 @@ From the Contacts screen, tap any Chat-type contact to open the ChatScreen.
|
||||
|
||||
- **Title**: Contact name
|
||||
- **Subtitle**: Current routing path label (e.g., "2 hops", "flood (auto)", "direct (forced)") and unread count. Tapping the subtitle shows the full path details.
|
||||
- **Action button**:
|
||||
- **Action buttons**:
|
||||
- **Search** (magnifier icon): Replaces the title with a search field and lists every message in this conversation's full history whose text (or translation) contains the typed word, newest first, with matches highlighted. Channel search also matches sender names and skips messages caught by the [message filter](message-filter.md). Back, Esc or the arrow closes search. Channel chats have the same button.
|
||||
- **Overflow menu** (⋮ icon): Contains Routing, Info, Telemetry, Settings, Chat background, and Clear Chat. Routing opens the routing sheet where you can switch between Auto, Direct, and Flood routing and manage recent paths (hop count, round-trip time, age, success count, color-coded by repeater). Info shows a dialog with contact type, path, GPS coordinates, and public key. Chat background sets a color or picture (with a fade slider) behind this chat only; see [Chat backgrounds](themes.md#chat-backgrounds).
|
||||
|
||||
### Message List
|
||||
@@ -56,6 +57,14 @@ From the Contacts screen, tap any Chat-type contact to open the ChatScreen.
|
||||
| Location pin | `m:<lat>,<lon>\|<label>\|...` | Location icon + label; tap to open map |
|
||||
| Reaction | `r:<hash>:<emoji-index>` | Applied to target message as emoji pill |
|
||||
|
||||
## Sharing Contacts
|
||||
|
||||
A contact can be shared in any direct or channel chat. It is sent as an ordinary text message whose whole text is `<PUBKEYHEX:TYPE:NAME>` (64-hex-character public key, advert type 1 Companion / 2 Repeater / 3 Room / 4 Sensor, then the name, which may contain colons). This is the same format the official MeshCore app uses, so shares work in both directions.
|
||||
|
||||
- **Sending**: tap **+** in the input bar, choose **Share contact**, and pick **My contact** or a saved contact (the list has a name search). The token is placed in the text field; press send. Names count toward the message length limit.
|
||||
- **Receiving**: the message shows as a card with the name, contact type and shortened key. If the key is not saved on your radio yet, tap **Add contact** to add it; the card then shows **Saved** (or **This is you** for your own key). Adding needs a connected radio and uses the same radio command as scanning a contact QR code.
|
||||
- Notifications and reply previews show "Shared a contact: NAME" instead of the raw text.
|
||||
|
||||
## Message Status
|
||||
|
||||
Outgoing messages display a status indicator:
|
||||
|
||||
@@ -120,6 +120,7 @@ Shows node count and pin count. Tappable to expand a legend of all marker types.
|
||||
|
||||
### How to Access
|
||||
- From the main map's menu → **Path Trace** (build your own route, see below)
|
||||
- From the Contacts or map menu → **Path trace by hashes** (type the hops, see below)
|
||||
- From a contact's long-press menu → "Path Trace / Ping"
|
||||
- From a message's path view → radar icon
|
||||
|
||||
@@ -131,6 +132,14 @@ Shows node count and pin count. Tappable to expand a legend of all marker types.
|
||||
|
||||
Returning from the result keeps your hops, mode and the last result (**View last result** reopens it without sending again). **Close** or the back button hides the panel without discarding the hops; reopening **Path Trace** during the same session resumes where you left off. The hops are dropped when you connect to a different radio.
|
||||
|
||||
### Tracing by Typed Hashes
|
||||
Nodes without a location can't be tapped on the map, so **Path trace by hashes** (Contacts menu, map menu, or **Enter hashes** in the map's trace panel, which prefills the hops already picked) lets you type them instead:
|
||||
1. Enter the hop prefixes in order, e.g. `A1,B2,C3`. Commas, spaces, `>`, `→`, `-` or `/` separate hops; 2, 4 or 6 hex characters give 1-, 2- or 3-byte hops (all hops must be the same width). A continuous string is split by the radio's current path hash size.
|
||||
2. Each hop is listed with the known repeaters or rooms whose key starts with it, or "Unknown node".
|
||||
3. Choose **Round trip** or **As entered**, then tap **Run path trace**. The result opens on the path trace map; hops without a location are listed but not drawn. 3-byte hops are traced as 4-byte key prefixes, so they must belong to known contacts.
|
||||
|
||||
The typed hops and mode are kept for the app session.
|
||||
|
||||
### What the User Sees
|
||||
A map with a polyline showing the route from your node through repeater hops to the target:
|
||||
- **Green circles**: Hops with known GPS coordinates
|
||||
|
||||
@@ -61,6 +61,7 @@ MapScreen (selected=2)
|
||||
├─ [quick-switch 0] → pushReplacement → ContactsScreen
|
||||
├─ [quick-switch 1] → pushReplacement → ChannelsScreen
|
||||
├─ [radar menu item] → enters in-map path trace mode (push → PathTraceMapScreen after path is built)
|
||||
├─ [Path trace by hashes] → push → ManualPathTraceScreen → push → PathTraceMapScreen
|
||||
├─ [terrain menu item] → push → LineOfSightMapScreen
|
||||
└─ [long-press] → share marker sheet
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ A dedicated sub-screen for app-level preferences (nothing here is sent to the de
|
||||
- **Color theme**: Opens the Themes screen: the standard MeshCore theme, built-in presets, holiday themes, and your own themes (create, edit, share codes, `.jsonl` import/export). See [Themes](themes.md)
|
||||
- **Automatic holiday themes** (on by default, toggled on the Themes screen as **Switch automatically**): Shows the Halloween, Thanksgiving, Christmas, or New Year's theme from 17 days before each holiday through the day itself, then restores your own theme. Picking any theme or Light/Dark keeps your choice for the rest of that holiday; turn the toggle off to stop it entirely. See [Automatic holiday themes](themes.md#automatic-holiday-themes)
|
||||
- **Holiday message animations** (on by default): Plays a short animation when a holiday greeting arrives in or is sent from an open chat. See [Holiday message animations](themes.md#holiday-message-animations)
|
||||
- **Language**: System default or one of 18 languages (English, French, Spanish, German, Polish, Slovenian, Portuguese, Italian, Chinese, Swedish, Dutch, Slovak, Bulgarian, Russian, Ukrainian, Hungarian, Japanese, Korean)
|
||||
- **Language**: System default or one of 19 languages (English, French, Spanish, German, Polish, Slovenian, Portuguese, Italian, Chinese, Swedish, Dutch, Slovak, Czech, Bulgarian, Russian, Ukrainian, Hungarian, Japanese, Korean)
|
||||
|
||||
### Notifications
|
||||
- **Master enable/disable**: Requests OS permission when enabling
|
||||
|
||||
Reference in new issue
Block a user