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-01-25] [HOLD for payment 2024-01-24] [$250] Android - The center photo is blank in edit avatar page #34500

Closed
1 of 6 tasks
lanitochka17 opened this issue Jan 15, 2024 · 48 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Jan 15, 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.25-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. Go to Settings > Profile
  2. Tap on the avatar
  3. Upload any photo

Expected Result:

The center photo is visible in edit avatar page

Actual Result:

The center photo is blank in edit avatar 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

Add any screenshot/video evidence

Bug6342925_1705326692560.Screen_Recording_20240115_211537_Camera.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013bd04ea8566e3d10
  • Upwork Job ID: 1746941371136151552
  • Last Price Increase: 2024-01-15
  • Automatic offers:
    • situchan | Reviewer | 28102515
    • s-alves10 | Contributor | 28102516
Issue OwnerCurrent Issue Owner: @conorpendergrast
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Jan 15, 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 Jan 15, 2024

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

@neil-marcellini
Copy link
Contributor

I have to stop and drive for 1h, I'll get to this as soon as I'm back.

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Jan 15, 2024
@melvin-bot melvin-bot bot changed the title Android - The center photo is blank in edit avatar page [$500] Android - The center photo is blank in edit avatar page Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

Job added to Upwork: https://www.upwork.com/jobs/~013bd04ea8566e3d10

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

melvin-bot bot commented Jan 15, 2024

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

@mountiny mountiny changed the title [$500] Android - The center photo is blank in edit avatar page [$250] Android - The center photo is blank in edit avatar page Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

Upwork job price has been updated to $250

@s-alves10
Copy link
Contributor

Proposal

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

Center circle image is filled with app background color instead of transparent in the avatar crop modal.

What is the root cause of that problem?

We use fill props in ImageCropView as you can see below

fill={theme.iconReversed}

This is the root cause

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

Simply removing fill props would solve the issue

Result

image

What alternative solutions did you explore? (Optional)

@situchan
Copy link
Contributor

@s-alves10 do you know which PR caused this?

@s-alves10
Copy link
Contributor

@situchan I think this is reproducible in production as well. Can you take a look?

1 similar comment
@s-alves10

This comment was marked as duplicate.

@situchan
Copy link
Contributor

At least not happening on playstore app (v1.4.24-8)

@shubham1206agra
Copy link
Contributor

@situchan Can you check if this is coming from RN upgrade?

@situchan
Copy link
Contributor

@situchan Can you check if this is coming from RN upgrade?

I have no way to check quickly since android build takes time.
Removing fill works well but asked here for confirmation

@shubham1206agra
Copy link
Contributor

I am the author there. We cannot remove fill there actually. But I am confused why fill will cause this problem.

@s-alves10
Copy link
Contributor

@shubham1206agra Why do you think we should not remove fill? Can you please explain a bit?

Also please check this issue expo/expo#21530 (comment)
cc @situchan

@shubham1206agra
Copy link
Contributor

@situchan
Copy link
Contributor

We applied patch to fix expo/expo#21530

@shubham1206agra
Copy link
Contributor

If you confirm the root cause to be RN upgrade, best solution would be to downgrade expo-image.

@Pujan92
Copy link
Contributor

Pujan92 commented Jan 15, 2024

I am not able to reproduce it.
Version - v1.4.25-2 Develop

Screenshot_1705341317

@mountiny
Copy link
Contributor

@s-alves10 @situchan Can you confirm this is fixed on the latest Android staging? I dont have android device

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Jan 16, 2024
@situchan
Copy link
Contributor

Please share android staging apk. Android is the only platform we don't have access for staging build.

@mountiny
Copy link
Contributor

@situchan confirmed the fix on android

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 17, 2024
@melvin-bot melvin-bot bot changed the title [$250] Android - The center photo is blank in edit avatar page [HOLD for payment 2024-01-24] [$250] Android - The center photo is blank in edit avatar page Jan 17, 2024
Copy link

melvin-bot bot commented Jan 17, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 17, 2024
Copy link

melvin-bot bot commented Jan 17, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.25-10 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 2024-01-24. 🎊

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jan 18, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-01-24] [$250] Android - The center photo is blank in edit avatar page [HOLD for payment 2024-01-25] [HOLD for payment 2024-01-24] [$250] Android - The center photo is blank in edit avatar page Jan 18, 2024
Copy link

melvin-bot bot commented Jan 18, 2024

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

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

@melvin-bot melvin-bot bot added the Overdue label Jan 29, 2024
@neil-marcellini neil-marcellini added the Bug Something is broken. Auto assigns a BugZero manager. label Jan 29, 2024
Copy link

melvin-bot bot commented Jan 29, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Overdue Weekly KSv2 labels Jan 29, 2024
@neil-marcellini neil-marcellini removed the Bug Something is broken. Auto assigns a BugZero manager. label Jan 29, 2024
@neil-marcellini
Copy link
Contributor

@conorpendergrast would you please handle payment here?

@conorpendergrast
Copy link
Contributor

Gladly!

@conorpendergrast
Copy link
Contributor

conorpendergrast commented Jan 29, 2024

Payouts due:

Upwork job is here.

@conorpendergrast
Copy link
Contributor

This was caught in a regression test by Applause, but I don't see that we have a clear idea of where this regression happened.

@situchan thoughts?

@situchan
Copy link
Contributor

This came from expo-image upgrade. It was upstream issue which couldn't be handled by us.
The issue won't likely to be happen in the future once we settle the expo version which fixes all these image related issues.

@conorpendergrast
Copy link
Contributor

Alright, sounds good. Closing out, thanks!

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 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