-
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: icon not set when adding bookmark to iOS home screen #21856
fix: icon not set when adding bookmark to iOS home screen #21856
Conversation
@shawnborton @mollfpr 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] |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeScreen_Recording_20230706_024331_One.UI.Home.mp4Mobile Web - SafariSimulator.Screen.Recording.-.iPhone.14.Pro.-.2023-07-06.at.02.35.27.mp4DesktopiOSAndroid |
@eh2077 The icon for mWeb/Chrome added to the home screen is square instead of rounded. untitled.webm |
@mollfpr Thanks for checking it on mobile Chrome. But I can't reproduce it on mobile Chrome, see below video mobile-chrome.mp4From my emulator, the preview icon is round, see below screenshots
Did you use the icon provided here and rebuild(Cmd + c to exit the process and run |
Screen.Recording.2023-06-30.at.23.33.52.movHere's what I commented on the |
I'm checkout to this PR with GH CLI. |
@marcochavezf Could you help us here to check whether the icon on adding the page to the home screen is displayed correctly like on the staging? Thanks! |
@mollfpr Would you mind testing with following changes on your env? <link rel="icon" id="favicon" sizes="any" href="/favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> I still can’t reproduce it but I guess it's related to the legacy usage of It looks like |
Screen.Recording.2023-07-03.at.10.19.16.mp4@eh2077 It's still reproducing even after I clean up the project. |
@mollfpr Could you update your Chrome and test with property |
Friendly bump @mollfpr on #21856 (comment) |
Sorry for the delay! It's still resulting in the same.
Is there any information on what the proper icon is? Although, the result in my phone is not too noticeable, and the icon on my home screen is not round like in the simulator. Screen_Recording_20230705_234057_One.UI.Home.mp4@shawnborton Could you help confirm if the icon in the above video for Android is okay? Where is previously the icon that shows in Android was the favicon. |
I think that looks good to me. |
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.
Thanks for confirming it @shawnborton ❤️
@eh2077 Let's add test for mWeb/chrome too in the test case.
Added! |
Friendly @marcochavezf |
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.
Thanks guys, love the "Look Gorilla To Me" 😆
✋ 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/marcochavezf in version: 1.3.38-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.38-7 🚀
|
Details
Fixed Issues
$ #21064
PROPOSAL: #21064 (comment)
Tests
Offline tests
QA Steps
Same as test
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
Web
N/A
Mobile Web - Chrome
mobile-chrome.mp4
Mobile Web - Safari
mobile-safari.mp4
Desktop
N/A
iOS
N/A
Android
N/A