Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Search v2.1] -"Hmm... it's not here" briefly appears after re-signing in via search URL #50556

Open
2 of 6 tasks
IuliiaHerets opened this issue Oct 10, 2024 · 13 comments
Open
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Needs Reproduction Reproducible steps needed retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Weekly KSv2

Comments

@IuliiaHerets
Copy link

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

Action Performed:

  1. Sign in to the staging environment of Expensify and navigate to the search page.
  2. Copy the URL of the search page.
  3. Go to Account Settings and sign out.
  4. Paste the copied URL into the browser and press enter.
  5. Sign in again and observe the behavior.

Expected Result:

After signing in, the search page should appear directly after a loading animation, without briefly displaying the "Hmm... it's not here" message.

Actual Result:

The "Hmm... it's not here" page is briefly displayed before the search page loads when signing in through the search URL.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6630510_1728551793009.Screen_Recording_2024-10-10_at_1.49.16_AM.mp4

View all open jobs on GitHub

@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Oct 10, 2024
Copy link

melvin-bot bot commented Oct 10, 2024

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

Copy link

melvin-bot bot commented Oct 10, 2024

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

Copy link

melvin-bot bot commented Oct 10, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Oct 10, 2024
Copy link
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.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-control

@Julesssss
Copy link
Contributor

THis isn't a blocker, checking off the list.

FYI @luacmartins.

@Julesssss Julesssss added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Oct 10, 2024
@luacmartins luacmartins removed the DeployBlocker Indicates it should block deploying the API label Oct 10, 2024
@luacmartins
Copy link
Contributor

cc @adamgrzybowski @WojtekBoman it seems like we are redirected to https://staging.new.expensify.com/Search_Bottom_Tab?q=type%3Aexpense%20status%3Aall%20sortBy%3Adate%20sortOrder%3Adesc when this happens and we fail to parse the query:

SearchUtils.ts:548 Error when parsing SearchQuery: "undefined" TypeError: Cannot read properties of undefined (reading 'charAt')
    at et (searchParser.js:1097:16)
    at We (searchParser.js:473:10)
    at searchParser.js:1140:16
    at Object.qe (SearchUtils.ts:539:24)
    at da (SearchPageBottomTab.tsx:63:25)
    at fo (react-dom.production.min.js:160:137)
    at vA (react-dom.production.min.js:289:337)
    at Il (react-dom.production.min.js:279:389)
    at ml (react-dom.production.min.js:279:362)
    at al (react-dom.production.min.js:267:300)

@luacmartins luacmartins assigned luacmartins and unassigned Julesssss Oct 10, 2024
@luacmartins luacmartins changed the title Search -"Hmm... it's not here" briefly appears after re-signing in via search URL [Search v2.1] -"Hmm... it's not here" briefly appears after re-signing in via search URL Oct 10, 2024
@NJ-2020
Copy link
Contributor

NJ-2020 commented Oct 11, 2024

Proposal

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

Make it load without "Hmm... it's not here" when re-singing in via search URL

What is the root cause of that problem?

The SCREENS.ts BOTTOM_TAB is redirecting to 'Search_Bottom_Tab' but what we pasted on the search url is only 'search'

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

Edit the search BOTTOM_TAB on the SCREENS.ts from
BOTTOM_TAB: 'Search_Bottom_Tab',
to
BOTTOM_TAB: 'search',

What alternative solutions did you explore? (Optional)

@WojtekBoman
Copy link
Contributor

WojtekBoman commented Oct 11, 2024

Does this error still occur or are there any additional conditions to perform to reproduce this? I tested it locally and on staging and it seems to work well. A pop-up window appears in the video attached in the issue description and at this point we can see the error, perhaps it's a precondition to reproduce that.

Screen.Recording.2024-10-11.at.08.27.07.mp4

@luacmartins
Copy link
Contributor

@WojtekBoman not sure. I was able to reproduce once yesterday with the steps in the OP. Let me try again.

@luacmartins
Copy link
Contributor

Hmm just tried to reproduce now and I also couldn't. @IuliiaHerets could you please re-test?

@mallenexpensify mallenexpensify added Needs Reproduction Reproducible steps needed retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause labels Oct 12, 2024
@MelvinBot
Copy link

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

@melvin-bot melvin-bot bot added the Overdue label Oct 14, 2024
@mallenexpensify
Copy link
Contributor

Weird, shouldn't be overdue, it's weekly and was posted on 3 days ago, awaiting retest.

@melvin-bot melvin-bot bot removed the Overdue label Oct 14, 2024
@luacmartins luacmartins removed the Daily KSv2 label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Needs Reproduction Reproducible steps needed retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants