Invert bootsplash colors + fade splash screen on web#16932
Conversation
|
@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] |
|
Is it possible to only do this on native devices? For web, I feel like the green is pretty distracting. But for mobile, it's nice because it looks like the app icon morphs into the splash screen. |
|
@shawnborton I rolled back the change, but kept the fade. Screen.Recording.2023-04-04.at.20.53.13.mov |
|
Nice, I think that feels pretty good to me |
|
Tagging in a C+ for some extra review help https://expensify.slack.com/archives/C02NK2DQWUX/p1680713244754089?thread_ts=1680713226.483109&cid=C02NK2DQWUX |
|
This is on hold for review until #16863 is merged, right? |
|
@neil-marcellini @0xmiroslav Yes. I can dissociate both PR if you prefer, remove the changes from #16863 from this one. I made that because, as this PR is about the transition between the app icon and the splash screen, you cannot really experience the effect without the other PR (which solve the Android 12 double splash screen issue) |
|
@neil-marcellini @0xmiroslav Done! I updated the instructions. |
|
If this one is going to be merged sooner than #16863, I think no need to test based on that branch. If this will be merged later, Let's still put this on hold. |
|
@0xmiroslav You cannot merge this one before #16863 since the image format change for Android 12: they must include an additional padding: If you want to merge this one before, I will have to update this PR to re-generate assets in this PR to not include the additional padding, wait for it to be merged then update the other PR. So it's easier to keep this one on hold. The other PR is not that huge, I think the review will probably be achieved soon. |
|
ok still holding this seems best way to go |
|
@0xmiroslav @neil-marcellini #16863 has been merged, I rebased this one. |
neil-marcellini
left a comment
There was a problem hiding this comment.
Much easier to review now, thank you! Looks good and tests well.
|
@0xmiroslav all you! |
|
@zoontek please add iOS splash screenshot as well |
So inconsistent between platforms. |
|
@0xmiroslav Yes, here: #16932 (comment) I opened the PR with light splash screen on web, but had to rollback this part. EDIT: I added an iOS screenshot. |
Ah sorry, I should have checked discussion |
|
This PR looks good, but I have some concerns in android from #16863:
android12.mp4
android8.mov
|
|
@0xmiroslav Could you try uninstalling the dev app, restart your phone and reinstall the same app (the dev one?) I updated the navigationBar color to match the rest. It swithes from dark content to light content once the app booted (the system used dark content but your app uses light, you can tweak that as you want in themes files). I also fixed 4. Android documentation mention that both application theme or main activity theme are fine, which is the mistake here (see step 3 here) screen-20230409-205934.mp4screen-20230409-211413.mp4 |
|
@neil-marcellini @0xmiroslav I pushed the missing |
|
so it seems build is already in process. may need to re-trigger |
|
Ok I'll try to trigger it again. @0xmiroslav please let me know once you've approved. |
|
BUG: iOS splash logo fade first time. tested on iPhone 14 Pro Max (simulator) splash.mp4 |
|
@zoontek please pull from main. RN version upgraded now. |
|
@0xmiroslav Is the first appearing logo the color of the old one? Might be the good old one https://developer.apple.com/forums/thread/68244 Because on iOS no code changed (in both PRs), only assets. |
yeah, not a blocker. happening on |
|
not sure why not sharing build links even after |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - ChromeMobile Web - SafariDesktopiOSios.mp4Androidandroid.mp4 |
0xmiroslav
left a comment
There was a problem hiding this comment.
Looks good and tests well but only one issue already reported.
I confirmed that splash logo changing issue still happens on fresh android physical device. I tested on Samsung Galaxy S10. So this is not related to cache.
But this was introduced in another PR so not a blocker for this PR. If needed, we can handle that in a new separate issue.
@neil-marcellini all yours
android.mp4
neil-marcellini
left a comment
There was a problem hiding this comment.
I think this is good to go. Thanks.
|
@zoontek I also added some QA steps for you. Merging! |
|
Congrats, that’s your 5th PR merged! 🎉 Do you know about the ContributorPlus role? It’s an opportunity to earn more in the Expensify Open Source community. Keep up the great work - thanks! |
|
✋ 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/neil-marcellini in version: 1.3.0-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.0-2 🚀
|
|
@neil-marcellini can you please create new GH for tracking payment? |
|
Sure thing, here's the payment issue. |
|
Thanks |




Details
Following this discussion with @shawnborton, he thought it could be great to invert splash screen colors, in orders to see the app icon "grow" into the splash screen.
This PR provides that + as a bonus, it adds fading on the web splash screen (for consistency with native) - I can revert the commit if this is not wanted.
Fixed Issues
#16863 (comment)
Tests
Offline tests
QA Steps
Web
iOS and Android
No QA for other platforms.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
Screen.Recording.2023-04-04.at.20.53.13.mov
iOS
Android
android.mp4