Skip to content

[HOLD for payment 2023-08-24] [$1000] Task - Second avatar of group avatar is highlighted when long pressing on Share somewhere #24008

Closed

Description

@lanitochka17

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 staging.new.expensify.com
  2. Go to any group chat
  3. Click + > Assign task
  4. Enter title and click Next
  5. Long press on Share somewhere field

Expected Result:

Since Share somewhere field is not selectable in group chat task assignment, it should not have any feedback when pressing on it

Actual Result:

The second avatar of group avatar is highlighted when long pressing on Share somewhere

Workaround:

Unknown

Platforms:

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

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

Version Number: 1.3.48.0

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Bug6149411_Screen_Recording_20230801_200354_New_Expensify.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause -Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a8af40e296417c50
  • Upwork Job ID: 1686485461826138112
  • Last Price Increase: 2023-08-01
  • Automatic offers:
    • reinaldosg | Contributor | 25951887

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Aug 1, 2023
  2. melvin-bot commented on Aug 1, 2023

    @melvin-bot

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

  3. melvin-bot commented on Aug 1, 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. reinaldosg commented on Aug 1, 2023

    @reinaldosg
    Contributor

    Proposal

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

    Second avatar of group avatar is highlighted on long press

    What is the root cause of that problem?

    MultipleAvatars style ignore props.interactive so the element always have action

    pressed ? StyleUtils.getBackgroundAndBorderStyle(themeColors.buttonPressedBG) : undefined,
    isHovered && !pressed ? StyleUtils.getBackgroundAndBorderStyle(themeColors.border) : undefined,

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

    Check props.interactive to determine the style

    pressed && props.interactive ? StyleUtils.getBackgroundAndBorderStyle(themeColors.buttonPressedBG) : undefined,
    isHovered && !pressed && props.interactive ? StyleUtils.getBackgroundAndBorderStyle(themeColors.border) : undefined,

    What alternative solutions did you explore? (Optional)

  5. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Aug 1, 2023
  6. changed the title [-] Task - Second avatar of group avatar is highlighted when long pressing on Share somewhere[/-] [+][$1000] Task - Second avatar of group avatar is highlighted when long pressing on Share somewhere[/+] on Aug 1, 2023
  7. melvin-bot commented on Aug 1, 2023

    @melvin-bot
  8. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Aug 1, 2023
  9. melvin-bot commented on Aug 1, 2023

    @melvin-bot

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

  10. melvin-bot commented on Aug 1, 2023

    @melvin-bot

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

  11. hanzalahsamana commented on Aug 1, 2023

    @hanzalahsamana

    I can do this

  12. melvin-bot commented on Aug 1, 2023

    @melvin-bot

    📣 @hanzalahsamana! 📣
    Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
    Please follow these steps:

    1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
    2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
    3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
      Screen Shot 2022-11-16 at 4 42 54 PM
      Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
    
  13. 48 remaining items

  14. sobitneupane commented on Aug 28, 2023

    @sobitneupane
    Contributor

    Sorry for the delay. I will try to get to it by EOD.

  15. lschurr commented on Aug 29, 2023

    @lschurr
    Contributor

    Bump on this one @sobitneupane :)

  16. lschurr commented on Aug 30, 2023

    @lschurr
    Contributor

    Hi @sobitneupane - would really like to get this one closed out. Could you confirm whether we need a regression test or not?

  17. sobitneupane commented on Aug 31, 2023

    @sobitneupane
    Contributor

    Regression Test Proposal

    1. Open a group chat
    2. Assign task
    3. Enter title and click Next
    4. Hover on Share somewhere field -> Verify that avatars are not highlighted
    5. Press on Share somewhere field -> Verify that avatars are not highlighted
    6. Long Press on Share somewhere field -> Verify that avatars are not highlighted

    Do we agree 👍 or 👎

  18. sobitneupane commented on Aug 31, 2023

    @sobitneupane
    Contributor

    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:

    • [@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:

    #20145

    • [@sobitneupane] 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:

    https://github.com/Expensify/App/pull/20145/files#r1311937536

    • [@sobitneupane] 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:
    • [@sobitneupane] Determine if we should create a regression test for this bug.

    Yes

    • [@sobitneupane] 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.

    #24008 (comment)

  19. melvin-bot commented on Sep 4, 2023

    @melvin-bot

    @danieldoglas, @reinaldosg, @sobitneupane, @lschurr Whoops! This issue is 2 days overdue. Let's get this updated quick!

  20. danieldoglas commented on Sep 4, 2023

    @danieldoglas
    Contributor

    @lschurr I think this one is ready to pay/close!

  21. lschurr commented on Sep 4, 2023

    @lschurr
    Contributor

    Yep, thanks! I'm going to create a QA GH and will close.

  22. lschurr commented on Sep 5, 2023

    @lschurr
    Contributor

    All done!

  23. sobitneupane commented on Sep 5, 2023

    @sobitneupane
    Contributor

    Requested payment on newDot.

    #24008 (comment)

  24. JmillsExpensify commented on Sep 10, 2023

    @JmillsExpensify
    Contributor

    $1,500 approved for payment via NewDot based on BZ summary.

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 productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions