mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-08-12 11:42:56 +02:00
feat(console): rename to mc-webui, fix change_path, persist transcript
- Rename "meshcli Console" to "mc-webui Console" (modal title + docs). - Drop redundant "Connected to..." messages; replace intro with a one-line "Type 'help' for available commands." hint. - Use a teal device-name style so the header label is readable on the dark background. - Display contact paths with commas (D1,90,05,54) instead of arrows in `contacts` and `path`, matching the standard MeshCore client. - Fix `change_path`: previously read only args[2] after shlex split, silently writing a 1-byte path. Now joins remaining args, accepts comma/space/continuous-hex, validates hex, auto-deduces hash_size from comma-chunk length (1/2/3-byte hops), and routes through _change_path_async so path_hash_mode is set and the contacts cache is invalidated. - Update `help` line and add a usage hint for the no-args form. - Add capped persistent output transcript: GET/POST/DELETE /api/console/output (cap 500 entries). Console restores prior entries (faded) above a divider on open and exposes a trash button to clear it. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ This guide explains how to manage a MeshCore repeater device directly from the m
|
||||
|
||||
## 2. Login to Your Repeater and Initialize Conversation
|
||||
|
||||
- Open the `meshcli Console`
|
||||
- Open the `mc-webui Console`
|
||||
|
||||
<img src="../images/RPT-Mgmt-05-open-console.png" alt="Console" width="200px">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user