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

[$250] Bank account - Bank account icons are green when not hovered or clicked #57409

Open
6 of 8 tasks
vincdargento opened this issue Feb 25, 2025 · 16 comments
Open
6 of 8 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. DeployBlockerCash This issue or pull request should block deployment Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@vincdargento
Copy link

vincdargento commented Feb 25, 2025

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: 9.1.5-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Workspace Settings

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace settings > Workflows.
  3. Click Connect bank account.

Expected Result:

"Log into your bank" and "Connect manually" buttons should be grayed when not hovered or clicked.

Actual Result:

"Log into your bank" and "Connect manually" buttons are green when not hovered or clicked.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

bug.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021894449458017903941
  • Upwork Job ID: 1894449458017903941
  • Last Price Increase: 2025-02-25
  • Automatic offers:
    • paultsimura | Reviewer | 106276337
Issue OwnerCurrent Issue Owner: @paultsimura
@vincdargento vincdargento added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 DeployBlockerCash This issue or pull request should block deployment labels Feb 25, 2025
Copy link

melvin-bot bot commented Feb 25, 2025

Triggered auto assignment to @zanyrenney (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Feb 25, 2025

Triggered auto assignment to @neil-marcellini (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Feb 25, 2025

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 25, 2025
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.

@vincdargento
Copy link
Author

@zanyrenney FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@gijoe0295
Copy link
Contributor

Proposal

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

Bank account - Bank account icons are green when not hovered or clicked

What is the root cause of that problem?

We explicitly set the iconFill to green:

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

Remove the explicit icon fill.

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

None

What alternative solutions did you explore? (Optional)

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

None

@gurus00
Copy link

gurus00 commented Feb 25, 2025

I am sure this is the issue on the Staging not on the Prod

@gurus00
Copy link

gurus00 commented Feb 25, 2025

Please add label External.
I can fix this issue quickly

@samranahm
Copy link

samranahm commented Feb 25, 2025

🚨 Edited by proposal-police: This proposal was edited at 2025-02-25 17:14:22 UTC.

Proposal

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

Bank account - Bank account icons are green when not hovered or clicked

What is the root cause of that problem?

Here we are using iconFill={theme.iconMenu} that turn the icons to green even when not clicked or hovered

<MenuItem
title={translate('bankAccount.connectOnlineWithPlaid')}
icon={Expensicons.Bank}
iconFill={theme.iconMenu}
disabled={!!isPlaidDisabled}
onPress={handleConnectPlaid}
shouldShowRightIcon
wrapperStyle={[styles.cardMenuItem, styles.mt4]}
/>
)}
<MenuItem
title={translate('bankAccount.connectManually')}
icon={Expensicons.Connect}
iconFill={theme.iconMenu}
onPress={handleConnectManually}
shouldShowRightIcon
wrapperStyle={[styles.cardMenuItem, styles.mt4]}
/>

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

we need to use

iconFill={theme.icon}

for both Menu Items

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

UI Bug, don't need test

What alternative solutions did you explore? (Optional)

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

Results

Image

Copy link
Contributor

⚠️ @samranahm Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).

@MrMuzyk
Copy link
Contributor

MrMuzyk commented Feb 25, 2025

Caused by #55949. I'm the author of the PR and can fix it

@neil-marcellini neil-marcellini added the External Added to denote the issue can be worked on by a contributor label Feb 25, 2025
@melvin-bot melvin-bot bot changed the title Bank account - Bank account icons are green when not hovered or clicked [$250] Bank account - Bank account icons are green when not hovered or clicked Feb 25, 2025
Copy link

melvin-bot bot commented Feb 25, 2025

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 25, 2025
Copy link

melvin-bot bot commented Feb 25, 2025

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

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 25, 2025
Copy link

melvin-bot bot commented Feb 25, 2025

📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

@neil-marcellini
Copy link
Contributor

Thanks @MrMuzyk, when will you have a fix ready?

@neil-marcellini
Copy link
Contributor

After chatting with @MrMuzyk we are going to revert #55949 since it's causing several issues.

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. DeployBlockerCash This issue or pull request should block deployment Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants