-
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
[HOLD for payment 2024-06-06] [$250] RHP - User remains on the Private Notes page when clicked on back btn after reload #40502
Comments
Triggered auto assignment to @mallenexpensify ( |
@mallenexpensify 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.RHP closes when clicking on the back button in the private notes list page What is the root cause of that problem?we use the default navigation behaviour in the private notes list which dismisses the navigation if no route is found in the navigation history
What changes do you think we should make in order to solve the problem?since the back navigation for the private notes history is deterministic and always goes to the report details page then we can specify that behavior in the onBackButtonPress={() => ReportUtils.goBackToDetailsPage(report)} |
ProposalPlease re-state the problem that we are trying to solve in this issue.RHP - User remains on the Private Notes page when clicked on back btn after reload What is the root cause of that problem?Here in the What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~01f0ae1b806ad11050 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
Was able to repro, seems like it can be external, @shubham1206agra , can you review the bug and proposals above? Thx 2024-04-18_15-16-59.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.User remains on the Private Notes page when clicked on back button after page reload. When user clicked on back button again the RHP will be closed What is the root cause of that problem?We always fallback go back to private note list page here
What changes do you think we should make in order to solve the problem?We should use the same check as we do here to go to the private note edit or private note list page. Lines 5622 to 5628 in 68e6962
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.RHP - User remains on the Private Notes page when clicked on back btn after reload What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?The page is used on many details page, the back button should be general not specific. As we do on
We should use - onBackButtonPress={() => Navigation.goBack(ROUTES.PRIVATE_NOTES_LIST.getRoute(report.reportID))}
+ onBackButtonPress={() => Navigation.goBack(ROUTES.REPORT_WITH_ID_DETAILS.getRoute(report.reportID))} Note using POC: 20240419_113926.mp4 |
@shubham1206agra plz review proposals above, thx. |
Please re-state the problem that we are trying to solve in this issue.RHP - User remains on the Private Notes page when clicked on back btn after reload What is the root cause of that problem?The user remains on the Private Notes page when clicking the back button after a page reload. Subsequently, clicking the back button again results in the Right Hand Pane (RHP) being closed instead of navigating to the expected profile page. The reason for this behavior is that the PrivateNotesEditPage component is incorrectly navigating back to ROUTES.PRIVATE_NOTES_LIST when the back button is pressed. However, the intended behavior is to navigate back to the profile page (ROUTES.PROFILE). What changes do you think we should make in order to solve the problem?add variable Replace the existing navigation code:
With the updated navigation code to navigate to the profile page: video:-https://drive.google.com/file/d/1YeP1T1ycClNsbVIoWxO9PXRDz6rtRfxw/view?usp=sharing |
Well, I am going to go ahead with @nkdengineer's proposal with one side note, i.e., we should use a modified version of 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @mountiny, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@shubham1206agra @mountiny Are you sure that whenever |
@shubham1206agra thank you for your review. I feel that my proposal is simple and effective. When you have time, can you pls share your opinion about t it? Thank you for your time. |
This issue has not been updated in over 15 days. @mallenexpensify, @mountiny, @shubham1206agra, @nkdengineer eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Seems to have gone a bit stale but... we're in a merge freeze now so the PR should be deployed soon |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-06. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@mallenexpensify, @mountiny, @shubham1206agra, @nkdengineer Eep! 4 days overdue now. Issues have feelings too... |
Contributor: @nkdengineer paid $250 via Upwork @shubham1206agra , can you please accept the job and reply here once you have? @shubham1206agra can you also fill out the BZ checklist? Thx Sorry I missed this (not sure how) |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@mallenexpensify, @mountiny, @shubham1206agra, @nkdengineer Eep! 4 days overdue now. Issues have feelings too... |
@mallenexpensify, @mountiny, @shubham1206agra, @nkdengineer 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@mallenexpensify I think we can process payment now and then we can close this issue. |
@mallenexpensify, @mountiny, @shubham1206agra, @nkdengineer 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
Closing, everyone's paid. I created a TestRail GH too |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
User should be redirected to Profile page when clicked back button
Actual Result:
User remains on the Private Notes page when clicked on back button after page reload. When user clicked on back button again the RHP will be closed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6454034_1713463346120.Screen_Recording_2024-04-18_at_20.55.17.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @shubham1206agraThe text was updated successfully, but these errors were encountered: