-
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
[HOLD for payment 2024-07-22][$125] mWeb - IOU - Clicking back from expense title edit page after a refresh takes to LHN #41017
Comments
Triggered auto assignment to @roryabraham ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@roryabraham FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
Job added to Upwork: https://www.upwork.com/jobs/~011da57b8f26d630ba |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
Upwork job price has been updated to $125 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Refreshing the page on expense title exit page and pressing back leads to LHN What is the root cause of that problem?We do not have App/src/pages/EditReportFieldPage.tsx Lines 110 to 115 in 6acc903
The default fallback is
What changes do you think we should make in order to solve the problem?We need to define <HeaderWithBackButton
title={fieldName}
threeDotsMenuItems={menuItems}
shouldShowThreeDotsButton={!!menuItems?.length}
threeDotsAnchorPosition={styles.threeDotsPopoverOffsetNoCloseButton(windowWidth)}
onBackButtonPress={() => Navigation.dismissModalWithReport(report)}
/>
Or we can simply use `dismissModal` instead we need to pass reportID there What alternative solutions did you explore? (Optional) |
Refreshing the page on expense title exit page and pressing back leads to LHN The Navigation.dismissModalWithReport solution seems really good as it goes indepth . The Navigation.dismissModal dismisses the modal by identifying the modal to be dismissed using a reportID. This suggests a simpler approach where the modal's identity is determined solely by its ID, without the need for additional context or information. The choice between Navigation.dismissModalWithReport(report) and Navigation.dismissModal(reportID) depends on the specific requirements of this application. If you need to perform additional actions or checks before dismissing the modal, dismissModalWithReport(report) might be the better choice. If your dismissal logic is straightforward and only requires the modal's ID, dismissModal(reportID) could be more suitable. I also explored other options like using a Global Modal State Management to manage the visibility of modals globally. This approach allows you to control the modal's visibility from anywhere in your application, making it easier to dismiss the modal in response to various events, not just the back button press. |
📣 @CK-codemax! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@roryabraham, @ishpaul777 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Hey i was OOO past few days and have a few pending issues will get to this one real soon, sorry for delay |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
on my list! will priortixe ASAP |
I feel this would be a safe assumption 👍 Lets roll with @dominictb Proposal 🎀 👀 🎀 |
Current assignee @roryabraham is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Great, @dominictb we look forward to reviewing your PR! |
Seems like the PR is on production already @roryabraham? Shall we have the |
Triggered auto assignment to @dylanexpensify ( |
Yep, sorry about that. |
not overdue |
@roryabraham, @dylanexpensify, @ishpaul777, @dominictb Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Payment summary:
Please apply/request! |
Done! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.66-0
Reproducible in staging?: Y
Reproducible in production?: N
**If this was caught during regression testing, add the test name, ID and link from TestRail:**N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #40704
Action Performed:
Expected Result:
App takes user back to the expense report page
Actual Result:
App takes user to the LHN
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6461799_1714061912067.Screen_Recording_20240425_191539_Chrome.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dylanexpensifyThe text was updated successfully, but these errors were encountered: