remove avatar border for delegate avatar#91987
Conversation
|
@ChavdaSachin Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 698576cd17
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@NicolasBonet, it seems you have linked the wrong issue in the PR description. |
Done! |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
I think we want the border, but the border should just always match the background color - even when you hover. |
- Introduced `isHovered` prop to AvatarWithDelegateAvatar for hover state management. - Updated NavigationTabBarAvatar to pass hover state to AvatarWithDelegateAvatar. - Adjusted sidebar status avatar dimensions and added hover styles in the stylesheet.
698576c to
ce71ad1
Compare
@shawnborton Oh got it, the problem is the BG when hovered, this is how it looks now: Screen.Recording.2026-05-28.at.2.42.29.PM.mov |
|
Nice, I think that fixes it! |
|
@dubielzyk-expensify @eVoloshchak One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
I don't mind what's there today with having a background color. Curious what @Expensify/design thinks. I think it might be better to contain with a background color so basically leaving it alone. |
|
Totally agree with that. |
|
Same! |
|
Cool, @eVoloshchak could you check this, please? |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
|
@dubielzyk-expensify @aimane-chnaif One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Hmm didn't mean to assign you @aimane-chnaif. We need an internal engineer to pick this up. Maybe @ChavdaSachin has to approve again? |
|
I was supposed to review this as it was a follow-up but I was not tagged. |
|
We have to check for other issues as well, which are mentioned in the issue description #91904 (comment) |








Explanation of Change
Removes the avatar border when we are using copilot
Fixed Issues
$ #91904
PROPOSAL:#91904
Tests
Offline tests
None
QA Steps
Same as tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
MacOS: Chrome / Safari