-
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
Refactor ReportScreen to improve chat switching #4538
Conversation
|
||
/** Whether or not to show the Compose Input */ | ||
session: PropTypes.shape({ | ||
shouldShowComposeInput: PropTypes.bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB: Why is this nested in session
and not its own prop? Is it because we want to keep track if it in ONXY?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't remember if I did this or if someone else did. But I'm gonna guess it just seemed more convenient than creating a new key to track this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice QOL improvement!
✋ 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 production by @roryabraham in version: 1.0.86-11 🚀
|
Details
This saves about 100ms of time when switching reports and implements a solution to
ReportActionCompose
being slow to render by rendering it only once then re-rendering the Report content instead of the entire view.Fixed Issues (Somewhat related to this closed issue)
#4116
Tests
Android Benchmarks
I tested this PR against Android release builds then compared with the latest
main
report_switch
average onmain
: 627 msreport_switch
average on this branch: 528 msQA Steps
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android
AndroidChatSwitchLatest.mp4