GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): file preview wrap buttons no longer turn off word wrap everywhere by t3dotgg · Pull Request #26432 · pingdotgg/t3code

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Oct 28, 2026

Copy link
Copy Markdown
Member

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.

Before click (wrapped by default) After "Disable word wrap" in this file Setting stays on
File preview wrapped Same file unwrapped Word wrap setting still on

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 to false), 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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@t3dotgg @claude
fix(web): file preview wrap buttons no longer turn off word wrap ever…
b9b6dbf
…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 <[email protected]>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Oct 28, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 28, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at b9b6dbf

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg
t3dotgg merged commit 48a2923 into main Oct 28, 2026
30 of 31 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg
t3dotgg deleted the t3/preview-wrap-stays-local branch October 28, 2026 11:22
Pipyakas pushed a commit to Pipyakas/t3code that referenced this pull request Oct 28, 2026
@t3dotgg @claude @Pipyakas
fix(web): file preview wrap buttons no longer turn off word wrap ever…
548725f
…ywhere (pingdotgg#26432)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 48a2923)
@adampeterhiggins adampeterhiggins mentioned this pull request Oct 29, 2026
merge upstream/main into fork adampeterhiggins/t3code#513
Merged
@henrychu04 henrychu04 mentioned this pull request Oct 29, 2026
Merge upstream/main 48a292364a into coder-only (sync stage 3 of 5) henrychu04/t3code-coder#279
Merged
incognitojam pushed a commit to incognitojam/styal that referenced this pull request Nov 5, 2026
@t3dotgg @incognitojam
fix(web): file preview wrap buttons no longer turn off word wrap ever…
6c03009
…ywhere (pingdotgg#26432)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Fork adaptation: Retain the fork HEIC fallback coverage while applying per-preview word wrapping.

(cherry picked from commit 48a2923)
Upstream-PR: 26432
@olafura olafura mentioned this pull request Nov 7, 2026
test(features): ledger upstream T3 Code through 9504a09f08 hal-c2/hal-c2#1189
Merged
@coygeek coygeek mentioned this pull request Nov 13, 2026
[Bug]: Word-wrap setting leaves open code blocks on old value #35898
Closed
2 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@t3dotgg
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.