fix(FN-2312): stabilize dashboard TUI log navigation and merge log streaming
- Keep the Logs tab viewport anchored to selection so users can navigate the full in-memory ring buffer with arrow keys and Home/End - Route streamed merge agent text through the dashboard log sink via a buffered line assembler to avoid raw fragment writes in TTY mode - Expand dashboard and dashboard-tui command tests to cover viewport behavior, expanded log interactions, and streamed merge log handling - Update CLI reference docs and add a @runfusion/fusion patch changeset describing the TUI log behavior fixes
This commit is contained in:
@@ -105,11 +105,19 @@ immediately see host/port and access-token details.
|
||||
| `Esc` | Close expanded view |
|
||||
| `w` | Toggle wrap mode (long messages wrap vs. truncate) |
|
||||
|
||||
The Logs list uses a scrollable viewport across the full in-memory ring buffer.
|
||||
As long as an entry is still inside the buffer, you can reach it with
|
||||
`↑`/`↓` (or `k`/`j`) and jump to absolute bounds with `Home`/`End`.
|
||||
|
||||
In wrapped mode, long log messages are displayed with word wrapping. Long
|
||||
unbroken tokens (such as URLs or stack traces) are hard-wrapped at the
|
||||
available width. In expanded view, the full message is shown with complete
|
||||
wrapping for inspection.
|
||||
|
||||
During interactive TTY mode, streamed runtime text (including merge-session
|
||||
agent output) is routed into the Logs tab as stable line entries instead of
|
||||
being written directly into the alternate-screen terminal surface.
|
||||
|
||||
In non-TTY mode (CI, piped output, scripts), the dashboard falls back to
|
||||
plain console output to maintain compatibility with automated workflows.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user