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.
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.
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
Reviewer Checklist
Screenshots/Videos |
|
@dukenv0307 Addressed the review comments ... thanks for those suggestions |
|
🚧 @puneetlath has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…e-regressions badge style fixes (cherry picked from commit 22aa3d2) (cherry-picked to staging by puneetlath)
|
🚀 Cherry-picked to staging by https://github.com/puneetlath in version: 9.3.32-1 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.3.32-3 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/puneetlath in version: 9.3.33-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.3.33-5 🚀
|










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