-
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 LHN shows Not found when navigated from global create menu or report parent navigation link #43086
Fix LHN shows Not found when navigated from global create menu or report parent navigation link #43086
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: Native43086-android.mp4Android: mWeb Chrome43086-androidmWeb.mp4iOS: Native43086-iOS.mp4iOS: mWeb Safari43086-iOSmWeb.mp4MacOS: Chrome / Safari43086-webChrome.mp4MacOS: Desktop43086-desktop.mp4 |
I notice another small issue. After performing the test step, you can notice the chat icon in the bottom tab isn't highlighted. It's because if the topmost central pane is the search page, we return the search page as the current tab name. App/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx Lines 58 to 66 in 3c04b02
I haven't checked further the reason behind it, but I think the current tab name should only depend on the topmost bottom tab. |
Also, for some reason, when I testing on other platforms other than web, the search type returned from the BE is Line 93 in 3c04b02
Lines 38 to 41 in 3c04b02
which doesn't exist on the search data type CONST, so the type is undefined and the list is empty/blank. Lines 4802 to 4805 in 3c04b02
I manually add |
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
@c3024 did you notice this as well? |
This |
I don't see it on MacOS Chrome. chatIconFilled.mp4 |
@c3024 it's only on the small screen |
I do see this issue on small screens. I think it's small enough that we could tackle as a follow up. @bernhardoj would you be able to investigate that and work on a fix please?
Yea, this is expected for now. Should be fixed later today |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Hey, I'm struggling to locate a regression where opening users comment on a new MoneyReport, then 'Reply in Thread' and try to tap the blue This is one of a few PRs that seem either a cause or just related. If you have any thoughts or suggestions, please let me know. |
I confirmed above that reverting this PR doesn't solve the issue. |
Thanks for testing |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.81-11 🚀
|
|
||
// If we navigate to SCREENS.SEARCH.CENTRAL_PANE, it's necessary to pass the current policyID, but we have to remember that this param is called policyIDs on this page | ||
if (action.payload.params?.screen === SCREENS.SEARCH.CENTRAL_PANE && action.payload?.params?.params && policyID) { | ||
action.payload.params.params.policyIDs = policyID; | ||
} | ||
|
||
// If the type is UP, we deeplinked into one of the RHP flows and we want to replace the current screen with the previous one in the flow | ||
// and at the same time we want the back button to go to the page we were before the deeplink | ||
} else if (type === CONST.NAVIGATION.TYPE.UP) { |
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.
Came from this issue
We have specific case when navigation will replace the last route with the target report which is the expense report and the stack navigator becomes Bottom tab bar --> Chat report --> Expense report --> Expense report.
As result App returns to the same expense report when tapping back button
Details
Navigating from global create (FAB) or from report parent navigation link while in search page shows not found in LHN.
Fixed Issues
$ #42995
PROPOSAL: #42995 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
A.
B.
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-06-05.at.10.19.13.mov
Android: mWeb Chrome
Screen.Recording.2024-06-05.at.10.09.42.mov
iOS: Native
Screen.Recording.2024-06-05.at.10.18.07.mov
iOS: mWeb Safari
Screen.Recording.2024-06-05.at.10.04.13.mov
MacOS: Chrome / Safari
Screen.Recording.2024-06-05.at.09.50.53.mov
Screen.Recording.2024-06-05.at.09.51.52.mov
MacOS: Desktop
Screen.Recording.2024-06-05.at.10.00.39.1.mov