Uh oh!
There was an error while loading. Please reload this page.
fix(web): render transparent previews on white - #9463
Merged
juliusmarminge merged 2 commits intoSep 3, 2026
Merged
Conversation
Contributor
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This small, isolated Electron UI change makes transparent preview content render against hard-coded white rather than the theme background, affecting existing preview and related presentation states. Because it changes the default preview appearance, explicit human review is warranted. You can add or adjust custom eligibility rules. Learn more. |
UtkarshUsername
marked this pull request as draft
September 3, 2026 18:54
UtkarshUsername
marked this pull request as ready for review
September 3, 2026 19:43
Uh oh!
There was an error while loading. Please reload this page.
github-actionsBot
added a commit
to omarcresp/t3code-flake
that referenced
this pull request
Sep 4, 2026
## What's Changed * fix(web): make right panel tabs easier to scroll by @maria-rcks in pingdotgg/t3code#9461 * fix(web): render transparent previews on white by @UtkarshUsername in pingdotgg/t3code#9463 * fix(mobile): show loading and syncing in the working pill by @juliusmarminge in pingdotgg/t3code#9466 * fix(server): keep a/ and b/ prefixes in rendered git patches by @Mnigos in pingdotgg/t3code#9438 * fix(server): full-access OpenCode threads no longer ask for approvals by @shivamhwp in pingdotgg/t3code#9282 * fix(web): reuse pull request list data while loading by @maria-rcks in pingdotgg/t3code#9467 * feat(web): let users turn off composer collapse on blur and scroll by @juliusmarminge in pingdotgg/t3code#9469 ## New Contributors * @Mnigos made their first contribution in pingdotgg/t3code#9438 **Full Changelog**: pingdotgg/t3code@v0.0.39-nightly.20260903.1272...v0.0.39-nightly.20260903.1273 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.39-nightly.20260903.1273
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 freeto 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.
What Changed
Changed the embedded preview webview backing surface from the T3 theme background to white.
Why
Transparent top-level documents currently inherit the selected T3 application theme because the webview is composited over the app background. In dark themes this renders otherwise unstyled pages black and changes how semi-transparent page backgrounds appear.
Using a white backing surface matches the default canvas users see when opening the same page in a regular browser. Explicit page backgrounds continue to render unchanged.
UI Changes
Before:


T3 Code is on the right
After:


Checklist
Verification:
Created with GPT-5.6 in the Codex harness.
Note
Low Risk
Single visual styling change on the preview webview container with no auth, data, or routing impact.
Overview
Sets the hosted preview webview backing layer to a fixed white (
bg-white) instead of the themebg-background, so transparent or unstyled pages no longer pick up the app theme (especially dark mode) behind the guest content.Active-tab ring/shadow and other preview chrome are unchanged; only the compositing surface behind the embedded page matches a normal browser canvas.
Reviewed by Cursor Bugbot for commit 7e42800. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Render transparent previews on white in
HostedBrowserWebviewChanges the webview container background from the theme background color to a fixed white so transparent previews display correctly. Active-tab ring and shadow styling remain unchanged.
Macroscope summarized 7e42800.