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

[Guided Setup] Sign in – Able to dismiss Onboarding modal when click on browser back button #47246

Closed
3 of 6 tasks
IuliiaHerets opened this issue Aug 12, 2024 · 29 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@IuliiaHerets
Copy link

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: 9.0.19-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. In Sign in page enter new Gmail account
  3. When Onboarding modal appears click on browser back button

Expected Result:

Onboarding modal is present

Actual Result:

Onboarding modal disappears

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6569986_1723472846308.Onb_m.mp4

View all open jobs on GitHub

@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Aug 12, 2024
Copy link

melvin-bot bot commented Aug 12, 2024

Triggered auto assignment to @deetergp (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Aug 12, 2024

Triggered auto assignment to @anmurali (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Aug 12, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@IuliiaHerets
Copy link
Author

IuliiaHerets commented Aug 12, 2024

We think that this bug might be related to #wave-collect - Release 1

Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@AndrewGable AndrewGable added DeployBlockerCash This issue or pull request should block deployment and removed DeployBlockerCash This issue or pull request should block deployment labels Aug 12, 2024
Copy link

melvin-bot bot commented Aug 12, 2024

Current assignee @deetergp is eligible for the DeployBlockerCash assigner, not assigning anyone new.

Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@mountiny
Copy link
Contributor

@filip-solecki Could you have a look into this in the morning please?

@Beamanator
Copy link
Contributor

Should we call this NAB if we're ok waiting till morning for a resolution? 🤔

@deetergp
Copy link
Contributor

It really doesn't seem like a blocker…

@Beamanator Beamanator added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 DeployBlocker Indicates it should block deploying the API labels Aug 13, 2024
@Beamanator
Copy link
Contributor

Agreed! Marking NAB!±

@filip-solecki
Copy link
Contributor

Me and @adamgrzybowski are not able to reproduce it, did you try to clear Onyx data?

@mountiny
Copy link
Contributor

Asked in QA if they can repro this on mac too https://expensify.slack.com/archives/C9YU7BX5M/p1723547272644439 the video is from windows

@kavimuru
Copy link

Repro in Mac Safari and Mac chrome and mweb

Screen.Recording.2024-08-13.at.15.11.46.mov
Screen.Recording.2024-08-13.at.15.15.04.mov

@adamgrzybowski
Copy link
Contributor

example.mp4

As you can see I can't reproduce it on my end. The difference I noticed in my and your case is that the URL with the report id shows briefly in your.

Not sure why this happens but I won't be able to debug this issue without reliable reproduction steps.

I can point you to this function

function shouldPreventReset(state: StackNavigationState<ParamListBase>, action: CommonActions.Action | StackActionType) {
if (action.type !== CONST.NAVIGATION_ACTIONS.RESET || !action?.payload) {
return false;
}
const currentFocusedRoute = findFocusedRoute(state);
const targetFocusedRoute = findFocusedRoute(action?.payload);
// We want to prevent the user from navigating back to a non-onboarding screen if they are currently on an onboarding screen
if (isOnboardingFlowName(currentFocusedRoute?.name) && !isOnboardingFlowName(targetFocusedRoute?.name)) {
Welcome.setOnboardingErrorMessage(Localize.translateLocal('onboarding.purpose.errorBackButton'));
// We reset the URL as the browser sets it in a way that doesn't match the navigation state
// eslint-disable-next-line no-restricted-globals
history.replaceState({}, '', getPathFromState(state, linkingConfig.config));
return true;
}
}

I would guess this value const targetFocusedRoute = findFocusedRoute(action?.payload); is wrong. Could you please check it with the debugger? Maybe I will see what is wrong

@deetergp
Copy link
Contributor

@kavimuru Were your reproduction steps on Mac any different than what is listed in the GH description?

@melvin-bot melvin-bot bot added the Overdue label Aug 16, 2024
@adamgrzybowski
Copy link
Contributor

This may be a race condition. It looks like the initial chat doesn't have time to load and break the behavior on my end.

Copy link

melvin-bot bot commented Aug 19, 2024

@deetergp, @anmurali Eep! 4 days overdue now. Issues have feelings too...

@deetergp
Copy link
Contributor

@kavimuru Bump!

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Aug 21, 2024
Copy link

melvin-bot bot commented Aug 26, 2024

@deetergp @anmurali this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

Copy link

melvin-bot bot commented Aug 26, 2024

@deetergp, @anmurali Eep! 4 days overdue now. Issues have feelings too...

@deetergp
Copy link
Contributor

I reached out to @kavimuru in Slack.

@melvin-bot melvin-bot bot removed the Overdue label Aug 27, 2024
@trjExpensify trjExpensify changed the title Sign in – Able to dismiss Onboarding modal when click on browser back button [Guided Setup] Sign in – Able to dismiss Onboarding modal when click on browser back button Aug 28, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 29, 2024
@deetergp
Copy link
Contributor

I asked for a retest in Slack but have not yet heard back.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Aug 30, 2024
Copy link

melvin-bot bot commented Sep 2, 2024

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

@trjExpensify
Copy link
Contributor

I asked for a retest in Slack but have not yet heard back.

@deetergp can you link the thread when making these kind of references, just helps follow the breadcrumbs. Where are we at with this re-test?

@deetergp
Copy link
Contributor

deetergp commented Sep 4, 2024

Of course! This is where I asked previously https://expensify.slack.com/archives/C9YU7BX5M/p1724783266169849, but I think it got lost in the shuffle. Asked again here https://expensify.slack.com/archives/C9YU7BX5M/p1725431001409449

@melvin-bot melvin-bot bot removed the Overdue label Sep 4, 2024
@m-natarajan
Copy link

Not reproducible

bandicam.2024-09-04.13-38-15-579.mp4

@trjExpensify
Copy link
Contributor

Cool, so then let's close this out @deetergp?

Copy link

melvin-bot bot commented Oct 1, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

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
Projects
No open projects
Status: Done
Development

No branches or pull requests