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

[HOLD for payment 2024-11-07] [$250] [CVP] OD Navigation - Login - Multiple loading screens and animations are visible after a new user signs up #50182

Closed
2 of 6 tasks
isagoico opened this issue Oct 3, 2024 · 43 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Design Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@isagoico
Copy link

isagoico commented Oct 3, 2024

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.44-0

Reproducible in staging?: Yes
Reproducible in production?: Yes

If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5043992&group_by=cases:section_id&group_id=327504&group_order=asc

Email or phone of affected tester (no customers): New User
Logs: https://stackoverflow.com/c/expensify/questions/4856

Issue reported by: Applause - Internal team

Action Performed:

  1. Navigate to https://staging.expensify.com/
  2. Tap on "Organize my own expenses"
  3. Input an email address that doesn't have an account yet
  4. Tap on the "Get Started" button
  5. Tap on the "Join" button

Expected Result:

A single loading animation or a logo should be displayed after the user taps on "Get Started", right until the onboarding shows.

Actual Result:

After new user taps on "Get Started", the "Join" button has to be tapped. White screen is showed, Expensify logo is visible for a short time, small "E" logo with the green background is visible for a short time, "Launching Expensify" is visible for a short time, loading spinner is visible for a short time

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

Bug6623614_1727983756286.EHBM3917.mp4

View all open jobs on GitHub


This was found when executing the newly added flows for CVP https://github.com/Expensify/Expensify/issues/412920.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021843207040930164854
  • Upwork Job ID: 1843207040930164854
  • Last Price Increase: 2024-10-07
Issue OwnerCurrent Issue Owner: @Christinadobrzyn
@isagoico isagoico added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 3, 2024
Copy link

melvin-bot bot commented Oct 3, 2024

Triggered auto assignment to @Christinadobrzyn (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.

@Christinadobrzyn
Copy link
Contributor

I can't get this welcome page to load. I'll test on Monday

@melvin-bot melvin-bot bot added the Overdue label Oct 7, 2024
@Christinadobrzyn Christinadobrzyn added External Added to denote the issue can be worked on by a contributor Design labels Oct 7, 2024
@melvin-bot melvin-bot bot changed the title [CVP] OD Navigation - Login - Multiple loading screens and animations are visible after a new user signs up [$250] [CVP] OD Navigation - Login - Multiple loading screens and animations are visible after a new user signs up Oct 7, 2024
Copy link

melvin-bot bot commented Oct 7, 2024

Auto-assign attempt failed, all eligible assignees are OOO.

Copy link

melvin-bot bot commented Oct 7, 2024

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

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

melvin-bot bot commented Oct 7, 2024

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

@melvin-bot melvin-bot bot removed the Overdue label Oct 7, 2024
@Christinadobrzyn
Copy link
Contributor

Okay I can reproduce this. I think this can be external and let's get design on this to get an idea of what we should be showing.

@trjExpensify
Copy link
Contributor

CVP issues go in f1! 👍

@waterim
Copy link
Contributor

waterim commented Oct 7, 2024

Hello, Im Artem from Callstack and would like to help with this issue!

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 8, 2024
@Christinadobrzyn
Copy link
Contributor

Hi @waterim - sounds great! I added you to the issue

@waterim
Copy link
Contributor

waterim commented Oct 8, 2024

To be clear Im not sure that the expected result is a real expected result

Detailed summary from my perspective regarding the actual results:

After new user taps on "Get Started", the "Join" button has to be tapped. White screen is showed, Expensify logo is visible for a short time, small "E" logo with the green background is visible for a short time, "Launching Expensify" is visible for a short time, loading spinner is visible for a short time

Actual result looks quite okay excepted of the one blink page:

  1. the "Join" button has to be tapped - its needed for a verification if user exists or not, if its a new user "Join appears"
  2. White screen is just a transition between 2 different pages in 2 different apps (from oldDot to newDot)
  3. Expensify logo is a loading state for, but can't reproduce this one, only have a white screen after the join and after E logo
  4. E Logo is a correct one as a loader for newDot
  5. "Launching Expensify, your session is expired" - this one looks like a bug and from what I can see the response is undefined for the first call (actually in the network there is only one call and it has a response)
image

And here after we got an undefined we are setting signedInWithShortLivedAuthToken: null
image

And after we are getting a correct response with all the data, but because we had an signedInWithShortLivedAuthToken as null for a second we have this "session is expired" for a moment.
image
6. loading spinner is a correct state when we've got a new data for the SignInWithShortLivedAuthToken

It looks like a backend issue as we are getting an undefined for a moment after a call and all other steps are looking fine from a perspective we are making a transition from oldDot to a newDot, and we cant do this with one loader because different websites are rendering

@carlosmiceli carlosmiceli self-assigned this Oct 8, 2024
@carlosmiceli
Copy link
Contributor

@waterim Oh, just read your comment, I'll look into in the BE and report back if we need to fix anything here. Thank you! 💪

@carlosmiceli carlosmiceli added the Internal Requires API changes or must be handled by Expensify staff label Oct 8, 2024
@srikarparsi srikarparsi pinned this issue Oct 9, 2024
@nlemma nlemma unpinned this issue Oct 9, 2024
@carlosmiceli
Copy link
Contributor

Mmm, I'm 99% sure that there's no way to do that, right @trjExpensify? If the issue is in ND but you absolutely need to have access to OD, then maybe I should grab the ND side of this issue as well, but I'll let Tom confirm!

@trjExpensify
Copy link
Contributor

That's a good question for #engineering-chat. 👍

@carlosmiceli
Copy link
Contributor

Yeah, good call! @waterim Just asked and if you can confirm that this can't be done without access to OD, then I'll have to grab it because there's no way to provide access there for the moment.

@waterim
Copy link
Contributor

waterim commented Oct 22, 2024

From my side it looks like impossible to test it properly, I tried to debug just with staging, but can't log anything or test without redirecting to a local newDot, but from my side it looks like we don't want to set signedInWithShortLivedAuthToken: null as this one is causing this "session is expired" and playing with Onyx data for this specific case can be a good solution imo, but cant test to prove this solution unfortunately :(

@carlosmiceli
Copy link
Contributor

Right, that's a bummer! No worries, I'll grab it and will let you know how it goes and if you can help out as well 🙏
Thank you!

@carlosmiceli carlosmiceli removed the External Added to denote the issue can be worked on by a contributor label Oct 22, 2024
@carlosmiceli
Copy link
Contributor

Didn't get to this yet, should be able to work on it tomorrow.

@carlosmiceli
Copy link
Contributor

The fix ended up being a lot simpler, we needed to use account from Onyx, not as a prop: #51450

@carlosmiceli carlosmiceli added the Reviewing Has a PR in review label Oct 25, 2024
@Christinadobrzyn
Copy link
Contributor

PR in the works! @carlosmiceli can we move this to weekly while the PR is being worked on?

@carlosmiceli
Copy link
Contributor

Sorry, what needs to be worked on? All PR fixes have been merged for this.

@carlosmiceli carlosmiceli added Weekly KSv2 and removed Daily KSv2 labels Oct 29, 2024
@carlosmiceli
Copy link
Contributor

But yes, we can move this to weekly until it's closed!

@Christinadobrzyn
Copy link
Contributor

Oh perfect! Sorry I meant move to weekly while the PR is going into production. Thanks!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 31, 2024
@melvin-bot melvin-bot bot changed the title [$250] [CVP] OD Navigation - Login - Multiple loading screens and animations are visible after a new user signs up [HOLD for payment 2024-11-07] [$250] [CVP] OD Navigation - Login - Multiple loading screens and animations are visible after a new user signs up Oct 31, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 31, 2024
Copy link

melvin-bot bot commented Oct 31, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Oct 31, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.55-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-11-07. 🎊

For reference, here are some details about the assignees on this issue:

  • @waterim does not require payment (Contractor)
  • @eh2077 requires payment through NewDot Manual Requests

Copy link

melvin-bot bot commented Oct 31, 2024

@eh2077 @Christinadobrzyn The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@eh2077
Copy link
Contributor

eh2077 commented Nov 4, 2024

C+ wasn't involved in this task, so no payment needed here and unassigning myself

@eh2077 eh2077 removed their assignment Nov 4, 2024
@Christinadobrzyn
Copy link
Contributor

Do we need a regression test for this?

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Nov 12, 2024

Dmd with @carlosmiceli no regression needed here so closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Design Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
Development

No branches or pull requests

7 participants