fix: re-join thread after leaving thread and returning with back button - #38027
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-03-14_12.36.38.mp4Android: mWeb Chromeandroid-chrome-2024-03-14_12.39.53.mp4iOS: Nativeios-app-2024-03-14_12.28.31.mp4iOS: mWeb Safariios-safari-2024-03-14_12.29.22.mp4MacOS: Chrome / Safaridesktop-chrome-2024-03-11_12.24.31.mp4MacOS: Desktopdesktop-app-2024-03-14_12.26.27.mp4 |
| // eslint-disable-next-line react-hooks/exhaustive-deps | ||
| }, []); | ||
|
|
||
| useEffect(() => { |
There was a problem hiding this comment.
Let's add a brief comment to explain why this is needed.
Curious about this point you made in your proposal. Is there any downside to adding it? I'm seeing that if we don't rejoin the thread, the |
|
Ah actually I think this might already be fixed on main. |
|
@dukenv0307 Can you confirm if there's any need for the changes in this PR? |
@jjcoffee I still reproduce this in main Screen.Recording.2024-03-14.at.17.16.27.mov |
|
@jjcoffee I just updated code, please check again |
@dukenv0307 Huh, weird it's not working again for me on main! Will review this now. |
Co-authored-by: Joel Davies <joeld.dev@gmail.com>
Co-authored-by: Joel Davies <joeld.dev@gmail.com>
|
✋ 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/MariaHCD in version: 1.4.53-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.53-2 🚀
|
Details
Fixed Issues
$ #37612
PROPOSAL: #37612 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
android-mweb.mov
iOS: Native
ios-resize.mp4
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov