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] Referral - Info icon in Referral banner is black in dark mode #34501

Closed
6 tasks done
lanitochka17 opened this issue Jan 15, 2024 · 24 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2

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 FAB > Request money > Manual
  2. Enter amount > Next

Expected Result:

The info icon in Referral banner is white in dark mode

Actual Result:

The info icon in Referral banner is black 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

Bug6342945_1705327581095!Screenshot_2024-01-15_at_21 02 40

View all open jobs on GitHub

@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 @pecanoro (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@bernhardoj
Copy link
Contributor

Proposal

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

The referral info icon color is black in dark mode.

What is the root cause of that problem?

This is a regression from #32692 where we migrate to SelectionList and creating our own referral component but we forget to pass a fill props to the icon like we do in BaseOptionsSelector.

<Text>
{this.props.translate(`referralProgram.${this.props.referralContentType}.buttonText1`)}
<Text
color={this.props.theme.success}
style={this.props.themeStyles.textStrong}
>
{this.props.translate(`referralProgram.${this.props.referralContentType}.buttonText2`)}
</Text>
</Text>
<Icon
src={Info}
height={20}
width={20}
fill={this.props.theme.icon}
/>

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

Pass the fill props as below

fill={theme.icon}

@shubham1206agra
Copy link
Contributor

shubham1206agra commented Jan 15, 2024

I believe @lukemorawski is working on this already.
cc @cristipaval

Slack link https://expensify.slack.com/archives/C01GTK53T8Q/p1705068053060889

@brunovjk
Copy link
Contributor

brunovjk commented Jan 15, 2024

I believe @lukemorawski is working on this already.

#34443 (comment)

@pecanoro
Copy link
Contributor

pecanoro commented Jan 15, 2024

@brunovjk I see, thank you for sharing it! The only issue is that since this is a deploy blocker, I am not sure if we want to get a fix CPed as soon as possible and I think that PR will take a bit. Do you have an ETA of when it will be ready? Since it's a small design issue, if it's going to get fixed soon, maybe we can wait, but if it's going to take a few days, maybe we want a PR just to fix this problem from @lukemorawski

@lukemorawski
Copy link
Contributor

@pecanoro I can fix this in couple minutes and post a PR to this issue

@pecanoro
Copy link
Contributor

@lukemorawski That would be great! Thank you!

@brunovjk
Copy link
Contributor

brunovjk commented Jan 15, 2024

@pecanoro My PR will be ready for review today, I have an urgent to complete the PR because there are other blockers that it solves.

But I understand the urgency, the main purpose of my PR is different anyway, #31779,
So perhaps it would be better if @lukemorawski deals with this 'icon style' in a new PR here and I revert the commit about it in my PR.
What do you think @lukemorawski?

@lukemorawski
Copy link
Contributor

@pecanoro My PR will be ready for review today, I have an urgent to complete the PR because there are other blockers that it solves.

But I understand the urgency, the main purpose of my PR is different anyway, So perhaps it would be better if @lukemorawski deals with this 'icon style' in a new PR here and I revert the commit about it in my PR. What do you think @lukemorawski?

sure, the less conflicts the better :) My fix icon PR is on it's way. Should be ready in few minutes and posted here #34501

@brunovjk
Copy link
Contributor

sure, the less conflicts the better :) My fix icon PR is on it's way. Should be ready in few minutes and posted here #34501

Awesome!

@lukemorawski
Copy link
Contributor

@pecanoro here's the PR #34517

@pecanoro
Copy link
Contributor

Fix works, removing deploy blocker label!

@pecanoro pecanoro added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jan 15, 2024
@ikevin127
Copy link
Contributor

Reported here on Slack, 3 days ago 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jan 17, 2024
@melvin-bot melvin-bot bot changed the title Referral - Info icon in Referral banner is black in dark mode [HOLD for payment 2024-01-24] Referral - Info icon in Referral banner is black in dark mode 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] Referral - Info icon in Referral banner is black in dark mode [HOLD for payment 2024-01-25] [HOLD for payment 2024-01-24] Referral - Info icon in Referral banner is black in dark mode 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
@pecanoro
Copy link
Contributor

@allroundexperts Do you request payment in newdot or do I need to add a BZ member to handle it?

@melvin-bot melvin-bot bot removed the Overdue label Jan 29, 2024
@allroundexperts
Copy link
Contributor

@pecanoro I request it in ND.

@pecanoro
Copy link
Contributor

Perfect! Closing this one then

@JmillsExpensify
Copy link

Can I get a payment summary on this issue?

@trjExpensify
Copy link
Contributor

👋 What's the history of this issue? It was a follow-up PR to fix a regression, so no payment to the PR author. @allroundexperts wasn't the OG C+ reviewer of that PR, so he's eligible for $500 for the C+ review. Is that right?

P.s - let's always assign a BZ to manage this part.

@trjExpensify trjExpensify self-assigned this Jan 30, 2024
@allroundexperts
Copy link
Contributor

@allroundexperts wasn't the OG C+ reviewer of that PR, so he's eligible for $500 for the C+ review. Is that right?

That's correct!

@trjExpensify
Copy link
Contributor

Cool, so @JmillsExpensify..

@allroundexperts - $500 for the C+ review of this follow-up PR is an accurate payment summary. Proceed!

@JmillsExpensify
Copy link

$500 approved for @allroundexperts based on comment above.

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 Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

10 participants