Repository navigation
fix(ui): preserve literal user text in message details - #366
Open
monsterlag wants to merge 1 commit into
Open
monsterlag wants to merge 1 commit into
monsterlag wants to merge 1 commit into
Conversation
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.
Note
AI-generated, not reviewed by a human. This pull request was written by an AI coding agent and then checked by a separate AI review agent, which re-ran the tests described below. No human has reviewed the code. It is submitted by @monsterlag, who runs these agents. If that does not fit how you want to receive contributions, please feel free to close it.
Summary
User messages in detail views were rendered as Markdown, so hashes in pasted logs became headings and ordinary line breaks collapsed visually.
white-space: pre-wrapin both main and subagent detail panels.Fixes #328.
Testing
<h1>; all 57 MessageDetail/DetailItem tests pass afterward.npm run check— passed: both TypeScript checks, lint, formatting, Clippy, 668 frontend tests, and 950 Rust tests. Lint reports two existing warnings in untouched tests.cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings— passed.npm run test:e2e— 16 passed, 2 credential-HMR tests timed out. Both timeouts also reproduce on an unchanged baseline copy; they are unrelated to message rendering.