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] mweb/Chrome - Expense - App returns to LHN when tapping back button after refreshing request page #35084

Closed
1 of 6 tasks
lanitochka17 opened this issue Jan 24, 2024 · 25 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering 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

@lanitochka17
Copy link

lanitochka17 commented Jan 24, 2024

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.31-2
Reproducible in staging?: Y
Reproducible in production?: Y
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Issue found when executing PR #34236

Action Performed:

  1. Go to workspace chat
  2. Create a manual request
  3. Go to request details page
  4. Refresh the page
  5. Tap on the back button

Expected Result:

App returns to expense report

Actual Result:

App returns to LHN

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6353492_1706117862008.1000009580.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0183615511eed125fe
  • Upwork Job ID: 1750220362340155392
  • Last Price Increase: 2024-02-14
@lanitochka17 lanitochka17 added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 24, 2024
Copy link

melvin-bot bot commented Jan 24, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0183615511eed125fe

@melvin-bot melvin-bot bot changed the title mweb/Chrome - Expense - App returns to LHN when tapping back button after refreshing request page [$500] mweb/Chrome - Expense - App returns to LHN when tapping back button after refreshing request page Jan 24, 2024
Copy link

melvin-bot bot commented Jan 24, 2024

Triggered auto assignment to @NicMendonca (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 24, 2024
Copy link

melvin-bot bot commented Jan 24, 2024

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

@FitseTLT
Copy link
Contributor

FitseTLT commented Jan 24, 2024

Proposal

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

Expense - App returns to LHN when tapping back button after refreshing request page

What is the root cause of that problem?

It is because ROUTES.HOME is our fallback here

onBackButtonPress={() => Navigation.goBack(ROUTES.HOME, false, true)}
/>

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

We should give the parentReport route as a fallback

                    onBackButtonPress={() => Navigation.goBack(ROUTES.REPORT_WITH_ID.getRoute(parentReport.reportID), false, true)}

What alternative solutions did you explore? (Optional)

@parasharrajat
Copy link
Member

Hmm! These kinds of issues are always a headache.

@FitseTLT Can you try playing around with different ways of navigation and see what is expected from this button in those cases.

It would be great if you can present that list here.

@FitseTLT
Copy link
Contributor

FitseTLT commented Jan 24, 2024

different ways of navigation

????

@parasharrajat
Copy link
Member

Try navigating to expense reports in different ways.

  1. Directly via URL.
  2. On Large screens Web.
  3. ON smaller screens.
  4. Via deeplink.

etc.

@FitseTLT
Copy link
Contributor

  1. Directly via URL - It should go back to the parent report
  2. On Large screens Web - It doesn't display so no worries here
  3. ON smaller screens - It applies to small screens only 👍
  4. Via deeplink ( I assume the link was a message on another report chat) - it should go back to the original report from which the link was clicked.

The only odd case is (4). If we should consider achieving that we need to pass as a fallback route the previous screen/route and if it doesn't exist (in the case of refreshing the page ) we will fallback to the parent report.

@parasharrajat
Copy link
Member

I feel like this is something that we should discuss on Slack.

@melvin-bot melvin-bot bot added the Overdue label Jan 29, 2024
@NicMendonca
Copy link
Contributor

@parasharrajat have you started that discussion yet? Can you link the thread here? Thanks!

@melvin-bot melvin-bot bot removed the Overdue label Jan 29, 2024
Copy link

melvin-bot bot commented Jan 31, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@NicMendonca
Copy link
Contributor

bump @parasharrajat!

@NicMendonca NicMendonca removed the Bug Something is broken. Auto assigns a BugZero manager. label Jan 31, 2024
@NicMendonca NicMendonca removed their assignment Jan 31, 2024
@NicMendonca NicMendonca added the Bug Something is broken. Auto assigns a BugZero manager. label Jan 31, 2024
Copy link

melvin-bot bot commented Jan 31, 2024

Triggered auto assignment to @sonialiap (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@NicMendonca
Copy link
Contributor

Starting leave so re-assigning!

@melvin-bot melvin-bot bot added the Overdue label Feb 5, 2024
Copy link

melvin-bot bot commented Feb 6, 2024

@sonialiap, @parasharrajat Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Feb 7, 2024

@sonialiap @parasharrajat this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

Copy link

melvin-bot bot commented Feb 7, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Copy link

melvin-bot bot commented Feb 8, 2024

@sonialiap, @parasharrajat 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@ishpaul777
Copy link
Contributor

I can take over while @parasharrajat is unavailable https://expensify.slack.com/archives/C02NK2DQWUX/p1707413964286239

@parasharrajat parasharrajat removed their assignment Feb 8, 2024
@melvin-bot melvin-bot bot removed the Overdue label Feb 8, 2024
@ishpaul777
Copy link
Contributor

I think we should hold for #36050, maybe this PR resolves the issue

@melvin-bot melvin-bot bot added the Overdue label Feb 12, 2024
Copy link

melvin-bot bot commented Feb 12, 2024

@sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented Feb 14, 2024

@sonialiap this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

Copy link

melvin-bot bot commented Feb 14, 2024

@sonialiap Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Feb 14, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@sonialiap
Copy link
Contributor

I cannot reproduce. I think #36050 may have solved this. Please reopen if you can reproduce

@melvin-bot melvin-bot bot removed the Overdue label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering 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

6 participants