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-07-30][$250] Deep-link - Infinite skeleton loader appears when navigating to non-existing profile #45486

Closed
1 of 6 tasks
lanitochka17 opened this issue Jul 16, 2024 · 23 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 16, 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: 9.0.7-4
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4723441
Email or phone of affected tester (no customers): gibethlehem.@gmail.com
Issue reported by: Applause - Internal Team

Action Performed:

  1. Log in to any account
  2. On the URL Navigate to https://staging.new.expensify.com/a/hello

Expected Result:

Infinite skeleton loader is not shown when navigating back form "Page not found" page

Actual Result:

Infinite skeleton loader is shown

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

Bug6543742_1721125977716.Screen_Recording_2024-07-16_at_1.01.55_PM.mov

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01291dca77c0c7f6cb
  • Upwork Job ID: 1813499751389988808
  • Last Price Increase: 2024-07-17
Issue OwnerCurrent Issue Owner: @
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jul 16, 2024
Copy link

melvin-bot bot commented Jul 16, 2024

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

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.

@marcochavezf
Copy link
Contributor

Git bisect led me to this PR which possibly introduced the bug

@marcochavezf
Copy link
Contributor

marcochavezf commented Jul 16, 2024

DM'ed @roryabraham for a possible solution since trying to revert the offending PR brings complex conflicts. I will be back in a couple of hours

@cead22 cead22 removed the DeployBlocker Indicates it should block deploying the API label Jul 16, 2024
@cead22
Copy link
Contributor

cead22 commented Jul 16, 2024

FWIW this doesn't seem worth blocking the app deploy to me

@roryabraham
Copy link
Contributor

roryabraham commented Jul 16, 2024

I'm looking at this now. It seems very similar to a bug I initially fixed here. Even though that PR wasn't perfect, the RCA remains valid.

Basically, we're trying to use navigation.setParams before the navigation stack is ready. react-navigation assumes that you're calling that in response to a user action, so it isn't working in our case. Instead, we need to pass the correct initial report ID in the initialParams for the ReportScreen from within AuthScreens.

This will be a bit tricky to get right since we'll only want to calculate the initial report once, during the first render, and only if there isn't already a reportID in the URL.

@thienlnam
Copy link
Contributor

Removing blocker for this issue

@thienlnam thienlnam added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jul 16, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jul 16, 2024
@roryabraham
Copy link
Contributor

Created #45534 but won't request to CP it. We'll let it go through full regressions

@roryabraham roryabraham added Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff labels Jul 16, 2024
Copy link

melvin-bot bot commented Jul 16, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 16, 2024
@roryabraham
Copy link
Contributor

Marked as internal to create job for review. It could have been external but I've already got a PR up to fix it.

@thienlnam
Copy link
Contributor

Btw, the internal label doesn't create an Upwork job anymore since we primarily use that label for API changes now. You can make it external and then re-label it as internal if needed

@roryabraham roryabraham added the External Added to denote the issue can be worked on by a contributor label Jul 17, 2024
@melvin-bot melvin-bot bot changed the title Deep-link - Infinite skeleton loader appears when navigating to non-existing profile [$250] Deep-link - Infinite skeleton loader appears when navigating to non-existing profile Jul 17, 2024
Copy link

melvin-bot bot commented Jul 17, 2024

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

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

melvin-bot bot commented Jul 17, 2024

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

@roryabraham roryabraham removed 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 labels Jul 17, 2024
@syedmustafan

This comment was marked as duplicate.

This comment was marked as resolved.

@syedmustafan
Copy link

Contributor details
Your Expensify account email: mustafanadeem627@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01153cf0ecb63d1e75

It is working fine upon redirecting to https://staging.new.expensify.com/a/hello

Screen.Recording.2024-07-17.at.7.53.42.PM.mov

This comment was marked as resolved.

@roryabraham
Copy link
Contributor

Thanks @syedmustafan, I've already got a PR in review to fix this issue

@roryabraham
Copy link
Contributor

PR merged

@greg-schroeder
Copy link
Contributor

On staging, awaiting deploy to prod

@roryabraham
Copy link
Contributor

Deployed to prod 8hr ago.

@roryabraham roryabraham added the Awaiting Payment Auto-added when associated PR is deployed to production label Jul 23, 2024
@roryabraham roryabraham changed the title [$250] Deep-link - Infinite skeleton loader appears when navigating to non-existing profile [HOLD for payment 2024-07-30][$250] Deep-link - Infinite skeleton loader appears when navigating to non-existing profile Jul 23, 2024
@roryabraham
Copy link
Contributor

@greg-schroeder the only payment that will be due here is $250 to @rushatgabhane for the PR review 🙇🏼

@melvin-bot melvin-bot bot added Daily KSv2 and removed Daily KSv2 labels Jul 29, 2024
@JmillsExpensify
Copy link

$250 approved for @rushatgabhane

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. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

9 participants