20354 money request participants selector skeleton fix#34443
20354 money request participants selector skeleton fix#34443lukemorawski wants to merge 2 commits into
Conversation
| useEffect(() => { | ||
| const interactionTask = InteractionManager.runAfterInteractions(() => { | ||
| setDidScreenTransitionEnd(true); | ||
| }); | ||
|
|
||
| return interactionTask.cancel; | ||
| }, []); |
There was a problem hiding this comment.
Hey @lukemorawski can you help me understand why we need to check for the transition state?
There was a problem hiding this comment.
This waits for all the interactions/animations to end so in this case mostly the screen transition. Only after that the section data will be rendered, but until this happens the skeleton element is shown.
|
I think you're planning to reuse |
|
I'm still seeing a flicker, here it is compared to the search page Screen.Recording.2024-01-12.at.22.34.45.mov |
I actually wouldn't advice adding debouning to the list component. for simplicity and separation of concerns sake. The list is only to display things. Yes it has some convenient things added to it, but still they are "list related". |
OK, it's because the new |
|
@lukemorawski Im working in this skeleton transition here #32665 Although you are still in the middle of refactoring, we need to control the Also,
I went ahead and resolved this in my PR as well. What do you think? We need to make the same adjustments to |
OK, I see we are basically working on mostly the same things here. There is no point of making two PRs with code changes addressing the same issues. I could close my PR if you could add some some extra things my PR have and your doesn't. That way we won't duplicate. If you're cool with that then here's a quick list:
And I could prepare another PR where fix the icon thing. |
Yes 😂
Absolutely, I will work on these changes immediately.
I completed the |
|
@lukemorawski, One more thing, about #20354, I believe we will have more work, I can see some places that use |
Thanks for that! I'm doing those refactorings one by one, so it's not a huge unreadable PR. |
Awesome. Leave your change please and I'll address the rest. I have already created one common |
|
Closing this PR because the work here has been largely doubled in #32665. |
|
@lukemorawski The PR is ready for Review. I made the changes you mentioned:
Can you verify please? #32665/files |
Details
A quick fix to Skeleton issues on MoneyRequestParticipantsList components. Debouncing searching.
Fixed Issues
$ #32692 (comment)
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop