[Search v2.1] Android & iOS - Search icon is not responsive after returning to LHN from thread#48990
Conversation
|
@DylanDylann 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-13.at.12.30.16.AM.movAndroid: mWeb ChromeScreen.Recording.2024-09-18.at.10.13.25.PM.moviOS: NativeScreen.Recording.2024-09-13.at.12.40.52.AM.movScreen.Recording.2024-09-18.at.9.48.22.PM.moviOS: mWeb SafariScreen.Recording.2024-09-13.at.12.46.44.AM.movScreen.Recording.2024-09-18.at.10.05.10.PM.movMacOS: Chrome / SafariScreen.Recording.2024-09-18.at.10.08.04.PM.movMacOS: DesktopScreen.Recording.2024-09-18.at.10.20.33.PM.mov |
|
works well on Native platforms, but we have a bug on Web 👇 Navigate to parent mesage from search then navigate to thread then go back, LHN shows Notfound view Screen.Recording.2024-09-13.at.12.50.21.AM.mov |
|
@WojtekBoman could you please take a look at the bug above? |
|
Bug: Navigating back using app button opens report again instead of search [Mweb]
Result: It does not navigate back to search Screen.Recording.2024-09-13.at.1.18.48.AM.mov |
luacmartins
left a comment
There was a problem hiding this comment.
Seems like we need to address this bug
|
gentle bump @WojtekBoman |
|
Hey, this bug has been fixed - #48990 (comment). This issue is present also on the main branch. This is how it looks on web: Screen.Recording.2024-09-18.at.15.05.36.mp4These screens are different, the first one is displayed in RHP, the second one is in wide layout, while on small screens they are displayed in the same way and it's the cause of this bug. Can we address it in a separate issue? cc: @adamgrzybowski |
|
I think there's already some work in progress to migrate withOnyx to useOnyx in this PR #49185, I think we should not touch that |
5746d0c to
83ccc2e
Compare
Ok, I've reverted these changes :) |
|
ESLint errors are unrelated to this PR. |
|
@luacmartins looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ 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/luacmartins in version: 9.0.39-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.39-5 🚀
|
| state.routes?.length >= 3 && | ||
| state.routes.at(-1)?.name === SCREENS.REPORT && | ||
| state.routes.at(-2)?.name === NAVIGATORS.RIGHT_MODAL_NAVIGATOR && | ||
| getTopmostBottomTabRoute(state)?.name === SCREENS.HOME; |
Details
This PR adds an additional if statement to the
getStateForActioninCustomRouterthat handles going back to the search RHP from the chat section. In this case the Home screen is removed from theBottomTabNavigatorto display the correct page under RHP.Fixed Issues
$ #48882
PROPOSAL:
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 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
Android: Native
Screen.Recording.2024-09-11.at.15.44.39.mp4
iOS: Native
Screen.Recording.2024-09-11.at.15.47.32.mov