-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-03-10] [Due for payment 2025-02-27] [UX Reliability] Improve the bottom modal animations quality and reliability on native and mWeb platforms #49354
Comments
Current assignee @mountiny is eligible for the AutoAssignerNewDotQuality assigner, not assigning anyone new. |
Triggered auto assignment to @RachCHopkins ( |
Triggered auto assignment to @shawnborton ( |
Hi! I'm Bartosz from SWM and I'll be working on this issue! 😄 |
Big fan of that! I think the answer is yes, we do want to explore that. |
Added another bullet point to look into, nothing super new, just one more flow to test:
|
@BartoszGrajdek Any updates here 🚀 |
Hey there! 🌟 Apologies for the delayed response; I had a few other tasks pop up, but I dived into the issue yesterday and have a more detailed update for you below. 🙏🏻 Devices UpdateI selected iPhone SE 2022 and Oppo A16 initially, but realized the Oppo isn't as mid-range as I thought. I'll swap it out for a better Android device tomorrow at the office. Focus on Physical DevicesIt's crucial to conduct the final testing and comparisons on physical devices. As we well know simulators can sometimes access more resources than actual phones do, skewing the results. 📱 Baseline of measurementsI have recorded the animations on mWeb and Android, but I'm still struggling with getting the iOS to build on a physical device, that's something I'll focus on today. 😅 Tomorrow once I swap the Android phone with a better one I'll try to summarise our current state of these animations in terms of fps - given I get the iOS to build 🍎 Next Steps - Action Plan
We'll also likely get another person from the team to help me out here to speed this process up 🚀 Keep me posted on any thoughts or recommendations, and let's keep the momentum going! If you have questions or need more details, feel free to reach out. I'll make sure to keep you updated regularly 🙌🏻 Looking forward to our progress! 💪🏻 |
Lovely, thanks for the focus and update |
Hey @mountiny this may be a silly question, but do you actually need me on this issue for anything? |
Nah all good |
Hello again! 🌟 I'm back with a detailed update on my activities over the past few days. 🙌🏻 Recordings & Baseline MeasurementsI’ve completed the remaining recordings, including the native iOS recordings on an iPhone 11. After discussing with the Reanimated team, we've concluded that there isn't an ideal way to measure the FPS of animations. For now, I'll compare changes using the number of unique frames in the recorded videos. In these results, I’ve excluded frames where only the background opacity changes. I believe our primary focus should be on improving the smoothness of the moving modal, as it currently performs the worst. 😓
These results indicate the number of unique frames in each animation. 📊 Research ResultsAfter recording and comparing all the results, I've started investigating the cause of the poor animation performance. I found out that all these components use the I suspect that the Next StepsTo verify my suspicion, I plan to locally replace Possible OutcomesIf my proposed solution does not resolve the issue, I will delve deeper to identify other potential causes. If the solution is effective, there are a few paths we could take:
Your InputIf you have any suggestions or feedback on this matter, please let me know. I'll make sure to give you an update once I have more definitive results or progress to share. Stay tuned! 🔜 |
@shawnborton, @mountiny, @BartoszGrajdek Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
Added a PR fixing the FAB issue here I've tested it in other modals as well and didn't find any regressions. |
Triggered auto assignment to @NicMendonca ( |
@BartoszGrajdek @zfurtak @blazejkustra What are the next steps on this issue? Thanks |
We were waiting for the FAB issue to pass QA tests first before pushing new PRs, but that's done now. We have 3 draft PRs ready for all of the other use cases mentioned in this issue description and after that, I believe we should be prepared to go through each modal type one by one. FYI @blazejkustra will be working on this issue now |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.7-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-03-10. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@blazejkustra i know you busy with the live helpdot project, anyone else able to to help here? |
Problem
Coming from this thread to bring the NewDot on par with other chat platforms, we need to make sure the modal experience feels fast and the animations are smooth without any lags. Right now the most noticeable lag is happening on the bottom drawers that are often used:
Solution
Let's ask the @Expensify/design team if we want to explore some non-linear animation easing for these modals. Later (I would say not in the scope of this project), we could explore the bounce effect too for some of these animations.
cc @BartoszGrajdek
Issue Owner
Current Issue Owner: @NicMendoncaThe text was updated successfully, but these errors were encountered: