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-04] [HOLD for payment 2024-01-03] [$125] Profile - Zoom icon is black in dark and light mode, it is hardly visible in dark mode #33590

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

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.17-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 URL https://staging.new.expensify.com/
  2. Go to Settings -> Profile -> Click on Avatar -> Upload photo -> Choose an image -> Open
  3. Notice that the zoom icon is black in dark and light mode

Expected Result:

The Zoom icon is well visible in dark mode

Actual Result:

Zoom icon is black in dark and light mode, it is hardly visible in dark mode

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

image

Bug6326167_1703596463724.bandicam_2023-12-26_13-23-31-571.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~011bcc7fd01bf144d6
  • Upwork Job ID: 1739772024796622848
  • Last Price Increase: 2023-12-26
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Dec 26, 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 26, 2023

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

@Pujan92
Copy link
Contributor

Pujan92 commented Dec 26, 2023

Proposal

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

What is the root cause of that problem?

Zoom icon isn't visible for the upload image view

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

Seems it comes from this PR where there is a typo for setting the color for fill prop.
https://github.com/Expensify/App/pull/31034/files#diff-f265a5ae9cea30af21ecbd34b52aa47636dd70e948f45c95246a41fc62398580L405

It gets noticed after this PR where fallback color for fill has been removed.
https://github.com/Expensify/App/pull/30905/files#diff-a5a68b4de9f3cac867a3129751702510d00054f7714008af2fbf19dca2937d10L67

What alternative solutions did you explore? (Optional)

It should be theme.icon instead theme.icons.

@Tony-MK
Copy link
Contributor

Tony-MK commented Dec 26, 2023

Proposal

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

The Zoom icon is black in dark and light modes, it is hardly visible in dark mode

What is the root cause of that problem?

The root cause of the problem is we are theme.icons to fill the icon color. This prohibits the color of the zoom icon from adapting to the device's theme.

<Icon
src={Expensicons.Zoom}
fill={theme.icons}
/>

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

Instead of theme.icons, use theme.inverse to fill the Icon's color as the inverse of the device's theme.

Just like how the rotate button adapts to the device's theme.

Therefore, I think we should replicate its theme.

iconFill={theme.inverse}

Result

Light Theme

Dark Theme

Dark Theme

Light Theme

@youssef-lr youssef-lr changed the title Profile - Zoom icon is black in dark and light mode, it is hardly visible in dark mode [$125] Profile - Zoom icon is black in dark and light mode, it is hardly visible in dark mode Dec 26, 2023
Copy link

melvin-bot bot commented Dec 26, 2023

⚠️ 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.

@youssef-lr
Copy link
Contributor

@Pujan92 are you available to raise a PR right now? If not, I can assign @Tony-MK if they're available. Otherwise I'll create the PR myself as this is a blocker.

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Dec 26, 2023
Copy link

melvin-bot bot commented Dec 26, 2023

Job added to Upwork: https://www.upwork.com/jobs/~011bcc7fd01bf144d6

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 26, 2023
Copy link

melvin-bot bot commented Dec 26, 2023

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

@mountiny
Copy link
Contributor

@youssef-lr Will you handle this one? seems like either contributor is out

@youssef-lr
Copy link
Contributor

Yeah I created the PR

@Tony-MK
Copy link
Contributor

Tony-MK commented Dec 26, 2023

@youssef-lr , I can do it.

@youssef-lr
Copy link
Contributor

Can you give it a quick review please? It's straightforward

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Dec 26, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Dec 27, 2023
@melvin-bot melvin-bot bot changed the title [$125] Profile - Zoom icon is black in dark and light mode, it is hardly visible in dark mode [HOLD for payment 2024-01-03] [$125] Profile - Zoom icon is black in dark and light mode, it is hardly visible in dark mode Dec 27, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Dec 28, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-01-03] [$125] Profile - Zoom icon is black in dark and light mode, it is hardly visible in dark mode [HOLD for payment 2024-01-04] [HOLD for payment 2024-01-03] [$125] Profile - Zoom icon is black in dark and light mode, it is hardly visible in dark mode Dec 28, 2023
Copy link

melvin-bot bot commented Dec 28, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.18-8 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-04. 🎊

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:

  • @Pujan92 requires payment (Needs manual offer from BZ)
  • @c3024 requires payment (Needs manual offer from BZ)

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jan 2, 2024
@c3024
Copy link
Contributor

c3024 commented Jan 5, 2024

I haven't done anything with this issue. Unassigning myself.

@melvin-bot melvin-bot bot removed the Overdue label Jan 5, 2024
@c3024 c3024 removed their assignment Jan 5, 2024
@melvin-bot melvin-bot bot added the Overdue label Jan 8, 2024
Copy link

melvin-bot bot commented Jan 8, 2024

@youssef-lr, @Pujan92 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot removed the Overdue label Jan 10, 2024
@Pujan92
Copy link
Contributor

Pujan92 commented Jan 10, 2024

not sure if I am eligible for any compensation, @youssef-lr can you plz confirm

@Pujan92
Copy link
Contributor

Pujan92 commented Jan 10, 2024

not sure if I am eligible for any compensation, @youssef-lr can you plz confirm

Also tagging @mountiny to confirm.

@mountiny
Copy link
Contributor

@youssef-lr if the solution from @Pujan92 has been reused, we should pay them out partial reward as it was a deploy blocker

@mountiny mountiny reopened this Jan 10, 2024
@melvin-bot melvin-bot bot added the Overdue label Jan 12, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

@youssef-lr, @Pujan92 Huh... This is 4 days overdue. Who can take care of this?

@youssef-lr youssef-lr added the Bug Something is broken. Auto assigns a BugZero manager. label Jan 17, 2024
Copy link

melvin-bot bot commented Jan 17, 2024

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

@melvin-bot melvin-bot bot removed the Overdue label Jan 17, 2024
@youssef-lr youssef-lr removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Jan 17, 2024
@youssef-lr
Copy link
Contributor

@sophiepintoraetz can we issue a $125 payment to @Pujan92 please.

@sophiepintoraetz
Copy link
Contributor

hired - offer sent

@Pujan92
Copy link
Contributor

Pujan92 commented Jan 18, 2024

hired - offer sent

Accepted.

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

7 participants