Skip to content
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

[$500] Dev: Web - Click on back button close the RHP instead of opening Details page #27598

Closed
1 of 6 tasks
kbecciv opened this issue Sep 16, 2023 · 6 comments
Closed
1 of 6 tasks
Assignees
Labels
Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Sep 16, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Go to #admins >Private notes
  2. Reload the page
  3. Click on back icon

Expected Result:

It should navigates to Details page

Actual Result:

Close the RHP

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: Dev 1.3.70.5
Reproducible in staging?: n
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Screen.Recording.2023-09-15.at.8.02.04.PM.mov

Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694788314587129

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013c7fb2a8b63fc0bf
  • Upwork Job ID: 1703126966989799424
  • Last Price Increase: 2023-09-16
@kbecciv kbecciv added the External Added to denote the issue can be worked on by a contributor label Sep 16, 2023
@melvin-bot melvin-bot bot changed the title Dev: Web - Click on back button close the RHP instead of opening Details page [$500] Dev: Web - Click on back button close the RHP instead of opening Details page Sep 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 16, 2023

Job added to Upwork: https://www.upwork.com/jobs/~013c7fb2a8b63fc0bf

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 16, 2023

Triggered auto assignment to @trjExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot melvin-bot bot added the Daily KSv2 label Sep 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 16, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

@hungvu193
Copy link
Contributor

hungvu193 commented Sep 17, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

Dev: Web - Click on back button close the RHP instead of opening Details page with the case we reload the PrivateNoteListPage.

What is the root cause of that problem?

We don't define a fallback route for it here:

onBackButtonPress={() => Navigation.goBack()}

So when we reload the page, it will go back to the previous stack and it's RHN.

What changes do you think we should make in order to solve the problem?

We should define a fallback route for our onBackButtonPress funtion:

onBackButtonPress={() => Navigation.goBack(ROUTES.getReportDetailsRoute(report.reportID))}

We can also add the fallback route for other onBackButtonPress of other PrivateNotesPages (details, edit...etc..)

What alternative solutions did you explore? (Optional)

N/A

@situchan
Copy link
Contributor

Dupe of #22041

@trjExpensify
Copy link
Contributor

Yup, agree with that. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

5 participants