-
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
fix: unsub userIsTyping event on report screen unmount #43542
Conversation
Signed-off-by: dominictb <tb-dominic@outlook.com>
Signed-off-by: dominictb <tb-dominic@outlook.com>
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.
@dominictb Personally, I feel like addition of useReportPusherEventSubscription
is a bit of over-engineering for this case. Can you revert and let's just stick with a simpler solution? Thanks!
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-06-11_16.34.23.mp4Android: mWeb Chromeandroid-chrome-2024-06-11_16.38.27.mp4iOS: Nativeios-app-2024-06-11_16.55.19.mp4iOS: mWeb Safariios-safari-2024-06-11_16.58.13.mp4MacOS: Chrome / Safaridesktop-chrome-2024-06-11_15.56.44.mp4MacOS: Desktopdesktop-app-2024-06-11_16.15.57.mp4 |
@jjcoffee alright then, gimme sometime |
This reverts commit 8ff0eff.
Signed-off-by: dominictb <tb-dominic@outlook.com>
done! |
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.
Thanks, LGTM!
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.
Re-approving to get the test to re-run!
@roryabraham Friendly bump for your review on this 🙏 |
Sorry for the delay, looks good 👍🏼 |
✋ 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 staging by https://github.com/roryabraham in version: 9.0.2-0 🚀
|
@jjcoffee @roryabraham I don't think we can debug the logs per PR steps. Can this be verified internally? |
@kbecciv Oh I'm sorry, we should've made the QA instructions clearer! You need to enable the "Verbose" option in Chrome DevTools, by tapping the down arrow next to "Default levels". That way you'll see the full logs. Here's my results from testing on latest staging: desktop-chrome-2024-06-26_11.11.39.mp4 |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
Fixed Issues
$ #43089
PROPOSAL: #43089 (comment)
Tests
Verify: In the debug log we have these 3 log lines after exit from a chat report
i.e: all pusher event subscription has been cancelled after report screen is unmounted
Offline tests
QA Steps
Verify: In the debug log we have these 3 log lines indicating event unsubscription after exit from a chat report
i.e: all pusher event subscription has been cancelled after report screen is unmounted
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop