App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD https://github.com/Expensify/App/issues/35965] Web - Report - Blank Concierge report is displayed on back navigation from search page

Open kbecciv opened this issue 1 year ago • 12 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.38.0 Reproducible in staging?: y Reproducible in production?: n If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:

Action Performed:

  1. Sign up with a new account
  2. Click on search bar
  3. Click back button

Expected Result:

Concierge report should be opened and report shouldn't be blank

Actual Result:

Blank Concierge report is displayed

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • [ ] Android: Native
  • [ ] Android: mWeb Chrome
  • [ ] iOS: Native
  • [ ] iOS: mWeb Safari
  • [x] MacOS: Chrome / Safari
  • [ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/Expensify/App/assets/93399543/bab2058d-6991-4a2b-8abd-3a755bfa4dbb

View all open jobs on GitHub

kbecciv avatar Feb 07 '24 15:02 kbecciv

:wave: 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.

github-actions[bot] avatar Feb 07 '24 15:02 github-actions[bot]

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

melvin-bot[bot] avatar Feb 07 '24 15:02 melvin-bot[bot]

We think that this bug might be related #vip-vsb CC @quinthar

kbecciv avatar Feb 07 '24 15:02 kbecciv

Proposal

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

Blank Concierge report is displayed on back navigation from search page

What is the root cause of that problem?

We don't have onBackBuuttonPress prop passed to HeaderWithBackButton https://github.com/Expensify/App/blob/fc4a44f1a58605fe36526c2079315af5c9e4e4d0/src/pages/SearchPage/index.js#L149

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

Update HeaderWithBackButton to the following

<HeaderWithBackButton
                        title={translate('common.search')}
                        onBackButtonPress={Navigation.goBack}
                    />

What alternative solutions did you explore? (Optional)

N/A

allgandalf avatar Feb 07 '24 15:02 allgandalf

regression from https://github.com/Expensify/App/pull/35058 cc: @lukemorawski

situchan avatar Feb 07 '24 15:02 situchan

@lukemorawski Is this something you will be able to fix ASAP?

tgolen avatar Feb 07 '24 17:02 tgolen

The root cause is same as other holding issues like #35965, #35969 @trjExpensify should we hold this as well?

situchan avatar Feb 07 '24 17:02 situchan

Yeah, I think we should. I'll put this on HOLD.

tgolen avatar Feb 07 '24 18:02 tgolen

cc: @adamgrzybowski to put in your PR

situchan avatar Feb 07 '24 18:02 situchan

Makes sense! @adamgrzybowski let us know if you disagree though.

trjExpensify avatar Feb 07 '24 18:02 trjExpensify

this issue might be partially related to the issue on which Adam is working on.

instead of closing this, I'll keep this issue open with HOLD as Tim suggested.

hayata-suenaga avatar Feb 07 '24 18:02 hayata-suenaga

Dropping to a daily while this is on HOLD

tgolen avatar Feb 07 '24 22:02 tgolen

proposal from @GandalfGwaihir fixes on the issue on the SearchPage. I can post quick PR for that.

lukemorawski avatar Feb 08 '24 11:02 lukemorawski

either ways @lukemorawski , i am also available to work on this issue with you :), paid or unpaid doesn’t really matter :)

allgandalf avatar Feb 08 '24 11:02 allgandalf

@GandalfGwaihir awesome. I would very thankful if you could post that quick fix. Seem like a bigger thing just popped in for me :)

lukemorawski avatar Feb 08 '24 11:02 lukemorawski

yes sure, should i wait until this be assigned to me first or should i drop the PR right away?

allgandalf avatar Feb 08 '24 11:02 allgandalf

No idea @tgolen ⬆️ ?

lukemorawski avatar Feb 08 '24 11:02 lukemorawski

Hi @lukemorawski please raise the PR now, I'll review it.

Julesssss avatar Feb 08 '24 11:02 Julesssss

Ah sorry, I was confused. @GandalfGwaihir would be able to raise the PR?

Julesssss avatar Feb 08 '24 11:02 Julesssss

@lukemorawski Just to be clear, there should not really be bigger things than deploy blockers from PRs you have authored. This should be your top priority so we can unblock deploy.

mountiny avatar Feb 08 '24 12:02 mountiny

@mountiny Got ya! @GandalfGwaihir will post that PR!

lukemorawski avatar Feb 08 '24 12:02 lukemorawski

I can help if it’s an option over here :), but again this is a deploy blocker so don’t know the feasibility of this option

allgandalf avatar Feb 08 '24 12:02 allgandalf

Hey, checkout this PR https://github.com/Expensify/App/pull/36050 I think it should be fixed

adamgrzybowski avatar Feb 08 '24 12:02 adamgrzybowski

Hey, checkout this PR #36050 I think it should be fixed

Thanks for sharing. But as we're going to have to cherry-pick any fix to staging I'm a bit hesitant to rely on that relatively complex PR.

I'd much rather stick to the simpler PR raised by @lukemorawski here.

Julesssss avatar Feb 08 '24 12:02 Julesssss

Fix CP'd to staging. I updated the checklist and removed the blocker label.

Julesssss avatar Feb 08 '24 15:02 Julesssss

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

melvin-bot[bot] avatar Feb 08 '24 18:02 melvin-bot[bot]

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.38-6 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/36141

If no regressions arise, payment will be issued on 2024-02-15. :confetti_ball:

melvin-bot[bot] avatar Feb 08 '24 18:02 melvin-bot[bot]

No payments required

mountiny avatar Feb 08 '24 20:02 mountiny

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.39-8 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/36141

If no regressions arise, payment will be issued on 2024-02-19. :confetti_ball:

melvin-bot[bot] avatar Feb 12 '24 13:02 melvin-bot[bot]