Skip to content

[HOLD for payment 2022-03-08] Avatars no longer have a default background color behind them #7494

Closed

Description

@mvtglobally

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. Open app
  2. Hit on search and check loading avatars

Expected Result:

Avatars should have grey background

Actual Result:

Avatars have no background

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.1.33-3
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
IMG_2901

Expensify/Expensify Issue URL:
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1643299405098100

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Feb 1, 2022

    @MelvinBot
    Contributor

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

  2. deetergp commented on Feb 1, 2022

    @deetergp
    Contributor

    Definitely something contributors could work on.

  3. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Feb 1, 2022
  4. MelvinBot commented on Feb 1, 2022

    @MelvinBot
    Contributor

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

  5. mdneyazahmad commented on Feb 2, 2022

    @mdneyazahmad
    Contributor

    Proposal

    const imageStyle = [
    this.props.size === 'small' ? styles.avatarSmall : styles.avatarNormal,
    ...this.props.imageStyles,
    ];

    + import themeColors from '../styles/themes/default';
    
    
            const imageStyle = [
                this.props.size === 'small' ? styles.avatarSmall : styles.avatarNormal,
    +           {
    +             backgroundColor: themeColors.icon,
    +           },
                ...this.props.imageStyles,
            ];

    Screenshot 2022-02-02 at 3 23 51 PM

  6. sobitneupane commented on Feb 2, 2022

    @sobitneupane
    Contributor

    Proposal
    Addition of backgroundColor in avatarNormal and avatarSmall in src/styles/styles.js solves the issue.

        avatarNormal: {
            height: variables.componentSizeNormal,
            width: variables.componentSizeNormal,
            borderRadius: variables.componentSizeNormal,
    +        backgroundColor: themeColors.icon
        },
    
        avatarSmall: {
            height: variables.avatarSizeSmall,
            width: variables.avatarSizeSmall,
            borderRadius: variables.avatarSizeSmall,
    +        backgroundColor: themeColors.icon
        },
  7. mdneyazahmad commented on Feb 2, 2022

    @mdneyazahmad
    Contributor

    @sobitneupane is same as mine. I invest my time to find reason and the background colors used in the main header avatar. Also, I think the proposal is not the final implementation. It should state the reason and a possible solution. Please correct me if I am wrong.

  8. sobitneupane commented on Feb 2, 2022

    @sobitneupane
  9. 16 remaining items

  10. AndrewGable commented on Feb 7, 2022

    @AndrewGable
    Contributor

    👍 - Sounds good

  11. rushatgabhane commented on Feb 9, 2022

    @rushatgabhane
    Member

    @sobitneupane feel free to submit a PR.

    @dylanexpensify could you please assign @sobitneupane to the issue? Thanks

  12. rushatgabhane commented on Feb 14, 2022

    @rushatgabhane
    Member

    @sobitneupane gentle bump to submit a PR ^^

  13. sobitneupane commented on Feb 20, 2022

    @sobitneupane
    Contributor

    @rushatgabhane I found console error in the PR #7742 so have raised a complementary PR #7845 to fix the issue.
    SORRY for inconvenience.

  14. rushatgabhane commented on Feb 21, 2022

    @rushatgabhane
    Member

    @sobitneupane thanks for noticing and making the changes!

  15. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed on Mar 1, 2022
  16. changed the title [-]Avatars no longer have a default background color behind them[/-] [+][HOLD for payment 2022-03-08] Avatars no longer have a default background color behind them[/+] on Mar 1, 2022
  17. botify commented on Mar 1, 2022

    @botify

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.40-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 2022-03-08. 🎊

  18. dylanexpensify commented on Mar 8, 2022

    @dylanexpensify
    Contributor

    @sobitneupane could you please apply to the job to be paid out?

  19. sobitneupane commented on Mar 8, 2022

    @sobitneupane
    Contributor

    @sobitneupane could you please apply to the job to be paid out?

    Applied.

  20. dylanexpensify commented on Mar 8, 2022

    @dylanexpensify
    Contributor
  21. dylanexpensify commented on Mar 8, 2022

    @dylanexpensify
    Contributor

    Payments sent, contracts ended, posting closed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions