Skip to content

[Due for payment 2025-02-19] [$250] mweb - Onboarding - Accounting software selection has blue border when redirected from OD #55145

Closed

Description

@mitarachim

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.84-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): wijdwjmwdowdjo@gmail.com
Issue reported by: Applause Internal Team
Device used: iPhone 15 Pro Max / iOS 18.2
App Component: Other

Action Performed:

  1. Go to staging.expensify.com
  2. Select "Manage expenses for a small team".
  3. Enter email.
  4. Tap Get started.
  5. Tap Join.
  6. On ND, select any accounting software.

Expected Result:

The accounting software selection will not have blue border.

Actual Result:

The accounting software selection has blue border when redirected from OD.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6712636_1736716164990.ScreenRecording_01-13-2025_05-04-33_1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021878829529063238484
  • Upwork Job ID: 1878829529063238484
  • Last Price Increase: 2025-02-03
  • Automatic offers:
    • allgandalf | Reviewer | 105980400
    • nkdengineer | Contributor | 105980401
Issue OwnerCurrent Issue Owner: @trjExpensify

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jan 13, 2025
  2. melvin-bot commented on Jan 13, 2025

    @melvin-bot

    Triggered auto assignment to @trjExpensify (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.

  3. mitarachim commented on Jan 13, 2025

    @mitarachim
    Author

    issue also reproducible in Web
    Screenshot 2025-01-13 at 8 36 33 AM

  4. nkdengineer commented on Jan 13, 2025

    @nkdengineer
    Contributor

    Proposal

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

    The accounting software selection has blue border when redirected from OD.

    What is the root cause of that problem?

    When a row is selected, it's focused here

    Then because CONST.INNER_BOX_SHADOW_ELEMENT label is true

    dataSet={{[CONST.SELECTION_SCRAPER_HIDDEN_ELEMENT]: true, [CONST.INNER_BOX_SHADOW_ELEMENT]: true}}

    The blue border is displayed based on this style.

    App/web/index.html

    Lines 68 to 80 in c30c298

    :focus-visible[data-inner-box-shadow-element]{
    overflow: hidden;
    }
    :focus-visible[data-inner-box-shadow-element]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0px 0px 0px 1px #5AB0FF;
    pointer-events: none;
    z-index: 1000;

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

    This bug also happens on other pages that use the selection list, which we don't navigate after selecting a row.

    dataSet={{[CONST.SELECTION_SCRAPER_HIDDEN_ELEMENT]: true, [CONST.INNER_BOX_SHADOW_ELEMENT]: true}}

    1. This style is added here to fix the blue border style in ReportListItem so we can define a prop like shouldShowBlueBorderOnFoucs prop in BaseSelectionList with the default value is false

    App/web/index.html

    Lines 68 to 80 in c30c298

    :focus-visible[data-inner-box-shadow-element]{
    overflow: hidden;
    }
    :focus-visible[data-inner-box-shadow-element]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0px 0px 0px 1px #5AB0FF;
    pointer-events: none;
    z-index: 1000;

    1. Then we set the CONST.INNER_BOX_SHADOW_ELEMENT label to shouldShowBlueBorderOnFoucs.
    dataSet={{[CONST.SELECTION_SCRAPER_HIDDEN_ELEMENT]: true, [CONST.INNER_BOX_SHADOW_ELEMENT]: shouldShowBlueBorderOnFoucs}} 
    
    

    dataSet={{[CONST.SELECTION_SCRAPER_HIDDEN_ELEMENT]: true, [CONST.INNER_BOX_SHADOW_ELEMENT]: true}}

    1. Pass shouldShowBlueBorderOnFoucs as true here

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    What alternative solutions did you explore? (Optional)

    We can remove the sync focus here. and remove shouldSyncFocus prop.

    useSyncFocus(pressableRef, !!isFocused, shouldSyncFocus);

    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

  5. trjExpensify commented on Jan 13, 2025

    @trjExpensify
    Contributor

    I can repro: Image

    Where did this regression come from? I'm surprised it hasn't cropped up on the @Expensify/design radar before now.

  6. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Jan 13, 2025
  7. melvin-bot commented on Jan 13, 2025

    @melvin-bot
  8. changed the title [-]mweb - Onboarding - Accounting software selection has blue border when redirected from OD[/-] [+][$250] mweb - Onboarding - Accounting software selection has blue border when redirected from OD[/+] on Jan 13, 2025
  9. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jan 13, 2025
  10. melvin-bot commented on Jan 13, 2025

    @melvin-bot

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

  11. moved this to Bugs and Follow Up Issues in #expensify-bugson Jan 13, 2025
  12. 52 remaining items

  13. changed the title [-][$250] mweb - Onboarding - Accounting software selection has blue border when redirected from OD[/-] [+][Due for payment 2025-02-19] [$250] mweb - Onboarding - Accounting software selection has blue border when redirected from OD[/+] on Feb 12, 2025
  14. melvin-bot commented on Feb 12, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  15. melvin-bot commented on Feb 12, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.96-1 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 2025-02-19. 🎊

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

  16. melvin-bot commented on Feb 12, 2025

    @melvin-bot

    @allgandalf @trjExpensify @allgandalf 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]

  17. trjExpensify commented on Feb 18, 2025

    @trjExpensify
    Contributor

    👋 @allgandalf let's get the checklist in for tomorrow!

  18. allgandalf commented on Feb 19, 2025

    @allgandalf
    Contributor

    sure thing!

  19. allgandalf commented on Feb 19, 2025

    @allgandalf
    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 (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 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: https://github.com/Expensify/App/pull/50914/files#r1961027766

    • [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:

    • N/A

    Test:

    1. Go toexpensify.com
    2. Select "Manage expenses for a small team" > Enter email > Tap Get started > Tap Join.
    3. On ND, select any accounting software.

    Verify that: The accounting software selection will not have blue border.

    Do we agree 👍 or 👎

  20. allgandalf commented on Feb 19, 2025

    @allgandalf
    Contributor

    bring in those 💸 @trjExpensify

  21. trjExpensify commented on Feb 19, 2025

    @trjExpensify
    Contributor

    Go toexpensify.com

    🦶😆

    Going to forgo the test on this as a visual display bug that should be caught in testing the onboarding flows.

    Payment summary as follows:

    Paid, closing!

  22. moved this from Bugs and Follow Up Issues to Done in #expensify-bugson Feb 19, 2025
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

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions