Merged
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
- Add ListItemFocusContext so InviteMemberListItem can propagate isFocused to rightElement children. MemberRightIcon consumes this context to apply badgeDefaultActive when the row is focused, preventing the badge from blending into the activeComponentBG highlight. - Map DONE action to reportStatusBadge.closed in BadgeActionCell so the Done action badge matches the Done status badge color (pink).
ae03481 to
b1ae310
Compare
Only PAID and DONE reach this component, so replace the three-way branch with a simple ternary: PAID → paid, else → closed.
This was referenced Mar 6, 2026
UserListItem also applies activeComponentBG on focused rows via BaseListItem, causing the same badge color collision. Wrap rightElement with ListItemFocusContext.Provider so MemberRightIcon picks up isFocused and switches to badgeDefaultActive automatically.
Contributor
Author
dukenv0307
reviewed
Mar 6, 2026
dukenv0307
reviewed
Mar 6, 2026
dukenv0307
reviewed
Mar 6, 2026
dukenv0307
reviewed
Mar 6, 2026
dukenv0307
reviewed
Mar 6, 2026
src/components/SelectionListWithSections/InviteMemberListItem.tsx
Outdated
Show resolved
Hide resolved
- Make isFocused optional in ListItemFocusContextValue type
- Use shorthand {isFocused} instead of {isFocused: !!isFocused} in
all four ListItemFocusContext providers
Contributor
Reviewer Checklist
Screenshots/Videos |
Contributor
Author
|
@dukenv0307 Addressed the review comments ... thanks for those suggestions |
dukenv0307
approved these changes
Mar 6, 2026
puneetlath
approved these changes
Mar 6, 2026
Contributor
|
🚧 @puneetlath has triggered a test Expensify/App build. You can view the workflow run here. |
Contributor
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
OSBotify
pushed a commit
that referenced
this pull request
Mar 6, 2026
…e-regressions badge style fixes (cherry picked from commit 22aa3d2) (cherry-picked to staging by puneetlath)
92 tasks
Contributor
|
🚀 Cherry-picked to staging by https://github.com/puneetlath in version: 9.3.32-1 🚀
|
Contributor
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.3.32-3 🚀
|
Contributor
|
🚀 Cherry-picked to staging by https://github.com/puneetlath in version: 9.3.33-0 🚀
|
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.










Explanation of Change
Badge outline invisible on selected row (#84358):
ListItemFocusContextthatInviteMemberListItemprovides with the actualisFocusedstate from the list.MemberRightIconconsumes this context and appliesstyles.badgeDefaultActive(usesbuttonHoveredBG) when the row is focused, preventing the badge from blending into theactiveComponentBGhighlight.Done action badge color mismatch (#84360):
BadgeActionCellto explicitly mapDONE→reportStatusBadge.closed(pink) instead of falling through toreportStatusBadge.approved(teal), matching the color used byStatusCellfor Done reports.Fixed Issues
$ #84358
$ #84360
Tests
Badge visibility on selected rows (#84358):
Done action badge color (#84360):
Offline tests
N/A — these are purely visual/styling changes with no network dependency.
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-03-06.at.11.50.59.mov
Screen.Recording.2026-03-06.at.11.53.08.mov