-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Use correct app icon colour bg for notifications #27213
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
Conversation
Generating a build here |
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
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.
@neil-marcellini 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] |
@dannymcclain @narefyev91 @ 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] |
Is our automation smart enough to assign a designer when the linked issue is tagged with design? 😮 |
I can do reviewer checklist if needed |
Yeah please. @dannymcclain should only be doing the design review here |
Reviewer Checklist
Screenshots/VideosWebN/A Mobile Web - ChromeN/A Mobile Web - SafariN/A DesktopN/A iOSN/A |
Ready to go after we get design approval from @dannymcclain |
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.
Looks much better! Also, if I'm understanding the various threads properly: in light mode, the OS is going override whatever we put in there and make us have a white icon, right? I think in a completely ideal world we would have our light green bg with dark green iconmark (matching the app icon) in all scenarios, but that is basically just not possible. Is that correct?
Are we good to merge this @Julesssss? |
yes - #27213 (comment) |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@dannymcclain yeah, annoyingly I believe only occurs on non-vanilla Android devices. And Samsung/OnePlus insist on implementing their own dumb logic that prevents us from having a consistent notification icon colour 😞 |
🚀 Deployed to staging by https://github.com/Li357 in version: 1.3.69-0 🚀
|
The QA still raised this issue #27145 being reproducible in staging |
It's impossible that the bug is related to this change in that case, as this simply updated the hex value. The only possible explanation is that the bug that made us revert the original PR wasn't actually linked to this PR after all 😞 Which is actually kinda good news. Samsung not respecting the notification color despite us setting the hex means that we can resubmit the original PR. |
Curious about this. Can we get screenshot from QA team? |
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.69-2 🚀
|
🚀 Deployed to staging by https://github.com/Li357 in version: 1.3.70-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.70-8 🚀
|
Details
Second attempt at fixing the notification icon background colour.
Fixed Issues
$ #26255
Tests
Android notification icon bg should be
#03D47C
(ONLY IF SUPPORTED!)Offline tests
N/A
QA Steps
#03D47C
(ONLY IF SUPPORTED!)PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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