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 2023-12-29] [HOLD for payment 2023-12-28] Scan - "Reply in thread" is not present for IOU preview with ongoing smartscanning #33358

Closed
6 tasks done
kbecciv opened this issue Dec 20, 2023 · 39 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

Comments

@kbecciv
Copy link

kbecciv commented Dec 20, 2023

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: v1.4.14-2
Reproducible in staging?: y
Reproducible in production?: n
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:

  1. Click FAB > Request money > Manual.
  2. Request money from a user.
  3. In 1:1 DM where the money is requested, right click on the IOU preview.
  4. Click on the IOU preview to open report page and right click on the IOU preview.
  5. Note that "Reply in thread" is present.
  6. Repeat Step 1-4 with a Scan request.

Expected Result:

"Reply in thread" is present for IOU preview with ongoing smart scanning.

Actual Result:

"Reply in thread" is not present for IOU preview with ongoing smart scanning.

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

Bug6321251_1703078730828.bandicam_2023-12-20_15-57-05-794.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @narefyev91
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Dec 20, 2023
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 Dec 20, 2023

Triggered auto assignment to @aldo-expensify (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@kbecciv
Copy link
Author

kbecciv commented Dec 20, 2023

Not reproducible on production

bandicam.2023-12-20.16-02-07-482.mp4

@dukenv0307
Copy link
Contributor

dukenv0307 commented Dec 20, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

"Reply in thread" is not present for IOU preview with ongoing smart scanning.

What is the root cause of that problem?

We are not allowing reply in thread for whisper action. So when the request is scanning, it's wishper action and then no reply in thread option

What changes do you think we should make in order to solve the problem?

We should allow reply in thread for IOU action even if it's a whisper

(!isWhisperAction || reportAction.actionName === CONST.REPORT.ACTIONS.TYPE.IOU)

What alternative solutions did you explore? (Optional)

NA

@aldo-expensify
Copy link
Contributor

hum.. if it is a whisper action, other users in the conversation won't see it right? I find it strange to be able to start a thread from a whisper since others won't be able to see the parent report action

@aldo-expensify
Copy link
Contributor

Does the smartscan preview stop being a whisper once the smartscan process is finished? In such case it would make sense to me that a thread can exist from it because it will become visible for other participants

@aldo-expensify
Copy link
Contributor

Does the smartscan preview stop being a whisper once the smartscan process is finished?

From my testing, apparently not.

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Dec 20, 2023

hmm from the admin's perspective, the admin can see this whisper:

image

🤯

@aldo-expensify
Copy link
Contributor

The "Only visible to you" is a lie then:

image

@dukenv0307
Copy link
Contributor

dukenv0307 commented Dec 20, 2023

@aldo-expensify what is the next step here? Should we fix this issue or it's intendtional.

@aldo-expensify
Copy link
Contributor

@aldo-expensify what is the next step here? Should we fix this issue or it's intendtional.

I'm not sure yet, I'm asking in slack too

@aldo-expensify
Copy link
Contributor

What would make sense to me here is:

  1. This preview should be updated to stop being a whisper once the smartscan is resolved or cancelled
  2. We allow the user to thread from this particular whisper because we know that at some point it may not be a whisper anymore

We can still implement 2. without doing 1., so I think we should proceed with what your are suggesting (checking proposal)

@aldo-expensify
Copy link
Contributor

in the context of a normal IOU in a DM the whisper is really only visible to the submitter, unlike when we are in a workspace

@aldo-expensify
Copy link
Contributor

Can you put up the PR now @dukenv0307 ?

@dukenv0307
Copy link
Contributor

dukenv0307 commented Dec 20, 2023

@aldo-expensify Yes, I'm available now

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Dec 20, 2023

@aldo-expensify Yes, I'm available now

Nice, assigned it to you

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Dec 20, 2023
@dukenv0307
Copy link
Contributor

@aldo-expensify The PR is ready for review.

@aldo-expensify
Copy link
Contributor

Thanks for the quick work!

@aldo-expensify aldo-expensify added the Bug Something is broken. Auto assigns a BugZero manager. label Dec 20, 2023
Copy link

melvin-bot bot commented Dec 21, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.14-6 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 2023-12-28. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

Copy link

melvin-bot bot commented Dec 21, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@narefyev91] The PR that introduced the bug has been identified. Link to the PR:
  • [@narefyev91] 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:
  • [@narefyev91] 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:
  • [@narefyev91] Determine if we should create a regression test for this bug.
  • [@narefyev91] 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.
  • [@conorpendergrast] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@jasperhuangg jasperhuangg removed the DeployBlockerCash This issue or pull request should block deployment label Dec 22, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Dec 22, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-12-28] Scan - "Reply in thread" is not present for IOU preview with ongoing smartscanning [HOLD for payment 2023-12-29] [HOLD for payment 2023-12-28] Scan - "Reply in thread" is not present for IOU preview with ongoing smartscanning Dec 22, 2023
Copy link

melvin-bot bot commented Dec 22, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.15-5 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 2023-12-29. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

Copy link

melvin-bot bot commented Dec 22, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@narefyev91] The PR that introduced the bug has been identified. Link to the PR:
  • [@narefyev91] 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:
  • [@narefyev91] 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:
  • [@narefyev91] Determine if we should create a regression test for this bug.
  • [@narefyev91] 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.
  • [@conorpendergrast] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 27, 2023
Copy link

melvin-bot bot commented Dec 29, 2023

Payment Summary

Upwork Job

  • Contributor+: @narefyev91 is from an agency-contributor and not due payment

  • Contributor : @dukenv0307 paid $500 via Upwork (offer)

    BugZero Checklist (@conorpendergrast)

    • I have verified the correct assignees and roles are listed above
    • I have verified that there are no duplicate or incorrect contracts on Upwork (https://www.upwork.com/ab/applicants//hired)
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct

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

melvin-bot bot commented Jan 1, 2024

@conorpendergrast, @narefyev91, @aldo-expensify, @dukenv0307 Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Jan 1, 2024

@conorpendergrast, @narefyev91, @aldo-expensify, @dukenv0307 Huh... This is 4 days overdue. Who can take care of this?

@aldo-expensify
Copy link
Contributor

@conorpendergrast is OOO until next week

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jan 3, 2024
Copy link

melvin-bot bot commented Jan 8, 2024

@conorpendergrast, @narefyev91, @aldo-expensify, @dukenv0307 Huh... This is 4 days overdue. Who can take care of this?

@conorpendergrast
Copy link
Contributor

I am back from OoO! Offer sent to @dukenv0307

@melvin-bot melvin-bot bot removed the Overdue label Jan 8, 2024
Copy link

melvin-bot bot commented Jan 12, 2024

@conorpendergrast, @narefyev91, @aldo-expensify, @dukenv0307 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 Jan 12, 2024
@conorpendergrast
Copy link
Contributor

@dukenv0307 Bump on accepting the offer please!

@dukenv0307
Copy link
Contributor

@dukenv0307 Bump on accepting the offer please!

@conorpendergrast accepted, thank you!

@melvin-bot melvin-bot bot removed the Overdue label Jan 15, 2024
@conorpendergrast
Copy link
Contributor

Paid and contract ended! C+ checklist by @narefyev91 is the last step, please

@narefyev91
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR - it was not a regression - just missing functionality
  • 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 - N/A
  • 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
  • Determine if we should create a regression test for this bug - N/A

@conorpendergrast
Copy link
Contributor

Sounds good, thanks! Closing out, 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
Projects
None yet
Development

No branches or pull requests

6 participants