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

[$750] Desktop - "Hmm... it's not here" is displayed when a profile deeplink is opened two or more times #29372

Closed
1 of 6 tasks
izarutskaya opened this issue Oct 11, 2023 · 68 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@izarutskaya
Copy link

izarutskaya commented Oct 11, 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!


Found when executing PR : #29277

Version Number: v1.3.81-6

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

Action Performed:

Precondition: User A and User B should have no prior chat history

As User A:

  1. Open a tab and sign in as User A
  2. Click on 'Profile avatar' > Share code > Copy URL to clipboard

As User B:

  1. Open staging.new.expensify.com and sign in as User B
  2. Paste the URL into the address bar
  3. Press enter
  4. In the ''Open New Expensify'' modal, click on the CTA button to open the app
  5. Close the profile page
  6. Go back to the web page and paste the profile link for a second time
  7. Repeat step 4

Expected Result:

There should be no errors when opening the deeplink from the same profile page multiple times.

Actual Result:

The user encounters a "page not found" error when attempting to open the profile page deeplink two or more times in Desktop app.

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

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Bug6233436_1697049112244.Profile_page_in_desktop_app_-error.mp4

utest-dl.s3.amazonaws.com_12102_26469_432782_6233436_bugAttachment_Bug6233436_1697049112244%21Profile_page_-_Desktop.log_X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20231011T195222Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz.txt

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019231ee47ef138a05
  • Upwork Job ID: 1712194879740461056
  • Last Price Increase: 2023-10-27
  • Automatic offers:
    • situchan | Contributor | 27546164
@izarutskaya izarutskaya 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 Oct 11, 2023
@melvin-bot melvin-bot bot changed the title Desktop - "Hmm... it's not here" is displayed when a profile deeplink is opened two or more times [$500] Desktop - "Hmm... it's not here" is displayed when a profile deeplink is opened two or more times Oct 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 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

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

melvin-bot bot commented Oct 11, 2023

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

@akamefi202
Copy link
Contributor

Not reproducible.

@NicMendonca
Copy link
Contributor

NicMendonca commented Oct 13, 2023

@izarutskaya can you still reproduce this issue?

@izarutskaya
Copy link
Author

Yes, @NicMendonca, we can reproduce this still on Version 1.3.83-10 (1.3.83-10)

Screen.Recording.2023-10-13.at.17.47.45.mov
Screen.Recording.2023-10-13.at.17.46.30.mov

@melvin-bot melvin-bot bot added the Overdue label Oct 16, 2023
@NicMendonca
Copy link
Contributor

Waiting for proposals

@melvin-bot melvin-bot bot removed the Overdue label Oct 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 18, 2023

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

@melvin-bot melvin-bot bot added the Overdue label Oct 18, 2023
@NicMendonca
Copy link
Contributor

@eVoloshchak should we adjust bounty?

@melvin-bot melvin-bot bot removed the Overdue label Oct 18, 2023
@eVoloshchak
Copy link
Contributor

@NicMendonca, i think we should, since there aren't any proposals

@NicMendonca NicMendonca changed the title [$500] Desktop - "Hmm... it's not here" is displayed when a profile deeplink is opened two or more times [$750] Desktop - "Hmm... it's not here" is displayed when a profile deeplink is opened two or more times Oct 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 20, 2023

Upwork job price has been updated to $750

@melvin-bot melvin-bot bot added the Overdue label Oct 23, 2023
@barttom
Copy link
Contributor

barttom commented Oct 23, 2023

Hey! I'm Bartek from Callstack - an expert contributor group. I’d like to work on this issue. I'm gonna investigate that and prepare proposal

@melvin-bot
Copy link

melvin-bot bot commented Oct 23, 2023

@eVoloshchak, @NicMendonca Whoops! This issue is 2 days overdue. Let's get this updated quick!

@NicMendonca
Copy link
Contributor

Thank you @barttom 🥳

@melvin-bot melvin-bot bot removed the Overdue label Oct 24, 2023
@barttom
Copy link
Contributor

barttom commented Oct 24, 2023

@izarutskaya Are You still able to reproduce that? I've tried a few times and works fine for me.
I used staging on the browsers and current main branch for desktop

Screen.Recording.2023-10-24.at.17.32.15.mp4

Copy link

melvin-bot bot commented Nov 22, 2023

@barttom, @NicMendonca, @situchan Huh... This is 4 days overdue. Who can take care of this?

Copy link

melvin-bot bot commented Nov 24, 2023

@barttom, @NicMendonca, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@situchan
Copy link
Contributor

I am able to reproduce report screen infinite loading bug constantly. Should we fix it here?

@melvin-bot melvin-bot bot removed the Overdue label Nov 27, 2023
@NicMendonca
Copy link
Contributor

@situchan unless that would be fixed here -- #31195 (comment)?

Copy link

melvin-bot bot commented Nov 30, 2023

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

@melvin-bot melvin-bot bot added the Overdue label Nov 30, 2023
@situchan
Copy link
Contributor

situchan commented Dec 1, 2023

Not overdue

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Dec 1, 2023
Copy link

melvin-bot bot commented Dec 4, 2023

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

@situchan
Copy link
Contributor

situchan commented Dec 5, 2023

Same

@melvin-bot melvin-bot bot removed the Overdue label Dec 5, 2023
@barttom
Copy link
Contributor

barttom commented Dec 5, 2023

@situchan can we go with this solution #29372 (comment)
by @ikevin127 ?

@ikevin127
Copy link
Contributor

Even though we've had a fix for more than 1 month, unfortunately none of the C+ assigned so far were able to reproduce the issue.

I can still reproduce the issue as of today.

Note: as a matter of fact it's even worse - currently on latest staging desktop the not found page seems to show everytime a deeplink of shared profile is opened from web, no matter if user is already authenticated or not on the desktop app. Same with local dev app, the infinite loading happens everytime.

MacOS: Desktop (staging / local)
  • staging
Screen.Recording.2023-12-05.at.12.38.23.mov
  • local dev
dev-bug.mov

To fix the issue accounting for the new developments I:

Updated my proposal #29372 (comment)

___

Unless @barttom which was able reproduce the issue in the past can act as a proxy for @situchan to help with reviewing proposals / testing solutions OR can be assigned as C+ in case situchan is willing to pass the issue, I don't think this issue will progress.

Recent slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1701106810664189

@situchan
Copy link
Contributor

situchan commented Dec 5, 2023

@ikevin127 I am not ignoring this issue but keep tracking.
can you check if this is still reproducible on main after applying #32158.
Not found page on staging will be fixed in #32158.

@situchan
Copy link
Contributor

situchan commented Dec 5, 2023

Also I was holding based on #29372 (comment).
If we wanna fix infinite loading here (I can reliably reproduce), we can go ahead.
@NicMendonca seems like #31195 is being fixed internally and different from this one.

@ikevin127
Copy link
Contributor

ikevin127 commented Dec 5, 2023

@situchan Sure! My take is that this issue and #28495 have different root cause.

I checked out tienifr's branch and here are the results:

What his PR does to help this issue is that it fixes the not found page that we get on the staging build of the desktop app in the following scenarios:

  • when deep linking from web to desktop while user is not authenticated yet in desktop app
  • when deep linking from web to desktop while user is already authenticated

What the PR does not fix for the current issue:

  • while we don't get the not found page anymore, what happens now is that it unifies the behaviour with the one on local development of desktop app: meaning infinite loading spinner everytime deeplinking from web happens
  • it also doesn't fix this additional bug where while trying to logout while the infinite loading spinner is ongoing, the app doesn't actually logout (see videos below)

Videos with tienifr's branch from #32158

  • you can now notice that we have unified behaviour on both staging and local dev desktop (infinite loading spinner)
MacOS: Desktop (staging / local)
  • staging
stg-tienifr.mov
  • local dev
dev-tienifr.mp4

If we wanna fix infinite loading here (I can reliably reproduce), we can go ahead.

I agree, and for this, in addition to my updated proposal I think the root cause is the fact that we're still calling the navigate here:

Navigation.navigate(route, CONST.NAVIGATION.ACTION_TYPE.PUSH);

when that's not necesarry and causes the infinite loading spinner and the logout bug mentioned above.

So to move forward with this issue I think we can agree on fixing the infinite loading spinner and the logout bug in order to finally conclude this issue.

Also I can confirm that #31195 is a completely different issue that has to be fixed with code changes in OldDot's codebase hence why I recommended the issue to go internal.

@melvin-bot melvin-bot bot added the Overdue label Dec 7, 2023
Copy link

melvin-bot bot commented Dec 8, 2023

@barttom, @NicMendonca, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!

@NicMendonca
Copy link
Contributor

@situchan bump ^^

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Dec 11, 2023
@situchan
Copy link
Contributor

@NicMendonca do you agree #29372 (comment)?

@melvin-bot melvin-bot bot removed the Overdue label Dec 14, 2023
@NicMendonca
Copy link
Contributor

Looks like #31195 is being closed

@NicMendonca
Copy link
Contributor

Based on this post here, I am going to close this

@situchan feel free to start a brand new discussion around infinite loading

@ikevin127
Copy link
Contributor

I will handle it here #33149, all good !

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 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

9 participants