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-03-29] [$500] LHN - Empty space displayed in LHN after opening IOU detail page offline #38670

Closed
1 of 6 tasks
izarutskaya opened this issue Mar 20, 2024 · 46 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 External Added to denote the issue can be worked on by a contributor

Comments

@izarutskaya
Copy link

izarutskaya commented Mar 20, 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: v1.4.55-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Go offline
  3. Click on FAB and create a new group chat
  4. In the group chat click on "+" > Spilt bill
  5. Create a manual request and split it with one user of the group
  6. Navigate to the chat with the user you split the bill
  7. Open the money request detail page

Expected Result:

No space between reports is displayed in LHN

Actual Result:

Empty space displayed in LHN after opening the IOU detail page

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

Bug6420027_1710902736738.Recording__314.1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0162cd9a8930d9526d
  • Upwork Job ID: 1773726162377322496
  • Last Price Increase: 2024-03-29
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 20, 2024
Copy link

melvin-bot bot commented Mar 20, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Mar 20, 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.

Copy link

melvin-bot bot commented Mar 20, 2024

Triggered auto assignment to @youssef-lr (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@izarutskaya
Copy link
Author

@joekaufmanexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@izarutskaya
Copy link
Author

izarutskaya commented Mar 20, 2024

Production

Screenshot 2024-03-20 at 14 13 03

Recording.2284.mp4

@joekaufmanexpensify
Copy link
Contributor

@youssef-lr do you think this needs to be a deploy blocker? I am not personally convinced. It's pretty niche behavior.

@aimane-chnaif
Copy link
Contributor

This seems to be dupe of #37497. Not sure why it's marked as not reproducible in production.

@youssef-lr
Copy link
Contributor

Testing on staging & production now

@youssef-lr
Copy link
Contributor

@aimane-chnaif I don't think this is the same issue, I can only reproduce in staging.

@youssef-lr
Copy link
Contributor

Going to try to find the offending PR now

@youssef-lr
Copy link
Contributor

youssef-lr commented Mar 20, 2024

This is a regression from this PR, after reverting it locally I can't reproduce anymore. cc @jbroma @allroundexperts @mountiny

The steps to reproduce is to create a split offline, navigate a 1on1 money report, then navigate to the transaction thread. An empty LHN row will be displayed.

@youssef-lr
Copy link
Contributor

This is also reproducible online, but the empty row disappears quickly

Screen.Recording.2024-03-20.at.20.27.35.mov

@youssef-lr
Copy link
Contributor

I found out why this is happening here, I'm gonna open this up to contributors so we can hopefully find a fix

@youssef-lr youssef-lr added the External Added to denote the issue can be worked on by a contributor label Mar 20, 2024
Copy link

melvin-bot bot commented Mar 20, 2024

Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue.

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

melvin-bot bot commented Mar 20, 2024

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

@youssef-lr youssef-lr changed the title LHN - Empty space displayed in LHN after opening IOU detail page offline [$500] LHN - Empty space displayed in LHN after opening IOU detail page offline Mar 20, 2024
Copy link

melvin-bot bot commented Mar 20, 2024

⚠️ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

@situchan
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: perf: improve chat switch performance - fixed #38255
  • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/38255/files#r1532802697
  • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A This came from big refactor and this kind of bug couldn't be easily caught.
  • Determine if we should create a regression test for this bug.
  • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

  1. Go offline
  2. Click on FAB and create a new group chat
  3. In the group chat click on "+" > Spilt bill
  4. Create a manual request and split it with one user of the group
  5. Navigate to the chat with the user you split the bill
  6. Open the money request detail page
  7. Verify that no space between reports is displayed in LHN

@joekaufmanexpensify
Copy link
Contributor

Great. TY!

@joekaufmanexpensify
Copy link
Contributor

Due today!

@joekaufmanexpensify joekaufmanexpensify added Daily KSv2 and removed Weekly KSv2 labels Mar 29, 2024
@joekaufmanexpensify
Copy link
Contributor

This is a pretty niche bug and IMO does not need a regression test.

@joekaufmanexpensify
Copy link
Contributor

Only payment needed here is $500 to @situchan for C+. Paid via upwork.

@joekaufmanexpensify
Copy link
Contributor

Adding external to create upwork job

@joekaufmanexpensify joekaufmanexpensify added External Added to denote the issue can be worked on by a contributor and removed External Added to denote the issue can be worked on by a contributor labels Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 2024

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

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

melvin-bot bot commented Mar 29, 2024

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

@joekaufmanexpensify joekaufmanexpensify removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 29, 2024
@joekaufmanexpensify
Copy link
Contributor

@situchan offer for $500 sent!

@fedirjh
Copy link
Contributor

fedirjh commented Mar 29, 2024

cc @joekaufmanexpensify I think I am eligible for payment, as the solution that I proposed was implemented.

@joekaufmanexpensify
Copy link
Contributor

Defer to @youssef-lr on that. Mind weighing in on whether this proposal was what was used?

@melvin-bot melvin-bot bot added the Overdue label Apr 1, 2024
@joekaufmanexpensify
Copy link
Contributor

Bumped 1:1

@melvin-bot melvin-bot bot removed the Overdue label Apr 1, 2024
@youssef-lr
Copy link
Contributor

@joekaufmanexpensify yes I did use Fedi's solution!

@joekaufmanexpensify
Copy link
Contributor

Discussing internally

@joekaufmanexpensify
Copy link
Contributor

@situchan $500 sent and contract ended!

@joekaufmanexpensify
Copy link
Contributor

@fedirjh we landed on 50% comp here since we used your proposal, but you did not raise a PR

@joekaufmanexpensify
Copy link
Contributor

@fedirjh offer sent for $250!

@joekaufmanexpensify
Copy link
Contributor

@fedirjh $250 sent and contract ended!

@joekaufmanexpensify
Copy link
Contributor

Upwork job closed.

@joekaufmanexpensify
Copy link
Contributor

All set. Thanks everyone!

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 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants