Repository navigation
[CP Staging] Fix: iOS - Thread - Unable to send a message after returning from thread - ParentNavigationSubtitle - Update navigation method to go back instead of navigate - #40315
Conversation
…ead - ParentNavigationSubtitle - Update navigation method to go back instead of navigate
|
@hungvu193 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
Bug: if you tap profile photo before going back the user can’t send a message
steps:
- Go to a DM
- Send a message
- Create a thread and reply to the message in thread
- Tap on profile photo to open the user’s profile details
- Tap back
- Click on header subtitle
- Go back. You’re not at root level thread
- Try to send a message. But you can’t
Screen.Recording.2024-04-17.at.02.56.39.mov
rushatgabhane
left a comment
There was a problem hiding this comment.
@rayane-djouah the workaround isn't working. The bug (with navigate to profile) is still reproducible
Screen.Recording.2024-04-17.at.15.22.17.mov
|
@rushatgabhane, I'm unable to reproduce with the same steps. Am I missing something? Recording.2024-04-17.111039.mp4 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-04-17.at.16.03.18.movAndroid: mWeb ChromeUploading Screen Recording 2024-04-17 at 16.07.24.mov… iOS: NativeScreen.Recording.2024-04-17.at.15.49.11.movScreen.Recording.2024-04-17.at.15.55.04.moviOS: mWeb SafariScreen.Recording.2024-04-17.at.16.02.14.movMacOS: Chrome / SafariScreen.Recording.2024-04-17.at.15.58.16.movMacOS: Desktop |
mountiny
left a comment
There was a problem hiding this comment.
Thanks! lets still dig into this one to figure out the root cause as this feels like a workaround
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…cestry-to-deep-link-back-to-the-original-comment [CP Staging] Fix: iOS - Thread - Unable to send a message after returning from thread - ParentNavigationSubtitle - Update navigation method to go back instead of navigate (cherry picked from commit 5c43aa5)
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.4.62-14 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.62-17 🚀
|
| // Pop the thread report screen before navigating to the chat report. | ||
| Navigation.goBack(ROUTES.REPORT_WITH_ID.getRoute(parentReportID)); | ||
| if (isVisibleAction && !isOffline) { | ||
| // Pop the chat report screen before navigating to the linked report action. | ||
| Navigation.goBack(ROUTES.REPORT_WITH_ID.getRoute(parentReportID, parentReportActionID)); |
There was a problem hiding this comment.
This change was not implemented correctly, it caused #54574, but @rayane-d helped us a lot to test the changes thoroughly by giving us a complete list of tests #54574 (comment)
cc @rushatgabhane @marcaaron
Details
Fixed Issues
$ #40057
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as tests
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 and/or tagged@Expensify/designso 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
Recording.2024-04-16.221248.mp4
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop