Repository navigation
Conversation
The status line used text-muted-foreground, a canvas text tone, on the tooltip's inverted primary fill (1.15:1 dark, 1.94:1 light). Derive it from the tooltip foreground instead: 5.54:1 dark, 9.08:1 light. Fixes #6674 Co-Authored-By: Claude Opus 5.5 <[email protected]>
ymichael
deleted the
bb/please-investigate-and-fix-https-github-com-get-thr_6qkrds9shu
branch
October 30, 2026 18:13
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.
Human comments
What was wrong
The sidebar PR badge tooltip (
plugins/github-pr-status/ui/PullRequestRowMetadata.tsx) styled its status line withtext-muted-foreground. That token is a text tone for the--canvassurface, butTooltipContentdraws an invertedbg-primaryfill, so the muted tone landed next to the fill: 1.15:1 in the Default dark theme and 1.94:1 in light. It was the only tooltip in the repo putting muted/subtle text on the tooltip fill.What changed
PullRequestRowMetadata.tsx: the status line usestext-primary-foreground/75, a tone derived from the tooltip's own foreground, so it stays a step below the title while following any theme's--primary-foreground.--muted-foregroundin sharedTooltipContent, since no other tooltip needs it.How you verified
pnpm exec turbo run prepare:bundled typecheck test --filter=bb-plugin-bb--github-pr-status: pass, 181/181 tests; the bundled CSS contains the scopedtext-primary-foreground/75rule.pnpm start:worktreewith a fresh data dir, built once with the old class and once with the fix. Projects and threads point at shallow clones of two open-PR branches (Stop provider failures from retiring recurring automations #6677 checks failing, Show nightly builds the newest release's changelog #6679 checks running), withthreadRowMetadataandshowRowMetadataon. In Chromium I hovered the real sidebar badge and read computed styles plus WCAG 2 contrast against the tooltip fill:bb pull-request show(text and--json) for both environments,bb thread list/show,bb settings show,bb thread-list prefs get,bb host listall behave as before. The composer's PR segment and the sidebar badge render unchanged.Fixes #6674
🤖 Generated with Claude Code