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

[$250] mWeb - Search - Tapping expensify via switcher from new search page directed to hmm not here page #41790

Closed
2 of 6 tasks
lanitochka17 opened this issue May 7, 2024 · 10 comments
Assignees
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@lanitochka17
Copy link

lanitochka17 commented May 7, 2024

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.71
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/home

  2. Tap profile

  3. Tap troubleshoot-- new search page

  4. Tap expensify switcher

  5. Tap expensify

Expected Result:

Tapping expensify via switcher from new search page must not direct to hmm not here page

Actual Result:

Tapping expensify via switcher from new search page directed to hmm not here page

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

Bug6473928_1715097495658.expen.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01225e08d98c91386d
  • Upwork Job ID: 1787910838599999488
  • Last Price Increase: 2024-05-07
Issue OwnerCurrent Issue Owner: @s77rt
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels May 7, 2024
Copy link

melvin-bot bot commented May 7, 2024

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

Copy link

melvin-bot bot commented May 7, 2024

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

  1. If you find which PR caused the issue/bug, you can reassign it to the person responsible for it.
    • If the author is OOO or won’t get online before the daily deploy is due, you are responsible for finding the best fix/path forward. Don’t hesitate to ask for help!
  2. Try to reproduce the issue, if the bug is on production, remove the DeployBlocker label but stay assigned to fix it (or find out which PR broke it to get help from the author).
    • You can adjust the urgency of the issue to better represent the gravity of the bug.
    • If the issue is super low priority, feel free to un-assign yourself.
    • Be careful with PHP warnings, sometimes it is more complex than just adding a null coalescing operator as they might be uncovering some bigger bug.
    • If it was a one-off issue that requires no action (for example, Bedrock was down or it is a duplicated issue), you can close it.

Remember rule #2: Never un-assign yourself from a real DeployBlocker unless you are 100% sure someone else is assigned and will take care of it.

Copy link
Contributor

github-actions bot commented May 7, 2024

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

@lanitochka17
Copy link
Author

@marcochavezf FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@marcochavezf
Copy link
Contributor

Looks like this feature is still in beta (can only be enabled in staging), since we don't have the option to enable it in production:

Screenshot 2024-05-07 at 12 16 57 p m

So, I don't think this should be a blocker, and it can be external.

@marcochavezf marcochavezf added External Added to denote the issue can be worked on by a contributor Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 DeployBlocker Indicates it should block deploying the API labels May 7, 2024
@melvin-bot melvin-bot bot changed the title mWeb - Search - Tapping expensify via switcher from new search page directed to hmm not here page [$250] mWeb - Search - Tapping expensify via switcher from new search page directed to hmm not here page May 7, 2024
Copy link

melvin-bot bot commented May 7, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01225e08d98c91386d

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 7, 2024
Copy link

melvin-bot bot commented May 7, 2024

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

@tienifr
Copy link
Contributor

tienifr commented May 7, 2024

Proposal

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

Tapping expensify via switcher from new search page directed to hmm not here page

What is the root cause of that problem?

Here, in the case the user was not in any particular route when making the switch, the screen will be undefined. This causes the issue because then we'll be navigating to the first path that was found in the stack, which is the Search_Bottom_Tab and this will show the not found page.

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

Here, if screen does not exist, we'll default to HOME

name: screen || SCREENS.HOME,

What alternative solutions did you explore? (Optional)

NA

@s77rt
Copy link
Contributor

s77rt commented May 7, 2024

@tienifr I believe this is a feature request. We should not redirect the user to HOME instead the search list should reflect only reports for the selected policy.

cc @luacmartins since you are involved in the new search page, do we have an issue/plan to add the workspace switcher support to the search page?

@luacmartins
Copy link
Contributor

Thanks for the ping. Yea, this is not implemented yet. We'll work on it as part of this issue. We can close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

5 participants