Skip to content

[HOLD for payment 2023-08-08] [$1000] Android - User icons overlapping in the group header and outline is not showing perfectly. #22952

Closed

Description

@kbecciv

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 and Go offline
  2. Press FAB > New Group
  3. Select 8 participants > Press Create Group
  4. Observe the page Header where one avatar of the user and +7 are written & also observe the 8 Avatars in the Chat Header

Expected Result:

Chat header icons should be like the ios where we can not see the avatar of another user from semi-transparent background.

Actual Result:

Chat header icons should be like the ios where icons do not overlap another icon.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.41-1
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
Group-icon-overlap
group-chat-header

Screen_Recording_20230715_154037_Expensify.Chat.mp4

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

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0194b561dccf84201f
  • Upwork Job ID: 1681461212925595648
  • 2023-07-19
  • Automatic offers:
    • s77rt | Reviewer | 25762373
    • jayeshmangwani | Contributor | 25762376
    • jayeshmangwani | Reporter | 25762379

Activity

  1. added
    Daily
    Bug
    on Jul 15, 2023
  2. melvin-bot commented on Jul 15, 2023

    @melvin-bot

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

  3. melvin-bot commented on Jul 15, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. kbecciv commented on Jul 15, 2023

    @kbecciv
    Author

    Proposal

    from: @jayeshmangwani

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

    User icons overlapping in the group header and outline is not showing perfectly.

    What is the root cause of that problem?

    On Android, when we apply opacity to a parent, all of its children will inherit the opacity; context is here in the issue

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

    We need to pass needsOffscreenAlphaCompositing prop to the OfflineWithFeedback parent Of the Group page Header and Chat header Components here so that Android can align with other platforms and child does not inherit the opacity

    At these two places, we need to add the needsOffscreenAlphaCompositing prop to OfflineWithFeedback

    1. For Report screen header

    <OfflineWithFeedback
    pendingAction={addWorkspaceRoomOrChatPendingAction}
    errors={addWorkspaceRoomOrChatErrors}
    shouldShowErrorMessages={false}

    2. For Chat Header where 8 users Avatar is visible

    <OfflineWithFeedback
    pendingAction={lodashGet(props.report, 'pendingFields.addWorkspaceRoom') || lodashGet(props.report, 'pendingFields.createChat')}
    errors={lodashGet(props.report, 'errorFields.addWorkspaceRoom') || lodashGet(props.report, 'errorFields.createChat')}
    errorRowStyles={[styles.ml10, styles.mr2]}
    onClose={() => Report.navigateToConciergeChatAndDeleteReport(props.report.reportID)}

    This Same Issue happens at a few places on the Android

    1. Workspace Thread header
    WS-header

    2. LHN OptionsList

    LHN-OptionsList

    We also need to add the needsOffscreenAlphaCompositing prop to parent OfflineWithFeedback.

    <OfflineWithFeedback
    pendingAction={this.props.option.pendingAction}
    errors={this.props.option.allReportErrors}
    shouldShowErrorMessages={false}

    <OfflineWithFeedback
    pendingAction={optionItem.pendingAction}
    errors={optionItem.allReportErrors}
    shouldShowErrorMessages={false}

    Note: We will test all the overlapping icons offline on Android in part of this issue so that those can be fixed in this single issue

  5. jayeshmangwani commented on Jul 16, 2023

    @jayeshmangwani
    Contributor

    Proposal

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

    User icons overlapping in the group header and outline is not showing perfectly.

    What is the root cause of that problem?

    On Android, when we apply opacity to a parent, all of its children will inherit the opacity; context is here in the issue

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

    We need to pass needsOffscreenAlphaCompositing prop to the OfflineWithFeedback parent Of the Group page Header and Chat header Components here so that Android can align with other platforms and child does not inherit the opacity

    At these two places, we need to add the needsOffscreenAlphaCompositing prop to OfflineWithFeedback

    1. For Report screen header

    <OfflineWithFeedback
    pendingAction={addWorkspaceRoomOrChatPendingAction}
    errors={addWorkspaceRoomOrChatErrors}
    shouldShowErrorMessages={false}

    2. For Chat Header where 8 users Avatar is visible

    <OfflineWithFeedback
    pendingAction={lodashGet(props.report, 'pendingFields.addWorkspaceRoom') || lodashGet(props.report, 'pendingFields.createChat')}
    errors={lodashGet(props.report, 'errorFields.addWorkspaceRoom') || lodashGet(props.report, 'errorFields.createChat')}
    errorRowStyles={[styles.ml10, styles.mr2]}
    onClose={() => Report.navigateToConciergeChatAndDeleteReport(props.report.reportID)}

    This Same Issue happens at a few places on the Android

    1. Workspace Thread header
    WS-header

    2. LHN OptionsList

    LHN-OptionsList

    We also need to add the needsOffscreenAlphaCompositing prop to parent OfflineWithFeedback.

    <OfflineWithFeedback
    pendingAction={this.props.option.pendingAction}
    errors={this.props.option.allReportErrors}
    shouldShowErrorMessages={false}

    <OfflineWithFeedback
    pendingAction={optionItem.pendingAction}
    errors={optionItem.allReportErrors}
    shouldShowErrorMessages={false}

    Note: We will test all the overlapping icons offline on Android in part of this issue so that those can be fixed in this single issue

  6. melvin-bot commented on Jul 18, 2023

    @melvin-bot

    @michaelhaxhiu Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  7. added
    External
    on Jul 19, 2023
  8. changed the title [-]Android - User icons overlapping in the group header and outline is not showing perfectly.[/-] [+][$1000] Android - User icons overlapping in the group header and outline is not showing perfectly.[/+] on Jul 19, 2023
  9. melvin-bot commented on Jul 19, 2023

    @melvin-bot
  10. added
    Help Wanted
    on Jul 19, 2023
  11. melvin-bot commented on Jul 19, 2023

    @melvin-bot

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

  12. melvin-bot commented on Jul 19, 2023

    @melvin-bot

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

  13. 31 remaining items

  14. melvin-bot commented on Aug 1, 2023

    @melvin-bot

    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:

    • [@s77rt] The PR that introduced the bug has been identified. Link to the PR:
    • [@s77rt] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@s77rt] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@s77rt] Determine if we should create a regression test for this bug.
    • [@s77rt] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@michaelhaxhiu] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  15. s77rt commented on Aug 3, 2023

    @s77rt
    Member
    • The PR that introduced the bug has been identified: None. This is an Android thing
    • The offending PR has been commented on: n/a
    • A discussion in #expensify-bugs has been started: We have this (#expensify-open-source) https://expensify.slack.com/archives/C01GTK53T8Q/p1689793295080599
    • Determine if we should create a regression test for this bug: No
  16. removed
    Bug
    on Aug 4, 2023
  17. removed their assignment
    on Aug 4, 2023
  18. added
    Bug
    on Aug 4, 2023
  19. melvin-bot commented on Aug 4, 2023

    @melvin-bot

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

  20. added
    Daily
    and removed
    Weekly
    on Aug 4, 2023
  21. deleted a comment from melvin-bot on Aug 4, 2023
  22. self-assigned this
    on Aug 4, 2023
  23. michaelhaxhiu commented on Aug 4, 2023

    @michaelhaxhiu
    Contributor

    Note: I'm preparing to go OOO for ~2 weeks and need a BZ buddy to watch over this in the meantime. 🙏

    Next steps:

    Wait for 8/8 to arrive. After that's done, we'll process payments as follows (assuming no regressions 🤞):

    I'll take this over when I return if it's not complete. Thanks in advance @kadiealexander

  24. kadiealexander commented on Aug 7, 2023

    @kadiealexander
    Contributor
  25. kadiealexander commented on Aug 8, 2023

    @kadiealexander
    Contributor

    Everyone is paid! 🎉

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions