feat(ui): message-only logs view (m) - #28
Merged
Merged
Conversation
In multi-pod log streams each line is `[ns/pod/container] <timestamp> <message>`, and the prefix + timestamp can eat half the width, pushing the actual message off-screen. `m` in the logs pane toggles a message-only view that strips both, keeping just the message. - Display-only transform (`display_log_line`) returning a borrowed slice — the message is a contiguous tail, so it's allocation-free on the render hot path; applied in the non-wrap viewport window, the wrap-mode body, and the width calc. - Search/scroll are unaffected (line indices unchanged; still searchable by source/time — only the display is trimmed). - Logs title shows `view: full|message-only`. Tests: strip logic (prefix + RFC3339 timestamp, with edge cases) and a render toggle test (prefix/timestamp hidden, message kept). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In multi-pod log streams each line is
[ns/pod/container] <timestamp> <message>. The source prefix + timestamp can eat half the width and push the actual message off-screen (reported from a realorbit-backenddeployment stream).min the logs pane now toggles a message-only view that hides both the[source]prefix and the timestamp, keeping just the message.Notes
view: full | message-only.Testing
make validategreen (112 tests + release build)🤖 Generated with Claude Code