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 2023-06-19] [HOLD for payment 2023-06-15] Group - The IOU details page for split bill doesn't have close button [X] #20408

Closed
1 of 6 tasks
lanitochka17 opened this issue Jun 7, 2023 · 11 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production DeployBlockerCash This issue or pull request should block deployment Engineering Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 7, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Launch App
  2. Create Group
  3. Open the DM create menu (note below) again and select Split Bill
  4. Select all the participants and hit "Split Bill"
  5. Tap on the IOU details > try to close it

Expected Result:

The IOU details page should have close button [X]

Actual Result:

The IOU details page for split bill doesn't have close button [X]

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.25.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:

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug6083897_RPReplay_Final1686161773.mp4

Bug6083897_close

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Jun 7, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Jun 7, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Triggered auto assignment to @dangrous (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@ahmedGaber93
Copy link
Contributor

ahmedGaber93 commented Jun 7, 2023

Proposal

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

Group - The IOU details page for split bill doesn't have close button [X]

What is the root cause of that problem?

We use header without close button here

<HeaderWithBackButton
title={props.translate('common.details')}
shouldShowBackButton={false}
/>

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

add shouldShowCloseButton and onCloseButtonPress props here like this.

    <HeaderWithBackButton
          title={props.translate('common.details')}
          shouldShowBackButton={false}
          shouldShowCloseButton // <<<<<<<<<<<<<<<<<<<<
          onCloseButtonPress={() => Navigation.dismissModal()} // <<<<<<<<<<<<<<<<<<<<
      />

What alternative solutions did you explore? (Optional)

we can use back button instead of close button by add this props shouldShowBackButton and onBackButtonPress

@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 labels Jun 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 7, 2023

Looks like something related to react-navigation may have been mentioned in this issue discussion.

As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@dangrous
Copy link
Contributor

dangrous commented Jun 7, 2023

So ha, I was just looking into this and was going to write what @ahmedGaber93 wrote . However, what I discovered was that adding shouldShowCloseButton doesn't actually pass the props correctly, it's still just taking the default value. This is also true for the existing shouldShowBackButton={false}. I'm not entirely sure why but that could be the issue.

The new default of false for shouldShowCloseButton was updated here - https://github.com/Expensify/App/pull/18402/files#diff-1e4d0651892fd099137cb93a35cf263dc385cc124164c5c14bcf067fd2f973eaR114 which seems to be causing the issue.

However I'm not sure whether the issue is an incorrect default, or whether something has happened to this component to cause it to no longer take props. cc @mountiny and @MariaHCD since you reviewed the PR. Will look into it more in a second.

@dangrous
Copy link
Contributor

dangrous commented Jun 7, 2023

or wait is this not a blocker? Is this intentional? #15850

@mountiny
Copy link
Contributor

mountiny commented Jun 7, 2023

The missing X is intentional but there should be the UP/ back button which was not added to the page, are you abel to handle the fix?

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jun 7, 2023
@mountiny
Copy link
Contributor

mountiny commented Jun 8, 2023

This is in staging, no payments required, closing

@mountiny mountiny closed this as completed Jun 8, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jun 8, 2023
@melvin-bot melvin-bot bot changed the title Group - The IOU details page for split bill doesn't have close button [X] [HOLD for payment 2023-06-15] Group - The IOU details page for split bill doesn't have close button [X] Jun 8, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 8, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 8, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 8, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.25-8 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 2023-06-15. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Jun 12, 2023
@melvin-bot melvin-bot bot added the Weekly KSv2 label Jun 12, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-06-15] Group - The IOU details page for split bill doesn't have close button [X] [HOLD for payment 2023-06-19] [HOLD for payment 2023-06-15] Group - The IOU details page for split bill doesn't have close button [X] Jun 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 12, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.26-4 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 2023-06-19. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

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 DeployBlockerCash This issue or pull request should block deployment Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants