-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix Fallback avatar background and selection highlight have the same color #43077
Conversation
@rushatgabhane 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] |
@rushatgabhane Please ignore this PR. @Santhosh-Sellavel will review it |
src/styles/index.ts
Outdated
@@ -1782,7 +1782,7 @@ const styles = (theme: ThemeColors) => | |||
}, | |||
|
|||
sidebarLinkActive: { | |||
backgroundColor: theme.buttonHoveredBG, | |||
backgroundColor: theme.overlay, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we using the overlay color here? That's not the correct color we should be using. For the active background color, we want to use product400 or the same color as our borders.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. The overlay also has product400
, but I just updated it to use activeComponentBG.
Perfect thanks!
…On Wed, Jun 5, 2024 at 8:41 AM Tienifr ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/styles/index.ts
<#43077 (comment)>:
> @@ -1782,7 +1782,7 @@ const styles = (theme: ThemeColors) =>
},
sidebarLinkActive: {
- backgroundColor: theme.buttonHoveredBG,
+ backgroundColor: theme.overlay,
Ah. The overlay also has product400, but I just updated it to use
activeComponentBG.
—
Reply to this email directly, view it on GitHub
<#43077 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARWH5UDWEH26IYZW45KY4DZF2XKXAVCNFSM6AAAAABIZOHZ5GVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAOJYGE3TAMJZGI>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
okayy. ignoring this PR |
@rushatgabhane what's the latest here? |
@shawnborton No, @Santhosh-Sellavel will review this PR because he reviewed my original PR. |
Okay, let’s try to get this one over the finish line. Thanks!
…On Tue, Jun 25, 2024 at 11:09 AM Tienifr ***@***.***> wrote:
@shawnborton <https://github.com/shawnborton> No, @Santhosh-Sellavel
<https://github.com/Santhosh-Sellavel> will review this PR because he
reviewed my original PR.
—
Reply to this email directly, view it on GitHub
<#43077 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARWH5TN4B66ZNHIPTZBHSTZJEXTPAVCNFSM6AAAAABIZOHZ5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGM3TOOBYGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@tienifr maybe @Santhosh-Sellavel is OOO, so I'll take care of this for GSD's sake i reached out to them on slack yesterday https://expensify.enterprise.slack.com/archives/C02NK2DQWUX/p1719350602109949 |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb Chromemy sim for mweb android is broken |
All you @grgia ! |
@grgia Can you help review this PR? |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/grgia in version: 9.0.4-0 🚀
|
🚀 Cherry-picked to staging by https://github.com/tgolen in version: 9.0.4-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
Details
Fixed Issues
$ #39909 (comment)
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
output.mp4
MacOS: Desktop
Screen.Recording.2024-06-05.at.05.13.50.mov