fix: header context chip colors and hidden unresolved count#486
Merged
tomasz-tomczyk merged 1 commit intomainfrom May 7, 2026
Merged
fix: header context chip colors and hidden unresolved count#486tomasz-tomczyk merged 1 commit intomainfrom
tomasz-tomczyk merged 1 commit intomainfrom
Conversation
- Add background + border-color to .header-chip.header-context using --crit-brand-subtle / --crit-brand-bg so the active branch chip has a visible tint in all themes - Track hidden_unresolved (unresolved comments outside the current focused view) and factor it into the Approve / Finish Review CTA label; computed under a single RLock to avoid TOCTOU; renamed from other_scope_unresolved for clarity
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #486 +/- ##
==========================================
+ Coverage 68.88% 68.92% +0.04%
==========================================
Files 45 45
Lines 10924 10945 +21
==========================================
+ Hits 7525 7544 +19
- Misses 2827 2829 +2
Partials 572 572
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
background+border-colorto.header-chip.header-contextusing--crit-brand-subtle/--crit-brand-bgso the active branch chip has a visible tint in all four themeshidden_unresolvedto the session API response: the count of unresolved comments on files outside the current focused/scoped view. The finish-button label (Approve vs Finish Review) now correctly accounts for comments the user can't see in the current scopeRLockinsnapshotForScopedReview
Test plan
go test -race ./...)🤖 Generated with Claude Code