Skip to content

Reports - Selected saved search is not highlighted #61974

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.1.45-3
Reproducible in staging?: Yes
Reproducible in production?: No
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): applausetester+300402kh@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: iPhone 15 Pro Max / iOS 18.4
App Component: Search

Action Performed:

Precondition:

  • Have some saved searches
  1. Launch Expensify app.
  2. Go to Reports.
  3. Tap bookmark icon.
  4. Tap on the saved search.
  5. Tap bookmark icon.

Expected Result:

The selected saved search will be highlighted.

Actual Result:

The selected saved search is not highlighted.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6830338_1747179147737.ScreenRecording_05-14-2025_07-29-32_1.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    DeployBlockerIndicates it should block deploying the API
    on May 14, 2025
  2. melvin-bot commented on May 14, 2025

    @melvin-bot

    Triggered auto assignment to @bfitzexpensify (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. melvin-bot commented on May 14, 2025

    @melvin-bot

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

  4. github-actions commented on May 14, 2025

    @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.
  5. melvin-bot commented on May 14, 2025

    @melvin-bot

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

  6. thelullabyy commented on May 14, 2025

    @thelullabyy
    Contributor

    Proposal

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

    The selected saved search is not highlighted.

    What is the root cause of that problem?

    We define which item is focused here

    const isItemFocused = Number(key) === hash;

    but have not passed this property into the list

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

    Add ...baseMenuItem in this to pass property isFocused to item list

    return {
    text: savedSearchTitle,

    The similar logic is implemented here
    return {
    ...baseMenuItem,

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

    NA

    What alternative solutions did you explore? (Optional)

    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.

  7. thelullabyy commented on May 14, 2025

    @thelullabyy
    Contributor

    Willing to open PR early if this is an urgent case

  8. 2 remaining items

  9. added and removed
    DeployBlockerIndicates it should block deploying the API
    on May 14, 2025
  10. mountiny commented on May 14, 2025

    @mountiny
    Contributor

    @martasudol @OlimpiaZurek is this from one of the perf refactors? Can you please take a look

  11. OlimpiaZurek commented on May 14, 2025

    @OlimpiaZurek
    Contributor

    @mountiny looks like this is coming from my PR: #60959

  12. OlimpiaZurek commented on May 14, 2025

    @OlimpiaZurek
    Contributor

    Found the root cause, preparing a PR with the fix

  13. OlimpiaZurek commented on May 14, 2025

    @OlimpiaZurek
    Contributor

    I had prepared a PR with the fix, but since the offending PR was reverted, I’ll raise a new one with the changes and fix again

  14. melvin-bot commented on Jun 9, 2025

    @melvin-bot

    This issue has not been updated in over 15 days. @robertjchen, @OlimpiaZurek, @bfitzexpensify eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  15. robertjchen commented on Jun 9, 2025

    @robertjchen
    Contributor

    It looks like this was resolved? Please re-open if not the case 👍

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.EngineeringMonthlyKSv2ReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions