-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Search v2.1] Android & iOS - Search icon is not responsive after returning to LHN from thread #48990
[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 |
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.
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 :) |
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.
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.
LGTM
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; |
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.
Details
This PR adds an additional if statement to the
getStateForAction
inCustomRouter
that handles going back to the search RHP from the chat section. In this case the Home screen is removed from theBottomTabNavigator
to display the correct page under RHP.Fixed Issues
$ #48882
PROPOSAL:
Tests
Offline tests
QA Steps
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
Screen.Recording.2024-09-11.at.15.44.39.mp4
iOS: Native
Screen.Recording.2024-09-11.at.15.47.32.mov