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

[$2000] Empty state icons for reimbursementAccountLoadingAnimation don't have a transparent background in Dark Theme. #13151

Closed
kavimuru opened this issue Nov 29, 2022 · 78 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Nov 29, 2022

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Go to any workspace and attempt the Connect Bank Account step
  2. Enter the bank account details, go to the company step
  3. Fill in the company step, and wait for the reimbursement account loading animation (screen with the title One moment)
  4. Check that the icons don't have a transparent background (instead have a gray background).

Expected Result:

The Icons should have a transparent background

Actual Result:

the icons have a gray background.

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Mobile Web

Version Number: 1.2.33-2
Reproducible in staging?: y
Reproducible in production?: Could not verify in production
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

RPReplay_Final1669717357.MP4
JFZT3783.1.MP4

Expensify/Expensify Issue URL:
Issue reported by: @mananjadhav
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1669717660117089

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d555366565521d92
  • Upwork Job ID: 1597976370465353728
  • Last Price Increase: 2022-12-20
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 29, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 29, 2022

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

@mananjadhav
Copy link
Collaborator

Tagging @Expensify/design and @shawnborton too

@abekkala
Copy link
Contributor

@shawnborton is this going to be fixed internally?
If so, then I can just create an Upwork posting to hire/pay the contributor who reported the issue.

@shawnborton
Copy link
Contributor

