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

[HOLD for payment 2024-11-01] [$250] Book travel - Search icon is present on Company address RHP #51009

Closed
3 of 8 tasks
IuliiaHerets opened this issue Oct 17, 2024 · 24 comments
Closed
3 of 8 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Oct 17, 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: 9.0.50-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers): applausetester+kh081006@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

Precondition:

  • Company address in Book travel is not set up.
  1. Go to staging.new.expensify.com
  2. Go to FAB > Book travel.
  3. Click Book travel.

Expected Result:

Search icon will not show up on Company address RHP (because this icon is not seen on any RHP across the app, except report RHP in Search).

Actual Result:

Search icon is present on Company address RHP,

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6637383_1729153115507.20241017_161520.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021846954023671497945
  • Upwork Job ID: 1846954023671497945
  • Last Price Increase: 2024-10-17
  • Automatic offers:
    • rayane-djouah | Reviewer | 104471544
Issue OwnerCurrent Issue Owner: @jliexpensify
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Oct 17, 2024
Copy link

melvin-bot bot commented Oct 17, 2024

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

Copy link

melvin-bot bot commented Oct 17, 2024

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

Copy link

melvin-bot bot commented Oct 17, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 labels Oct 17, 2024
@abzokhattab
Copy link
Contributor

Proposal

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

Search icon is present on Company address RHP

What is the root cause of that problem?

The search icon is displayed in the companies address RHP component because the shouldDisplaySearchRouter is enabled inside the AddressPage which is used by the company RHP

shouldDisplaySearchRouter

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

we should remove shouldDisplaySearchRouter

What alternative solutions did you explore? (Optional)

@rayane-djouah
Copy link
Contributor

This was caused by #49379
cc @Kicu @luacmartins @ikevin127

@Kicu
Copy link
Contributor

Kicu commented Oct 17, 2024

@rayane-djouah won't this be also solved by your #50964?

I seem to remember that in total we have 3 "header" components that cover every single header in the App. So perhaps correct check for RHP would also fix this case?

@rayane-djouah
Copy link
Contributor

@Kicu This is not fixed in #50964. We need to remove shouldDisplaySearchRouter from here

@johnmlee101 johnmlee101 added the External Added to denote the issue can be worked on by a contributor label Oct 17, 2024
Copy link

melvin-bot bot commented Oct 17, 2024

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

@melvin-bot melvin-bot bot changed the title Book travel - Search icon is present on Company address RHP [$250] Book travel - Search icon is present on Company address RHP Oct 17, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 17, 2024
Copy link

melvin-bot bot commented Oct 17, 2024

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

@johnmlee101
Copy link
Contributor

I think the proposal looks good, I'll @mollfpr also chime in

@mollfpr
Copy link
Contributor

mollfpr commented Oct 17, 2024

Agree, the proposal looks good to me!

@luacmartins
Copy link
Contributor

IMO we can demote this to NAB. It was caused by #49984, so I think we should let the original authors work on a fix.

@johnmlee101
Copy link
Contributor

Ah okay, @Kicu can you take over on fixing this?

@johnmlee101 johnmlee101 removed the DeployBlockerCash This issue or pull request should block deployment label Oct 17, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 17, 2024
Copy link

melvin-bot bot commented Oct 17, 2024

📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

@Kicu
Copy link
Contributor

Kicu commented Oct 18, 2024

yeah no problemo I will fix it today, according to this comment from @rayane-djouah
#51009 (comment)

@Kicu Kicu mentioned this issue Oct 18, 2024
50 tasks
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Weekly KSv2 labels Oct 18, 2024
@melvin-bot melvin-bot bot changed the title [$250] Book travel - Search icon is present on Company address RHP [HOLD for payment 2024-11-01] [$250] Book travel - Search icon is present on Company address RHP Oct 25, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 25, 2024
Copy link

melvin-bot bot commented Oct 25, 2024

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

Copy link

melvin-bot bot commented Oct 25, 2024

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

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

Copy link

melvin-bot bot commented Oct 25, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mollfpr / @rayane-djouah] The PR that introduced the bug has been identified. Link to the PR:
  • [@mollfpr / @rayane-djouah] 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:
  • [@mollfpr / @rayane-djouah] A discussion in #expensify-bugs 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:
  • [@mollfpr / @rayane-djouah] Determine if we should create a regression test for this bug.
  • [@mollfpr / @rayane-djouah] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@jliexpensify
Copy link
Contributor

jliexpensify commented Oct 25, 2024

Payment Summary

Upwork job

@mollfpr you didn't work on this issue, correct?

@mollfpr
Copy link
Contributor

mollfpr commented Oct 25, 2024

Yes, no work from me.

@rayane-djouah
Copy link
Contributor

BugZero Checklist

  • The PR that introduced the bug has been identified. Link to the PR: Add new SearchButton to all pages and tweak SearchRouter #49379
  • 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/49379/files#r1819613931
  • A discussion in #expensify-bugs 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
  • Determine if we should create a regression test for this bug. This is part of the search project, and regression tests will be added during the project wrap-up
  • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. N/A

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 31, 2024
@jliexpensify
Copy link
Contributor

Paid and job closed!

Copy link

melvin-bot bot commented Nov 4, 2024

@johnmlee101 @luacmartins @jliexpensify Be sure to fill out the Contact List!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants