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".
| height: 18, | ||
| width: 18, |
There was a problem hiding this comment.
Restore the emoji status badge background
This shared sidebarStatusAvatar style is also used by AvatarWithOptionalStatus, so for non-copilot accounts with an emoji status the badge now loses its contrasting circular background and renders the emoji directly over the avatar/sidebar. The delegate-only visual fix should avoid changing the emoji status path selected when delegateEmail is empty and emojiStatus is set.
Useful? React with 👍 / 👎.
|
@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. |
Explanation of Change
Removes the avatar border when we are using copilot
Fixed Issues
$ #91904
PROPOSAL:#91904
Tests
Before:
ideal:
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