Repository navigation
fix(web): file preview wrap buttons no longer turn off word wrap everywhere - #26432
Merged
Merged
Conversation
…ywhere The wrap button in the file and attachment previews wrote the global Word wrap setting, so one click there turned wrapping off for chat code blocks, tables, diffs, and every file preview. Those buttons now keep a per-view override, like the diff panel and PR code tab already do. Settings > Appearance > Word wrap is the only place that changes the default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Preview wrap buttons now affect only their preview rather than changing word wrap throughout the app. Previews still initially follow the existing setting, keeping this a contained presentation change. You can add or adjust custom eligibility rules. Learn more. |
Pipyakas
pushed a commit
to Pipyakas/t3code
that referenced
this pull request
Oct 28, 2026
…ywhere (pingdotgg#26432) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 48a2923)
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.
Word wrap was off in my install even though it defaults to on. That made chat tables open cut off to one line. The cause: the wrap button in the file preview and the attachment preview wrote the global "Word wrap" setting. One click there turned off wrapping for every code block, table, diff, and file preview.
Now those two buttons change only the view they sit in, like the diff panel and PR code tab buttons already do. Settings > Appearance > Word wrap is the only place that changes the default.
Installs that already got flipped keep their stored value. Turn Word wrap back on once in Settings > Appearance.
Proof: a new browser test (fails on
main, where the global setting flips tofalse),vp run check:changed, and a manual pass in the dev web app (screenshots above).Reviewed with sol-loop: 1 round with GPT-6.1 Sol. Sol verdict: approved
Created with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code