The new .gif can be created internally, but we can use a contributor to update the .gif (it's just a file path that points to cloudfront) in the app.

@Puneet-here
Copy link
Contributor

@shawnborton, I can make the change (it needs to be done here). We also need to update other gif that we are using locally (check the one below)

https://github.com/Expensify/App/blob/main/assets/images/confetti-pop.gif

@shawnborton
Copy link
Contributor

Where are we using confetti pop? I thought we stopped using it with the new workspace illustrations that we merged?

@Puneet-here
Copy link
Contributor

Puneet-here commented Nov 30, 2022

It's at password confirmation screen and request call confirmation
Once you change your password successfully you will see it or after requesting a call.

<Image
source={confettiPop}

<Image
source={confettiPop}

@shawnborton
Copy link
Contributor

Can you share screenshots of those two pages?

@Puneet-here
Copy link
Contributor

Screenshot 2022-11-30 at 5 54 58 AM

Screenshot 2022-11-30 at 5 55 41 AM

@Puneet-here
Copy link
Contributor

We can use Illustrations.TadaBlue instead

            <Icon
                src={Illustrations.TadaBlue}
                height={100}
                width={100}
                fill={defaultTheme.iconSuccessFill}
            />

Screenshot 2022-11-30 at 5 58 17 AM

and maybe some margin below the icon.

@shawnborton
Copy link
Contributor

shawnborton commented Nov 30, 2022

I think we can use the new simple thumbs up illustration for those:

image

@Puneet-here
Copy link
Contributor

Looks good to me.

Screenshot 2022-11-30 at 6 05 19 AM

@mananjadhav
Copy link
Collaborator

In this are we covering all the illustrations? One is the Reimbursement Loading Animation, and second is the Request a callback?

@Puneet-here
Copy link
Contributor

One is the Reimbursement Loading Animation, and second is the Request a callback?

PasswordConfirmationScreen will be changed too

<Image
source={confettiPop}

@Puneet-here
Copy link
Contributor

Puneet-here commented Nov 30, 2022

Proposal

I think we can create a new confirmationPage component and we can pass props to it. This way we can reuse it.
We are using same logic at multiple pages -
PasswordConfirmationScreen
RequestCallConfirmationScreen
AddPersonalBankAccountPage
TransferBalancePage
ActivateStep

The code will look like this -

     <>
        <View style={[styles.screenCenteredContainer, styles.alignItemsCenter]}>
            <Icon
                src={props.illustration}
                height={100}
                width={100}
                fill={defaultTheme.iconSuccessFill}
            />
            <Text
                style={[
                    styles.textStrong,
                    styles.textLarge,
                    styles.mv2,
                ]}
            >
                {props.heading}
            </Text>
            <Text style={styles.textAlignCenter}>
                {props.description}
            </Text>
        </View>
        {props.shouldShowButton && (
        <FixedFooter>
            <Button
                success
                text={props.buttonText}
                style={styles.mt6}
                pressOnEnter
                onPress={props.onButtonPress}
            />
        </FixedFooter>
        )}
    </>

I have added props.shouldShowButton so that it can be used at ActivateStep too

@Puneet-here
Copy link
Contributor

@shawnborton at AddPersonalBankAccountPage
TransferBalancePage we are using TadaBlue should we also change the illustration for them?
Screenshot 2022-11-30 at 2 17 12 PM
Screenshot 2022-11-30 at 2 16 03 PM

@abekkala abekkala added the External Added to denote the issue can be worked on by a contributor label Nov 30, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 30, 2022

Current assignee @abekkala is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot changed the title Empty state icons for reimbursementAccountLoadingAnimation don't have a transparent background in Dark Theme. [$1000] Empty state icons for reimbursementAccountLoadingAnimation don't have a transparent background in Dark Theme. Nov 30, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 30, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Nov 30, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 30, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 30, 2022

Triggered auto assignment to @tgolen (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@joekaufmanexpensify
Copy link
Contributor

On that note, I am going to be OOO from tomorrow - January 2nd. Given the PR is still in review, it's unlikely to be ready for payment by the time I'm back (as we still need to finish reviewing, merge and deploy, and then wait the 7 day regression period).

With that in mind, I'm not going to re-assign this to another member of Bug Zero team while I'm OOO as there should be no urgent action needed on my part. I'm also going to change the prioritization here to weekly until I'm back. If at any time someone from the bug-zero team is needed here while I'm out, feel free to raise in #contributor-plus or #expensify-open-source and someone will assist.

Otherwise, I'll change the prioritization back to daily once I'm back!

@joekaufmanexpensify joekaufmanexpensify added Weekly KSv2 and removed Daily KSv2 labels Dec 22, 2022
@joekaufmanexpensify
Copy link
Contributor

Okay @mountiny confirmed they can assist with reviewing the PR, so assigning them to the issue as well!

@JmillsExpensify
Copy link

Nice! Also, I'm happy to keep an eye on this one while you're out. Will help move things along, if required.

@joekaufmanexpensify
Copy link
Contributor

Sounds great, thank you!

@mountiny
Copy link
Contributor

Merged 🎉 nice job @Puneet-here

@Puneet-here
Copy link
Contributor

Thanks for the help reviewing it.

@JmillsExpensify
Copy link

Nice, we'll circle back on this for payment as the regression period passes.

@joekaufmanexpensify
Copy link
Contributor

Hm, looks like the bug zero checklist / payment notification was not added to this issue when the PR was deployed to production 5 days ago? I'm thinking maybe they weren't added because I manually changed the issue to weekly?

Regardless, I will manually create the BZ checklist, and payment checklist on the issue. Payment will be issued on 2023-01-05.

image

@joekaufmanexpensify joekaufmanexpensify changed the title [$2000] Empty state icons for reimbursementAccountLoadingAnimation don't have a transparent background in Dark Theme. [hold for payment 2023-01-05] [$2000] Empty state icons for reimbursementAccountLoadingAnimation don't have a transparent background in Dark Theme. Jan 3, 2023
@joekaufmanexpensify
Copy link
Contributor

joekaufmanexpensify commented Jan 5, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.44-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

#13744

If no regressions arise, payment will be issued on 2023-01-05. 🎊

After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@joekaufmanexpensify
Copy link
Contributor

joekaufmanexpensify commented Jan 5, 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:

@joekaufmanexpensify joekaufmanexpensify changed the title [hold for payment 2023-01-05] [$2000] Empty state icons for reimbursementAccountLoadingAnimation don't have a transparent background in Dark Theme. [$2000] Empty state icons for reimbursementAccountLoadingAnimation don't have a transparent background in Dark Theme. Jan 5, 2023
@joekaufmanexpensify joekaufmanexpensify added Daily KSv2 and removed Weekly KSv2 labels Jan 5, 2023
@joekaufmanexpensify
Copy link
Contributor

Okay 7 day regression period has passed, and we're all set to issue payment here. Given the PR was merged within 3 business days from when the contributor was assigned to the issue, both the contributor and C+ qualify for a 50% bonus here. We need to pay the following amounts:

  • @mananjadhav - $250 for reporting bug.
  • @Puneet-here - $3,000 for PR fixing the bug (includes 50% bonus of $1,000).
  • @sobitneupane - $3,000 for C+ review (includes 50% bonus of $1,000).

@joekaufmanexpensify
Copy link
Contributor

@mananjadhav $250 sent, and contract ended!

@joekaufmanexpensify
Copy link
Contributor

@Puneet-here $3,000 sent, and contract ended!

@joekaufmanexpensify
Copy link
Contributor

@sobitneupane $3,000 sent, and contract ended!

@joekaufmanexpensify
Copy link
Contributor

Job closed in upwork.

@joekaufmanexpensify
Copy link
Contributor

Proposed new regression test here!

@mountiny
Copy link
Contributor

mountiny commented Jan 6, 2023

To complete the checklist, I have commented on this Pr where we have made the switch to the dark mode #12944 (comment) and we should have probably update the icons there or at least have a follow up ready.

Posted a discussion in Slack https://expensify.slack.com/archives/C049HHMV9SM/p1672994272661819

I think the regression tests Joe posted should be enough for this going forwards.

@joekaufmanexpensify
Copy link
Contributor

Added new regression test issue above!

@joekaufmanexpensify
Copy link
Contributor

Okay, bug is fixed, payment is handled, and BZ checklist is complete. This is all set. Thanks everyone!

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Nov 29, 2023
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. 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