-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Switching between reports (chats) show the previous reports briefly. #2154
Comments
I would like to work on this: ProposalAdd loading state in
|
Thanks for this report. I think a better fix would be to separate out the ChatList and Chat pages (currently we treat the ChatList as an overlapping menu for the Chat page). |
As long as the loading is handled inside I don't think ChatList and Chat can be easily separated. I thought the ChatList can move to a separate route in the nav stack, but on web/desktop these two components need to be rendered together. The easiest and common solution to achieve this is exactly as current configuration with a sidebar/drawer Even if they are separate they would still be both mounted as the ChartList would naturally come lower in the stack than Chat - you first need to select a chat from the list then move to that chat, which means that the list becomes the previous view in the stack and stays mounted |
For what it's worth, I have tried many configurations and not yet found a clear way to achieve this. While there are some existing problems with the drawer navigator pattern I think it might be best for the design we have. Open to suggestions for how to get something like a pure stack navigator working with the desktop layout, but it may come with its own set of challenges to be sure. @kidroca So we will wait for the reportID to change then initiate a loader until a small set of actions is loaded? Sounds good. We may also need to perform similar checks in the header as it's a separate component. |
My initial idea was to address this progressively without changing much of the code. And render a "loading header" and a "loading report" components A solution with less changes would be to render an abs positioned fullscreen loader so that it covers the header as well. (It can still show some sort of a loading header and a main indicator in the middle like in the video example above). The implementation also relies on the design of the loader though... |
Triggered auto assignment to @marklouisdeshaun ( |
@marklouisdeshaun this has been triaged already so we just need an Upwork job created |
Oh that's interesting. Not really how I imagined it would work though. Probably we should show loaders for any components that are "reloading" in response to the change in props. Implementing this in the Let us know if you want to address this now. I think it's OK to start with a minimal solution. It can always be moved to a mounting lifecycle later if the design changes. |
Yes, I would like to work on this. I'm finishing my other ticket and I have available time The "big" solution might not be so big - I'll get a better estimate when I start working on this. If it turns out it doesn't need much changes - it's easy to review and test I can address it here |
@marklouisdeshaun For example my other ticket did receive a bonus #2109 |
Apologies, we're still working out how to keep track of bonus payments. Please continue to point out anything that is missed! Are you currently working on another UpWork issue? |
Not currently (but hopefully soon). I have one more Expensify job in Upwork that's pending payment - waiting for the regression time to pass |
Great. Can you let me know which issue is pending payment please, and I'll make a note on it that we should payout the missing bonus as part of that UpWork task. |
Thank you very much! It's this one #2325 |
FYI, I've left a note on our internal issue here that we should pay an additional bonus when completing this outstanding Upwork Contract So this ^ should be taken care of soon. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Expected Result:
Switching chats should transition smoothly between existing chats
Actual Result:
When you open a different chat you can briefly see the old chat opened. Then new content abruptly replaces it
Action Performed:
Workaround:
Not needed. The app still functions
Platform:
Where is this issue occurring?
[x] Web
[x] iOS
[x] Android
[x] Desktop App
[x] Mobile Web
The issue occurs most notably on mobile platforms
Version Number: [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
2021-03-29.12-45-06.mp4
The text was updated successfully, but these errors were encountered: