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

[$500] Chat – New message button appears when create IOU #38848

Closed
1 of 6 tasks
lanitochka17 opened this issue Mar 22, 2024 · 37 comments
Closed
1 of 6 tasks

[$500] Chat – New message button appears when create IOU #38848

lanitochka17 opened this issue Mar 22, 2024 · 37 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Monthly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Mar 22, 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: 1.4.56-0
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/4444284
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. Log in
  3. Navigate to account with a long conversation history
  4. Send a message
  5. Create IOU

Expected Result:

New message button not appears on the top of the page when create IOU

Actual Result:

New message button appears on the top of the page when create IOU

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

Bug6423672_1711138394644.IOU.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0133b550ad31059d52
  • Upwork Job ID: 1772371228780400640
  • Last Price Increase: 2024-04-01
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Mar 22, 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.

@lanitochka17
Copy link
Author

We think that this bug might be related to vip-vsp

Copy link

melvin-bot bot commented Mar 22, 2024

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

@gijoe0295
Copy link
Contributor

Same RCA as #38830. sortedVisibleReportActions contains only visible actions while sortedReportActions contains invisible as well. For hasNewestReportAction check below, we should use the visible one:

const hasNewestReportAction = sortedReportActions?.[0].created === report.lastVisibleActionCreated;

@gijoe0295
Copy link
Contributor

Investigate more and I'm not sure we can consolidate this with #38830. My RCA above is correct but I found no solution yet because I think using sortedReportActions is on purpose. Let's treat this separately.

Copy link

melvin-bot bot commented Mar 23, 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.

@Pujan92
Copy link
Contributor

Pujan92 commented Mar 23, 2024

I am not sure but RequestMoney API onyx response for the report seems sending old time for lastVisibleActionCreated which could be the issue in below check.

const hasNewestReportAction = sortedReportActions?.[0].created === report.lastVisibleActionCreated;

Screen.Recording.2024-03-23.at.16.37.45.mov

Copy link

melvin-bot bot commented Mar 25, 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.

@yuwenmemon
Copy link
Contributor

Unable to reproduce on the latest main

@melvin-bot melvin-bot bot removed the Overdue label Mar 25, 2024
@yuwenmemon
Copy link
Contributor

I can see this on staging with a different chat though...

@yuwenmemon
Copy link
Contributor

However, the New Message button is dissapearing after about 1 second or so - I can reproduce this pretty consistently so I'm not going to let this block the deploy and rather make this an External Daily Issue.

@yuwenmemon yuwenmemon added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor and removed Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment labels Mar 25, 2024
@melvin-bot melvin-bot bot changed the title Chat – New message button appears when create IOU [$500] Chat – New message button appears when create IOU Mar 25, 2024
Copy link

melvin-bot bot commented Mar 25, 2024

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

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

melvin-bot bot commented Apr 3, 2024

📣 @cleverjam You have been assigned to this job!
Please apply to the Upwork job and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Once you apply to this job, your Upwork ID will be stored and you will be automatically hired for future jobs!
Keep in mind: Code of Conduct | Contributing 📖

@cleverjam
Copy link

I should have a PR ready before the end of the week

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Apr 4, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Apr 4, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

This issue has not been updated in over 15 days. @puneetlath, @yuwenmemon, @cleverjam, @rushatgabhane eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@puneetlath
Copy link
Contributor

@cleverjam @rushatgabhane what happened with this? Did a PR get opened?

@cleverjam
Copy link

@puneetlath The PR was created: #39665

There is some discrepancy I been discussing with @rushatgabhane in the PR, we think there might be some BE changes needed.

@puneetlath
Copy link
Contributor

Ok got it. It looks like @yuwenmemon is waiting on a response from y'all in the PR on what back-end changes you think you need.

@melvin-bot melvin-bot bot closed this as completed Jun 27, 2024
Copy link

melvin-bot bot commented Jun 27, 2024

@puneetlath, @yuwenmemon, @cleverjam, @rushatgabhane, this Monthly task hasn't been acted upon in 6 weeks; closing.

If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

@lanitochka17
Copy link
Author

Issue is still reproducible on the latest build 9.0.15-5

Screenrecorder-2024-08-01-13-00-21-657.mp4

@lanitochka17 lanitochka17 reopened this Aug 1, 2024
@cleverjam
Copy link

cleverjam commented Aug 6, 2024

I still have PR #39665 open but it has been so long I am not sure if I should close it and let someone else take a stab at this...

Edit: since early April.

@puneetlath
Copy link
Contributor

@yuwenmemon what are your thoughts on how to move forward?

@yuwenmemon
Copy link
Contributor

Yeah this might be a more internal issue based on that PR. So let's close that PR and then switch this over to internal.

@yuwenmemon yuwenmemon added Internal Requires API changes or must be handled by Expensify staff and removed Reviewing Has a PR in review Not a priority External Added to denote the issue can be worked on by a contributor labels Aug 14, 2024
@puneetlath
Copy link
Contributor

@yuwenmemon given that we closed #vip-split and aren't focused on the IOU flow right now, I think we should just close this out for now. What do you think?

@yuwenmemon
Copy link
Contributor

Yeah sounds 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. Engineering Internal Requires API changes or must be handled by Expensify staff Monthly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants