Skip to content

[WAITING ON SITU TO FINISH CHECKLIST] [LOW] [Splits] [$500] IOU - Tapping split button & selecting 2nd contact are not highlighted like 1st contact #35665

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!


Version Number: 1.4.35.0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4263802
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Tap fab --- request money --- Scan
  3. Tap camera button and upload a picture
  4. Note first contact is not highlighted in Resents
  5. Now tap split and select the first contact from Resents
  6. Note, the contact is shown highlighted with green tick mark after selecting it
  7. Tap split button next to second contact and select it

Expected Result:

When user taps split button (no matter first or second selection), the row isn't always highlighted but only green tick is shown

Actual Result:

When user taps split button and select 2nd contact, only green tick shown, it is not highlighted like first contact after selection.

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6364658_1706869108259.high.1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~010e869b36a20a1985
  • Upwork Job ID: 1753418217201557504
  • Last Price Increase: 2024-02-09
  • Automatic offers:
    • situchan | Contributor | 0
    • Krishna2323 | Contributor | 0
Issue OwnerCurrent Issue Owner: @situchan

Activity

  1. added
    ExternalAdded to denote the issue can be worked on by a contributor
    BugSomething is broken. Auto assigns a BugZero manager.
    on Feb 2, 2024
  2. changed the title [-]IOU - Tapping split button & selecting 2nd contact are not highlighted like 1st contact[/-] [+][$500] IOU - Tapping split button & selecting 2nd contact are not highlighted like 1st contact[/+] on Feb 2, 2024
  3. melvin-bot commented on Feb 2, 2024

    @melvin-bot
  4. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Feb 2, 2024
  5. melvin-bot commented on Feb 2, 2024

    @melvin-bot

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

  6. melvin-bot commented on Feb 2, 2024

    @melvin-bot

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

  7. kbecciv commented on Feb 2, 2024

    @kbecciv
    Author

    We think that this bug might be related to #wave5-free-submitters
    CC @dylanexpensify

  8. allgandalf commented on Feb 2, 2024

    @allgandalf
    Contributor

    Proposal

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

    Tapping split button & selecting 2nd contact are not highlighted like 1st contact

    What is the root cause of that problem?

    We only highlight/ Focus the top index element.

    const selectFocusedOption = () => {
    const focusedOption = flattenedSections.allOptions[focusedIndex];
    if (!focusedOption || focusedOption.isDisabled) {
    return;
    }
    selectRow(focusedOption);
    };

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

    Update the function to highlight all the selected participants

    What alternative solutions did you explore? (Optional)

    N/A

    Some Thoughts:
    I think this is intended and not a bug, when on laptop, if we use keyboard down button then the same focus moves down the list.

    Anyway, if this feels like a bug would like to solve this

  9. jliexpensify commented on Feb 5, 2024

    @jliexpensify
    Contributor

    @GandalfGwaihir regarding your comment:

    I think this is intended and not a bug, when on laptop, if we use keyboard down button then the same focus moves down the list.

    I think the bug is that when you select a second person, the first person is still highlighted. I agree that the focus should move down the list, but it should then highlight the 2nd person instead, as it's the most recently selected.

    @kbecciv is this essentially what you are saying?

  10. jliexpensify commented on Feb 5, 2024

    @jliexpensify
    Contributor

    I think this should actually go in #vip-split: https://expensify.slack.com/archives/C05RECHFBEW/p1707097628668729

  11. Santhosh-Sellavel commented on Feb 6, 2024

    @Santhosh-Sellavel
    Collaborator

    I think this is intended and not a bug, when on laptop, if we use keyboard down button then the same focus moves down the list.

    cc: @Expensify/design can you confirm whether this issue is bug or not?

  12. 115 remaining items

  13. jliexpensify commented on Apr 29, 2024

    @jliexpensify
    Contributor

    Thanks! Bumping @situchan to accept so I can pay everyone at once + complete checklist.

  14. jliexpensify commented on Apr 30, 2024

    @jliexpensify
    Contributor

    Bumped @situchan again

  15. jliexpensify commented on May 2, 2024

    @jliexpensify
    Contributor

    @situchan seems to be on leave.

  16. jliexpensify commented on May 6, 2024

    @jliexpensify
    Contributor

    Was hoping to pay both together but seems like @situchan is still on vacation.

    @Krishna2323 apologies for the delay, have paid you.

  17. changed the title [-][HOLD for payment 2024-04-25] [LOW] [Splits] [$500] IOU - Tapping split button & selecting 2nd contact are not highlighted like 1st contact[/-] [+][WAITING ON SITU TO ACCEPT + CHECKLIST] [HOLD for payment 2024-04-25] [LOW] [Splits] [$500] IOU - Tapping split button & selecting 2nd contact are not highlighted like 1st contact[/+] on May 6, 2024
  18. jliexpensify commented on May 16, 2024

    @jliexpensify
    Contributor

    Paid and job closed, waiting on the checklist

  19. changed the title [-][WAITING ON SITU TO ACCEPT + CHECKLIST] [HOLD for payment 2024-04-25] [LOW] [Splits] [$500] IOU - Tapping split button & selecting 2nd contact are not highlighted like 1st contact[/-] [+][WAITING ON SITU TO FINISH CHECKLIST] [LOW] [Splits] [$500] IOU - Tapping split button & selecting 2nd contact are not highlighted like 1st contact[/+] on May 16, 2024
  20. jliexpensify commented on May 20, 2024

    @jliexpensify
    Contributor

    Bump @situchan - does the checklist need to be completed?

  21. situchan commented on May 20, 2024

    @situchan
    Contributor

    Not able to find offending PR since this component was changed so many times.
    This was caught during regression testing https://expensify.testrail.io/index.php?/tests/view/4263802 so no new regression test is needed.

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions