You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] Private Note - "hmm... it's not here" page is shown when reloading in Private Notes #30211
changed the title [-]Private Note - "hmm... it's not here" page is shown when reloading in Private Notes[/-][+][$500] Private Note - "hmm... it's not here" page is shown when reloading in Private Notes[/+]on Oct 23, 2023
Please re-state the problem that we are trying to solve in this issue.
When opening a specific private note and reloading, pressing back triggers a 404.
What is the root cause of that problem?
While on other similar routes a goBack url parameter is utilized to ensure that this specific issue doesn't happen in modals, in this one there is no goBack parameter.
When the Navigation.goBack function is triggered on the private notes edit page, it calls: Navigation.goBack(ROUTES.PRIVATE_NOTES_VIEW.getRoute(report.reportID, route.params.accountID));
But because it is a modal, there is no report defined. Other modals use the goBack parameter for this very reason.
What changes do you think we should make in order to solve the problem?
Add a back to parameter in the private notes view routing. This would also entail passing the proper report ID to the backTo parameter when calling getRoute on the private notes view.
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!
Activity
c3024 commentedon Oct 23, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Reloading the private notes edit page and clicking on back icon shows not found page.
What is the root cause of that problem?
We have a typo here for
reportIDApp/src/pages/PrivateNotes/PrivateNotesEditPage.js
Line 134 in e968637
What changes do you think we should make in order to solve the problem?
Fix the typo and change that to
reportIDWhat alternative solutions did you explore? (Optional)
Result
reportIDTypo.mov
[-]Private Note - "hmm... it's not here" page is shown when reloading in Private Notes[/-][+][$500] Private Note - "hmm... it's not here" page is shown when reloading in Private Notes[/+]melvin-bot commentedon Oct 23, 2023
Job added to Upwork: https://www.upwork.com/jobs/~018db0726a7be74290
melvin-bot commentedon Oct 23, 2023
Triggered auto assignment to @lschurr (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 23, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Oct 23, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (
External)graylewis commentedon Oct 23, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
When opening a specific private note and reloading, pressing back triggers a 404.
What is the root cause of that problem?
While on other similar routes a goBack url parameter is utilized to ensure that this specific issue doesn't happen in modals, in this one there is no goBack parameter.
When the Navigation.goBack function is triggered on the private notes edit page, it calls:
Navigation.goBack(ROUTES.PRIVATE_NOTES_VIEW.getRoute(report.reportID, route.params.accountID));But because it is a modal, there is no report defined. Other modals use the goBack parameter for this very reason.
The private notes view routing:
The currency request edit view routing:
What changes do you think we should make in order to solve the problem?
Add a back to parameter in the private notes view routing. This would also entail passing the proper report ID to the backTo parameter when calling getRoute on the private notes view.
lschurr commentedon Oct 26, 2023
@aimane-chnaif could you review the proposal here?
17 remaining items
melvin-bot commentedon Nov 1, 2023
📣 @daveSeife 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
melvin-bot commentedon Nov 27, 2023
This issue has not been updated in over 15 days. @chiragsalian, @lschurr, @aimane-chnaif, @c3024 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!
aimane-chnaif commentedon Nov 27, 2023
PR was deployed on Nov 9.
Automation seems broken.
@lschurr can you please remove
Reviewingand replaceMonthlywithDaily?lschurr commentedon Dec 8, 2023
Looks like the automation didn't work for this one. I'll review today.
lschurr commentedon Dec 8, 2023
Payment summary:
lschurr commentedon Dec 8, 2023
All are paid in Upwork. Closing.