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

[WAITING ON CHECKLIST] Android - Request Money - A black area appears in the receipt #32844

Closed
1 of 6 tasks
kbecciv opened this issue Dec 11, 2023 · 29 comments
Closed
1 of 6 tasks
Assignees
Labels
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

@kbecciv
Copy link

kbecciv commented Dec 11, 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: 1.4.11.1
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. Tap + > Request money > Manual.
  2. Enter amount and select a participant.
  3. On the confirmation page, tap 3-dot menu > Add receipt.
  4. Add a receipt.
  5. Tap Continue and enable the camera while using the app
  6. Take a picture

Expected Result:

No black area appears in the receipt

Actual Result:

A black area appears in the receipt

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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

Screen_Recording_20231211_111508_New.Expensify.1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0111dc7857515d0314
  • Upwork Job ID: 1734362601456140288
  • Last Price Increase: 2023-12-12
  • Automatic offers:
    • mkhutornyi | Contributor | 28039255
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Dec 11, 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 11, 2023

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

@stitesExpensify
Copy link
Contributor

Most likely related to this pr. There are already another android scan issue linked as well, so it is likely the same issue

@stitesExpensify stitesExpensify added External Added to denote the issue can be worked on by a contributor Bug Something is broken. Auto assigns a BugZero manager. labels Dec 12, 2023
Copy link

melvin-bot bot commented Dec 12, 2023

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

Copy link

melvin-bot bot commented Dec 12, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0111dc7857515d0314

@melvin-bot melvin-bot bot changed the title Android - Request Money - A black area appears in the receipt [$500] Android - Request Money - A black area appears in the receipt Dec 12, 2023
Copy link

melvin-bot bot commented Dec 12, 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 Dec 12, 2023
Copy link

melvin-bot bot commented Dec 12, 2023

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

@stitesExpensify
Copy link
Contributor

I'm also unable to test this because I don't have a physical android device

@jliexpensify
Copy link
Contributor

Who's got 2 thumbs and a Pixel 3a? This guy.

@jliexpensify
Copy link
Contributor

jliexpensify commented Dec 12, 2023

I'm on version 1.4.11-4. Can repro - the black screen is temporary, it appears for ~5 seconds.

Screenshot_20231212-110608

@stitesExpensify
Copy link
Contributor

@jliexpensify can you try scanning this QR code and testing again? #32854 (comment)

@mkhutornyi
Copy link
Contributor

That PR didn't fix this issue. Different root cause

@stitesExpensify
Copy link
Contributor

Good to know! Have you identified the root cause?

@jliexpensify
Copy link
Contributor

@stitesExpensify yeah still an issue

@mkhutornyi
Copy link
Contributor

mkhutornyi commented Dec 12, 2023

Proposal

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

Android - Request Money - A black area appears in the receipt

What is the root cause of that problem?

This is regression from #28618 so #31519 fix was reverted:

<NavigationAwareCamera
ref={camera}
device={device}
style={[styles.cameraView]}
zoom={device.neutralZoom}
photo
cameraTabIndex={1}
/>

This is old component:

<View style={[styles.cameraView]}>
<View style={styles.flex1}>
<NavigationAwareCamera
ref={camera}
device={device}
style={[styles.flex1]}
zoom={device.neutralZoom}
photo
cameraTabIndex={pageIndex}
/>
</View>
</View>

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

Re-apply wrapping NavigationAwareCamera with View so exactly copy from old component

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

Tested in staging. This is a pass.

@luacmartins luacmartins removed the DeployBlockerCash This issue or pull request should block deployment label Dec 12, 2023
@jliexpensify
Copy link
Contributor

jliexpensify commented Dec 13, 2023

Payment Summary:

Upworks job here

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 13, 2023
@melvin-bot melvin-bot bot changed the title [$500] Android - Request Money - A black area appears in the receipt [HOLD for payment 2023-12-20] [$500] Android - Request Money - A black area appears in the receipt Dec 13, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 13, 2023
Copy link

melvin-bot bot commented Dec 13, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Dec 13, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.11-25 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-20. 🎊

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 13, 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:

  • [@parasharrajat] The PR that introduced the bug has been identified. Link to the PR:
  • [@parasharrajat] 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:
  • [@parasharrajat] 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:
  • [@parasharrajat] Determine if we should create a regression test for this bug.
  • [@parasharrajat] 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.
  • [@jliexpensify] 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 20, 2023
@jliexpensify
Copy link
Contributor

Bump @parasharrajat to complete checklist.

Paid and job closed!

@jliexpensify jliexpensify removed the Awaiting Payment Auto-added when associated PR is deployed to production label Dec 20, 2023
@jliexpensify jliexpensify changed the title [HOLD for payment 2023-12-20] [$500] Android - Request Money - A black area appears in the receipt [WAITING ON CHECKLIST] Android - Request Money - A black area appears in the receipt Dec 20, 2023
@parasharrajat
Copy link
Member

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:

Regression Test Steps

  1. Login any account
  2. Go to 1:1 DM > Composer + > Request money
  3. Enter amount and proceed to confirmation page
  4. Tap 3-dot menu > Add receipt
  5. Upload a receipt from gallery
  6. Verify that app doesn't crash and receipt preview shows correctly
  7. Tap 3-dot menu > Add receipt
  8. Capture photo from camera
  9. Verify that app doesn't crash and receipt preview shows correctly

Do you agree 👍 or 👎 ?

@luacmartins
Copy link
Contributor

We already have steps covering this flow and QA caught this issue. So I think we're good without new steps.

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

melvin-bot bot commented Dec 25, 2023

@parasharrajat @jliexpensify @stitesExpensify @mkhutornyi this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

Copy link

melvin-bot bot commented Dec 26, 2023

@parasharrajat, @jliexpensify, @stitesExpensify, @mkhutornyi Eep! 4 days overdue now. Issues have feelings too...

@jliexpensify
Copy link
Contributor

Thanks Rajat, test added!

@parasharrajat
Copy link
Member

Payment requested as per #32844 (comment)

@JmillsExpensify
Copy link

$500 approved for @parasharrajat based on this summary.

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

No branches or pull requests

7 participants