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

[$1000] Web - Settings - Unwanted behaviour when click on browser back button after clicking the report a bug #25412

Closed
1 of 6 tasks
izarutskaya opened this issue Aug 17, 2023 · 24 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. 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

@izarutskaya
Copy link

izarutskaya commented Aug 17, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. open the settings and go to about.
  2. click on the report a bug, it goes to the concierge composer
  3. Now, Click on the browser back button.
  4. see the transitions occuring unpleasant to initial settings or about screen

Expected Result:

Either it should have only one transition to initial settings or about screen.

Actual Result:

it is giving the unpleasant transitions to initial settings or about screen

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: v1.3.55-1

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

Notes/Photos/Videos: Any additional supporting documentation

78862243032871902752023-08-04_00-32-06.MP4
Recording.5890.mp4

Expensify/Expensify Issue URL:

Issue reported by: @immadisetty-jaya-surya

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691135024865169

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c4a8c2a8b4824bff
  • Upwork Job ID: 1692655236084695040
  • Last Price Increase: 2023-08-25
@izarutskaya izarutskaya added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 17, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 17, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 17, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@ShogunFire
Copy link
Contributor

ShogunFire commented Aug 17, 2023

Proposal

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

When we click on report a bug and browser back button the transition is weird

What is the root cause of that problem?

We are not dismissing the about page from the stack when we go to the concierge chat here:

action: Report.navigateToConciergeChat,

So when we click on the go back button it shows the about page briefly before going to the settings page

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

We should use Navigation.dismissModal before navigating to concierge chat like this:

      translationKey: 'initialSettingsPage.aboutPage.reportABug',
      icon: Expensicons.Bug,
      action: () => {
          Navigation.dismissModal();
          Report.navigateToConciergeChat();
      },

Result:

2023-08-17.10-53-01.mp4

What alternative solutions did you explore? (Optional)

@garrettmknight garrettmknight added the External Added to denote the issue can be worked on by a contributor label Aug 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 18, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01c4a8c2a8b4824bff

@melvin-bot melvin-bot bot changed the title Web - Settings - Unwanted behaviour when click on browser back button after clicking the report a bug [$1000] Web - Settings - Unwanted behaviour when click on browser back button after clicking the report a bug Aug 18, 2023
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 18, 2023

Current assignee @garrettmknight is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Aug 18, 2023

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

@garrettmknight
Copy link
Contributor

Agreed that this looks like it should only pull up one menu and ideally the 'About' menu.

@immadisetty-jaya-surya
Copy link

@garrettmknight I have reported this issue, please update my username in the description so melvin can do automation, thanks

@robertKozik
Copy link
Contributor

Hey @ShogunFire can you update your proposal per @garrettmknight comment ? So the about page would be available after the back action

@ShogunFire
Copy link
Contributor

Actually after reading the slack conversation this issue like others should have been tagged with [Tracking Browser back button] and it should be resolved by this PR #24165

I can't apply the patches so I still have the error but can someone try to reproduce after the patch ?

@shubham1206agra
Copy link
Contributor

Hello everyone
Temp logs

{
    "index": 1,
    "indexGetter": 1,
    "items": [
        {
            "path": "/r/1705808921226559",
            "id": "8hugcF4Du91dOHzCvk6-l",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "selected": "<<<<<<<",
            "path": "/settings",
            "id": "OGJAC-QkjFmJLEzjNjci6",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        }
    ]
}
createMemoryHistory.js:7 {
    "index": 2,
    "indexGetter": 2,
    "items": [
        {
            "path": "/r/1705808921226559",
            "id": "8hugcF4Du91dOHzCvk6-l",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/settings",
            "id": "OGJAC-QkjFmJLEzjNjci6",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "selected": "<<<<<<<",
            "path": "/settings/about",
            "id": "dVlBM7I6DvSCwR2sv5eeY",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        }
    ]
}
createMemoryHistory.js:7 {
    "index": 3,
    "indexGetter": 3,
    "items": [
        {
            "path": "/r/1705808921226559",
            "id": "8hugcF4Du91dOHzCvk6-l",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/settings",
            "id": "OGJAC-QkjFmJLEzjNjci6",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/settings/about",
            "id": "dVlBM7I6DvSCwR2sv5eeY",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "selected": "<<<<<<<",
            "path": "/r/7323501660300024",
            "id": "GhiTr-GpHH6SW8lA25iqS",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        }
    ]
}
createMemoryHistory.js:7 {
    "index": 3,
    "indexGetter": 3,
    "items": [
        {
            "path": "/r/1705808921226559",
            "id": "8hugcF4Du91dOHzCvk6-l",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/settings",
            "id": "OGJAC-QkjFmJLEzjNjci6",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/settings/about",
            "id": "dVlBM7I6DvSCwR2sv5eeY",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "selected": "<<<<<<<",
            "path": "/r/7323501660300024",
            "id": "GhiTr-GpHH6SW8lA25iqS",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        }
    ]
}
createMemoryHistory.js:7 {
    "index": 2,
    "indexGetter": 2,
    "items": [
        {
            "path": "/r/1705808921226559",
            "id": "8hugcF4Du91dOHzCvk6-l",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/settings",
            "id": "OGJAC-QkjFmJLEzjNjci6",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "selected": "<<<<<<<",
            "path": "/settings/about",
            "id": "dVlBM7I6DvSCwR2sv5eeY",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/r/7323501660300024",
            "id": "GhiTr-GpHH6SW8lA25iqS",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        }
    ]
}
createMemoryHistory.js:7 {
    "index": 2,
    "indexGetter": 2,
    "items": [
        {
            "path": "/r/1705808921226559",
            "id": "8hugcF4Du91dOHzCvk6-l",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/settings",
            "id": "OGJAC-QkjFmJLEzjNjci6",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "selected": "<<<<<<<",
            "path": "/settings/about",
            "id": "dVlBM7I6DvSCwR2sv5eeY",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "path": "/r/7323501660300024",
            "id": "GhiTr-GpHH6SW8lA25iqS",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        }
    ]
}
createMemoryHistory.js:7 {
    "index": 1,
    "indexGetter": 1,
    "items": [
        {
            "path": "/r/1705808921226559",
            "id": "8hugcF4Du91dOHzCvk6-l",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        },
        {
            "selected": "<<<<<<<",
            "path": "/settings",
            "id": "Ddpn6LV45RYRFw_ng7kjD",
            "state": "stack-bteljlS4gW7AcWp49NQpC"
        }
    ]
}

@adamgrzybowski
Copy link
Contributor

Hey, I am looking into this RN

@WoLewicki
Copy link
Contributor

Could you check if it is still reproducible on the newest main @robertKozik and others? Seems like the issue is gone but maybe we are wrong.

@melvin-bot melvin-bot bot added the Overdue label Aug 23, 2023
@robertKozik
Copy link
Contributor

On it 👀

@melvin-bot melvin-bot bot removed the Overdue label Aug 23, 2023
@robertKozik
Copy link
Contributor

Can confirm - I cannot reproduce this issue on latest main (video attached)

Screen.Recording.2023-08-23.at.11.10.32.mov

@melvin-bot melvin-bot bot added the Overdue label Aug 25, 2023
@garrettmknight
Copy link
Contributor

Confirming it looks like it's been fixed. I'll still pay out @immadisetty-jaya-surya for reporting, but closing otherwise.

Summary of Payments:

@garrettmknight
Copy link
Contributor

Reopening - couldn't find the bug reporter's Upwork profile.

@melvin-bot
Copy link

melvin-bot bot commented Aug 25, 2023

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

@immadisetty-jaya-surya
Copy link

@garrettmknight i m surya ...itz my upwork profile
profile link : https://www.upwork.com/freelancers/~0126183a58ad2d5be4
inform me if it doesn't open ..
thank you ... !!

@melvin-bot melvin-bot bot added the Overdue label Aug 28, 2023
@garrettmknight
Copy link
Contributor

Thanks @immadisetty-jaya-surya - I can't seem to find you in the search on the job. Can you apply here so I can accept? https://www.upwork.com/jobs/~01c4a8c2a8b4824bff

@melvin-bot melvin-bot bot removed the Overdue label Aug 28, 2023
@immadisetty-jaya-surya
Copy link

yeah @garrettmknight i applied which you have been send...!!

@garrettmknight
Copy link
Contributor

Awesome, thanks! Offer sent.

@immadisetty-jaya-surya
Copy link

@garrettmknight Accepted the offer [:-)

@garrettmknight
Copy link
Contributor

Nice, paid!

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 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

8 participants