Repository navigation
fix(desktop): improve Original diagnostic label contrast - #5086
Merged
Merged
Conversation
Owner
|
Thanks @garvrao80, this is what we asked for on #4717: the one-line change, the before and after contrast in both themes (3.24:1 and 3.26:1 up to 16.42:1 and 14.55:1, against 4.5:1), and a screenshot of each theme. It goes into our next landing train.
|
ashhart
force-pushed
the
fix/desktop-diagnostic-contrast
branch
from
November 25, 2026 19:25
f5f2f05 to
ea4f80d
Compare
Owner
|
Thank you @garvrao80. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
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.
What this changes
The “Original diagnostic” label above the raw error in Studio's attachment card inherits an error color at 75% opacity. Use the Desktop theme's full-opacity primary text color for the label.
f36acccdd9bd0200080a1d143be01ea83eaa2438.atc overlap --json: Partial on Nov 26 UTC+05:30 due to ATC's coverage limits, with no overlaps reported. An independent inventory of 379 open PRs found no edits toOriginalDiagnostic.tsx. Expose Desktop control names and Settings navigation state #4825 changes an attachment action without editing the diagnostic label.Checks on this head
f5f2f0534939ac858702207b31cabb6451e5abc0.npm teston Ubuntu passed all 902 Desktop test files.npm run typecheckandnpm run verify:mobilepassed on Windows.zig fmt --check build.zig zigandgit diff --checkpassed.zig build test test-goldenon Ubuntu exited 1 after a RoPE parity diagnostic. Both server golden reports had zero unexpected differences. The native source tree is identical to the base.Open a Studio task and paste an unsupported ZIP. Measure the “Original diagnostic” label against the attachment card using the renderer's computed colors, with the original label opacity included in the contrast calculation. WCAG 2.2 AA contrast minimum
Light theme after the fix
Dark theme after the fix
Receipt
N/A. The change is confined to one Desktop renderer label.
Checklist