Skip to content

[C+ Checklist Needs Completion] [$250] Copilot - Two accounts are highlighted in account list when navigating via keyboard #50779

Closed

Description

@IuliiaHerets

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: 9.0.49-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh081006@applause.expensifail.com
Issue reported by: Applause Interna Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Log in as a copilot.
  3. Go to Account settings.
  4. Click on the account switcher.
  5. Navigate through the account list via keyboard.

Expected Result:

The current account will no longer be highlighted and the selected account will be highlighted (same behavior as workspace switcher).

Actual Result:

Both the current account and the selected account are highlighted when navigating via keyboard.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6634911_1728972462581.20241015_140418.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021846231572731332050
  • Upwork Job ID: 1846231572731332050
  • Last Price Increase: 2024-10-15
  • Automatic offers:
    • jjcoffee | Reviewer | 104458668
    • nkdengineer | Contributor | 104458669
Issue OwnerCurrent Issue Owner: @jjcoffee

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    on Oct 15, 2024
  2. melvin-bot commented on Oct 15, 2024

    @melvin-bot

    Triggered auto assignment to @mjasikowski (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  3. melvin-bot commented on Oct 15, 2024

    @melvin-bot

    Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  4. melvin-bot commented on Oct 15, 2024

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Oct 15, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. mjasikowski commented on Oct 15, 2024

    @mjasikowski
    Contributor

    Account switcher component was changed in this PR: #49051 - this is most likely the offender

  7. nkdengineer commented on Oct 15, 2024

    @nkdengineer
    Contributor

    @mjasikowski In this PR, we discussed this and agreed it isn't a problem.

  8. mjasikowski commented on Oct 15, 2024

    @mjasikowski
    Contributor

    @Expensify/design can you weigh in here and let us know if this is OK or expected? I personally have seen this behavior outside of NewApp and I'm used to it in terms of UX, so it doesn't bother me - but nevertheless we need to either change this or readjust QA to take the new keyboard navigation into account when doing tests.

  9. 75 remaining items

  10. changed the title [-][HOLD for payment 2024-11-13] [HOLD for payment 2024-11-11] [$250] Copilot - Two accounts are highlighted in account list when navigating via keyboard[/-] [+][HOLD for payment 2024-11-18] [HOLD for payment 2024-11-13] [HOLD for payment 2024-11-11] [$250] Copilot - Two accounts are highlighted in account list when navigating via keyboard[/+] on Nov 11, 2024
  11. melvin-bot commented on Nov 11, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.59-3 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 2024-11-18. 🎊

    For reference, here are some details about the assignees on this issue:

  12. melvin-bot commented on Nov 11, 2024

    @melvin-bot

    @jjcoffee @greg-schroeder The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  13. changed the title [-][HOLD for payment 2024-11-18] [HOLD for payment 2024-11-13] [HOLD for payment 2024-11-11] [$250] Copilot - Two accounts are highlighted in account list when navigating via keyboard[/-] [+][HOLD for payment 2024-11-18] [$250] Copilot - Two accounts are highlighted in account list when navigating via keyboard[/+] on Nov 11, 2024
  14. greg-schroeder commented on Nov 11, 2024

    @greg-schroeder
    Contributor

    Payment date is 11/18 to account for deploy blocker fixes

  15. greg-schroeder commented on Nov 18, 2024

    @greg-schroeder
    Contributor

    Timeline:

    • Original PR (Author: @nkdengineer, Reviewer: @jjcoffee) deployed to staging 2024-10-31
    • Reverted 2024-11-04 after several regressions arose
    • New PR (Author: @nkdengineer, Reviewer: @jjcoffee) deployed to staging 2024-11-04, deployed to prod 2024-11-05
    • Another regression occurred, prompting a new PR (Author: @luacmartins, Reviewer: @jjcoffee) deployed to prod 2024-11-11
    • More regressions leading to this PR deployed 2024-11-11

    So, it seems to me that this led to two distinct regression periods.

  16. greg-schroeder commented on Nov 18, 2024

    @greg-schroeder
    Contributor

    @mjasikowski @luacmartins Do you agree with the above that there were two regression periods here?

    Original payment $250 -> $125 -> $62.50 per the payment guidelines (50% reduction per regression)

  17. greg-schroeder commented on Nov 18, 2024

    @greg-schroeder
    Contributor

    Payment summary:

    Contributor: @nkdengineer - $62.50 - Upwork
    C+: @jjcoffee - $62.50 - Upwork

  18. mjasikowski commented on Nov 18, 2024

    @mjasikowski
    Contributor

    @greg-schroeder agreed on regressions

  19. changed the title [-][HOLD for payment 2024-11-18] [$250] Copilot - Two accounts are highlighted in account list when navigating via keyboard[/-] [+][C+ Checklist Needs Completion] [$250] Copilot - Two accounts are highlighted in account list when navigating via keyboard[/+] on Nov 18, 2024
  20. greg-schroeder commented on Nov 18, 2024

    @greg-schroeder
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production
    • 2b. Reported on staging (deploy blocker)
    • 2c. Reported on both staging and production
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] 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:

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    Regression Test Proposal Template
    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Precondition:

    Test:

    Do we agree 👍 or 👎

  21. greg-schroeder commented on Nov 18, 2024

    @greg-schroeder
    Contributor

    Thanks! All that's left is the checklist @jjcoffee

  22. jjcoffee commented on Nov 18, 2024

    @jjcoffee
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production
    • 2b. Reported on staging (deploy blocker)
    • 2c. Reported on both staging and production
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] 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: N/A this was never implemented in PopoverMenu

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Precondition:

    • Have an account with a copilot.

    Test:

    1. Log in as a copilot.
    2. Go to Account settings.
    3. Click on the account switcher.
    4. Navigate through the account list via keyboard arrows.
    5. Verify that: The current account and the selected account are both highlighted but with different background colours.
    6. Do the same with workspace switcher, emoji suggestion, emoji picker

    Do we agree 👍 or 👎

  23. greg-schroeder commented on Nov 18, 2024

    @greg-schroeder
    Contributor

    Thanks! Filed regression test

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.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