Skip to content
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

[Polish] Make the RHP animations always working on web and they are smooth #20342

Closed
2 tasks
mountiny opened this issue Jun 7, 2023 · 14 comments
Closed
2 tasks
Assignees
Labels
Monthly KSv2 NewFeature Something to build that is a new item. Not a priority Reviewing Has a PR in review

Comments

@mountiny
Copy link
Contributor

mountiny commented Jun 7, 2023

Clean up for the #11768

Problem

Because of using stack navigation for all the pages in the App, when we close a modal we lose the information about the route and what should be rendered so its not easy to animate closing the modal. We are showing or closing the RHP modal abruptly because of that.

Additionally if you navigate to a deeplink RHP like settings/security, we use replace to go up in the stack but those pages are not in the stack yet so animating to them is trickier.

Additionally, thr animations are not smooth at all time which you can see on an attached video here

Screen.Recording.2023-06-07.at.09.46.36.mov

Why is it important

Animations give a better feel to the app and its important to keep the animations consistent

Solution

Lets ensure:

  • we can have the same animation to the RHP modal for any open and close action
  • the animations are performant and smooth
@mountiny mountiny added Daily KSv2 NewFeature Something to build that is a new item. labels Jun 7, 2023
@mountiny mountiny self-assigned this Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

@WoLewicki
Copy link
Contributor

Commenting

@mountiny
Copy link
Contributor Author

Focusing on bugs now

@melvin-bot melvin-bot bot removed the Overdue label Jun 15, 2023
@melvin-bot melvin-bot bot added the Overdue label Jun 26, 2023
@mountiny
Copy link
Contributor Author

@WoLewicki @adamgrzybowski will you or anyone from SWM be able to pick this up as with animations its best to utilize you?

@melvin-bot melvin-bot bot removed the Overdue label Jun 27, 2023
@adamgrzybowski
Copy link
Contributor

I still have some other tasks on my plate. But I could look at this later, or sooner if the priority is high.

@kosmydel
Copy link
Contributor

kosmydel commented Jun 27, 2023

Hi, I will have a try on this task. I'm an external from SWM.
For now, I will focus on animating the entry and exit of RHP, not the smoothness of the animations.

@adamgrzybowski
Copy link
Contributor

Hey, let's wait with this issue as changes related to resizing and remounting would change the implementation. cc: @mountiny @kosmydel

@mountiny
Copy link
Contributor Author

mountiny commented Jul 4, 2023

Exciting!

@melvin-bot melvin-bot bot added the Overdue label Jul 12, 2023
@mountiny mountiny added the Reviewing Has a PR in review label Jul 12, 2023
@melvin-bot melvin-bot bot removed the Overdue label Jul 12, 2023
@mountiny
Copy link
Contributor Author

This is being worked on in the styling PR

@mountiny
Copy link
Contributor Author

On hold for the styling issue still

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Aug 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

This issue has not been updated in over 15 days. @WoLewicki, @mountiny, @MitchExpensify eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@mountiny
Copy link
Contributor Author

There is a PR actively being worked on

@melvin-bot melvin-bot bot closed this as completed Oct 17, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 17, 2023

@WoLewicki, @mountiny, @MitchExpensify, this Monthly task hasn't been acted upon in 6 weeks; closing.

If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

@mountiny
Copy link
Contributor Author

I think this was actually solved in most cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Monthly KSv2 NewFeature Something to build that is a new item. Not a priority Reviewing Has a PR in review
Projects
No open projects
Development

No branches or pull requests

5 participants