fix: show skeleton on search router - #59789
Conversation
|
@dannymcclain @Pujan92 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/VideosAndroid: NativeAndroid: mWeb Chromeam1.webmiOS: NativeSimulator.Screen.Recording.-.iPhone.15.-.2025-04-09.at.17.42.06.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.-.2025-04-09.at.17.44.14.mp4MacOS: Chrome / SafariScreen.Recording.2025-04-09.at.16.11.14.movMacOS: Desktop |
|
What speed are we using for the search router skeletons? Is it the same value we're using for chats? We recently made it slower, so just want to make sure we're aligned here. Thanks! |
+1. I also think this might be a nice place to use the static (non-animated) skeletons... just |
|
I don't mind that they are animated because it's actually loading and not offline. But I just want the speeds to be the same! |
No, it is using the common SelectionList component and chat is the different one. So for this, we don't have any speed set yet. It is the same with all other SelectionList components(eg. new chat) Screen.Recording.2025-04-09.at.00.41.25.mov |
|
With Design that we should make sure the timing is the same even though it's using different components |
Sure, @daledah could you also make this change by adding a new prop ~ |
|
Yup, that's exactly what I was thinking - basically pass in that same timing we are using elsewhere. |
|
@Pujan92 I updated. |
|
Let us know when you have an updated video to review, thanks! |
|
And looks like we have some conflicts too. |
|
@Pujan92 I updated. |
@shawnborton plz review this video Screen.Recording.2025-04-09.at.16.11.14.mov |
|
Nice, I think that looks correct to me - cc @Expensify/design for the extra eyes too 👀 |
|
Looking good to me |
|
Nice, let's get this into final review please! |
|
latest Const change looks good to me. |
|
@shawnborton If it looks good the design team then can you plz approve so that the internal engineer gets assigned to review |
|
Approved on my end |
|
@dannymcclain @jjcoffee 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] |
|
Hmm not sure why it assigned the way it did. @Pujan92 how do we normally get an internal engineer assigned? |
|
Going to assign @mountiny since he was assigned to the original issue. |
|
✋ 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/mountiny in version: 9.1.28-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.28-15 🚀
|
|
|
||
| useEffect(() => { | ||
| if (!shouldInitialize || areOptionsInitialized) { | ||
| if (!shouldInitialize || areOptionsInitialized || isLoadingApp) { |
Explanation of Change
Fixed Issues
$ #59253
PROPOSAL: #59253 (comment)
Tests
Offline tests
QA Steps
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))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
Android: Native
Screen.Recording.2025-04-08.at.13.52.44.mov
Android: mWeb Chrome
Screen.Recording.2025-04-08.at.13.53.17.mov
iOS: Native
Screen.Recording.2025-04-08.at.13.54.44.mov
iOS: mWeb Safari
Screen.Recording.2025-04-08.at.13.55.09.mov
MacOS: Chrome / Safari
Screen.Recording.2025-04-08.at.13.55.35.mp4
MacOS: Desktop
Screen.Recording.2025-04-08.at.13.56.29.mov