Repository navigation
fix(web): respect glass opacity for dialog backdrops - #4
Conversation
Reapply the feature-only delta from pingdotgg#29525 after the fork integration revert. Preserve current appearance startup and the original helper/browser coverage. Source: 99263d3 (first-parent delta), upstream head 13e803a. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Merged origin/main, including coordinator CI fix 852618b, without rebasing or independently editing the workflow. Fresh head: 8a8924b. |
|
@coderabbitai full review |
Action performed
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Problem
Setting Glass opacity to 100% disables shared glass blur, but dialog backdrops still apply a fixed 4px blur. Settings and Usage therefore keep filtering the window despite selecting the existing reduced-effects workaround.
This ports pingdotgg/t3code#29525, originally reported on Windows using the Microsoft Basic Render Driver.
Change
Shared web/desktop dialog backdrops use
noneat 100% Glass opacity and restore the existing 4px blur below 100%. Dimming and defaults are unchanged. Only the glass style writes are extracted; newer appearance and typography startup remain intact.Reapply the exact four-file feature delta from integration merge
99263d35868cd88d59911fe71b601c856238bf0d, whose original upstream head was13e803a6793e7f5fc997f5bf1e89950c86273a69. A fresh commit is necessary because the original integrations were reverted inac9a65b0bewhile their heads remain ancestors. No upstream-sync merges are replayed.The shared stylesheet also covers alert-dialog backdrops. Media backdrops already disable blur and stay unchanged. No new setting, provider/contract/server change, native-mobile effects, workflow change, lockfile change, or PR evidence assets.
Scope and approval
The fork owner explicitly requested this port as one of five separate fork PRs, with one top-level thread per PR, and authorized merging into amv146/t3code only when the latest head is ready. This approval was supplied in the task on November 8, 2026; it is fork approval, not a claim of upstream maintainer approval. Upstream PRs and their existing branches are not modified.
Original work and contributor credit: Alex Vallone (
amv146), with Copilot co-authorship retained. The upstream review follow-up in 96c9dfcf18 deliberately tests the production glass-style helper instead of moving unrelated typography/subscription startup into a test fixture. This port preserves that reviewed scope.This is a focused fix to an existing setting. Related: pingdotgg#20269, whose closure comment recommends 100% Glass opacity as a workaround; this fixes only its backdrop exception.
Verification
Current fork worktree:
git diff --cached --checkgit diff --cached | git patch-id --stable6ab98f5c008d050644986be1fe71a7defed65f45.git diff 99263d3586^1 99263d3586 | git patch-id --stablevp run check:changed origin/mainvite-plus, are missing.apps\web:vp test run src\components\ui\dialog.browser.test.tsx src\hooks\useSettings.test.ts src\components\settings\TypographySettings.browser.test.tsx --project browser --project unit@vitejs/plugin-react, are missing. No tests ran locally.vp install --frozen-lockfilepackagefeedproxy.microsoft.ioreturned HTTP 404 for@alchemy.run/testmetadata. No dependency manifests or lockfiles changed.GitHub-hosted validation at head
8a8924bc1ba1459310d8081a04d42060e0d4ae86:node apps/web/node_modules/playwright/cli.js install --with-deps --only-shell chromiumvp run check:changed "$BASE"withBASE=852618b095a70cf480d99831708eb40f18f4c240Fork PR validation run completed successfully. The coordinator's shared checkout fix was merged from
origin/main; this PR does not independently change workflows or bypass checks.CodeRabbit's substantive full review completed for
8a8924bc1ba1459310d8081a04d42060e0d4ae86, covering all four changed files, with no actionable findings and a successful CodeRabbit check. The coordinator resumed fork-only completion after enabling CodeRabbit; Macroscope is not required.The advisory Native fingerprint diff remains queued on an unavailable Blacksmith runner. Its workflow explicitly describes the check as advisory; none of its native fingerprint input paths changed. Fork
mainhas no branch protection or required status checks, and the branch rules endpoint returns no rules. No check is disabled, canceled, or overridden by this PR; the relevant hosted validation and substantive latest-head review have passed.The port retains the browser regression for initial 80%/100% opacity, repeated 100%/95%/80% changes, restored default filtering, and unchanged light/dark dimming. Local integrated browser verification was not repeated: no shared/live server or pqtest browser was used. Existing upstream evidence below is reused, not newly captured by this port.
Previously uploaded upstream evidence, copied from the upstream PR description:
The upstream description states that the before screenshot reproduces the original CSS in the same isolated Windows desktop test instance. These screenshots were not captured during this fork port.
Reporter-supplied upstream recordings: 40% opacity, blur enabled and 100% opacity, blur disabled. These compare settings, not before/after code versions at the same setting. Upstream states they are muted, machine-name-redacted, and retain original playback speed.
Upstream integrated verification also reports the real slider, saved 100% across reload, Settings/Usage, and unchanged light/dark tint at the original head. That is historical upstream evidence, not current fork execution. No quantified performance improvement is claimed here.
Model: GPT-6.1 Sol (
gpt-6.1-sol). Harness: T3 CodeacpRegistry.