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-07-28] [HOLD for payment 2023-07-26] [$1000] IOU - No settlement button in the IOU report header #23083

Closed
1 of 6 tasks
lanitochka17 opened this issue Jul 18, 2023 · 30 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 18, 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!


Issue found when executing PR #22484

Action Performed:

  1. Open staging.new.expensify.com
  2. Receive an IOU from user A
  3. On user B, click on the IOU request to open the report page

Expected Result:

On Account B, ensure that the settlement button appears inline with the avatar in the header

Actual Result:

No settlement button appear at the report header

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

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

Expensify/Expensify Issue URL:

Bug6132149_22484

Issue reported by: Applause - Internal Team

Slack conversation:

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01b09206b5c6870312
  • Upwork Job ID: 1681403325956915200
  • Last Price Increase: 2023-07-18
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Jul 18, 2023
@OSBotify
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.

@melvin-bot
Copy link

melvin-bot bot commented Jul 18, 2023

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

@mountiny
Copy link
Contributor

This must be coming from here I think #22484

cc @grgia

@mountiny
Copy link
Contributor

@lanitochka17 In the screenshot, the button is missing for the requestor. there should not be settlement button in such case

@mountiny mountiny assigned mountiny and unassigned dangrous Jul 18, 2023
@mountiny
Copy link
Contributor

Taking this over, testing locally

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Jul 18, 2023
@mountiny
Copy link
Contributor

Works fine for iou and expense reports.

Payer on left, payee on right

image

@mountiny
Copy link
Contributor

I can produce now so reopening in case

@mountiny mountiny reopened this Jul 18, 2023
@mvtglobally
Copy link

@mountiny Not seeing the button with my accounts as well
Screen Shot 2023-07-18 at 4 00 58 PM

@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 labels Jul 18, 2023
@mountiny mountiny added DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 and removed Daily KSv2 labels Jul 18, 2023
@Nikhil-Vats
Copy link
Contributor

Proposal

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

IOU - No settlement button in the IOU report header

What is the root cause of that problem?

We are not rendering children in HeaderWithBackButton anymore -

<View style={[styles.reportOptions, styles.flexRow, styles.pr5, styles.alignItemsCenter]}>
{shouldShowDownloadButton && (
<Tooltip text={translate('common.download')}>

This is a regression from this PR. They were shown before -

<View style={[styles.reportOptions, styles.flexRow, styles.pr5, styles.alignItemsCenter]}>
{this.props.children}
{this.props.shouldShowDownloadButton && (

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

We need to destructure children from props after line 22 and render them after line 95.

What alternative solutions did you explore? (Optional)

NA

@mountiny
Copy link
Contributor

@Nikhil-Vats Thanks for the proposal, the problem was a mixture of two PRs coming together. The Header componet is missing passing the children

@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 labels Jul 18, 2023
@github-actions github-actions bot added Hourly KSv2 and removed Daily KSv2 labels Jul 18, 2023
@mountiny mountiny removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 18, 2023
@mountiny
Copy link
Contributor

Sorry @Santhosh-Sellavel for the ping, handling this through other contributor

@mountiny
Copy link
Contributor

@johncschuster noting that we have agreed with @Nikhil-Vats on $500 for their first "C+ trial" PR review and checklist

@jasperhuangg
Copy link
Contributor

A fix was CP'd for this to staging, and it looks like this isn't happening anymore, closing. Thanks @mountiny @luacmartins @Nikhil-Vats!

@Nikhil-Vats
Copy link
Contributor

We are still pending payments here @jasperhuangg

@mountiny mountiny reopened this Jul 19, 2023
@mountiny
Copy link
Contributor

@johncschuster $500 payment for @Nikhil-Vats should be pending for review

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jul 19, 2023
@melvin-bot melvin-bot bot changed the title [$1000] IOU - No settlement button in the IOU report header [HOLD for payment 2023-07-26] [$1000] IOU - No settlement button in the IOU report header Jul 19, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 19, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 19, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jul 19, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.42-26 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-07-26. 🎊

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

@jasperhuangg jasperhuangg removed the DeployBlockerCash This issue or pull request should block deployment label Jul 19, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 21, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-07-26] [$1000] IOU - No settlement button in the IOU report header [HOLD for payment 2023-07-28] [HOLD for payment 2023-07-26] [$1000] IOU - No settlement button in the IOU report header Jul 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 21, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.43-7 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-07-28. 🎊

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

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

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 added Daily KSv2 and removed Weekly KSv2 labels Jul 25, 2023
@johncschuster
Copy link
Contributor

Sorry I missed your comment, @vitHoracek! I've left you a DM in NewDot for one clarifying point.

@johncschuster
Copy link
Contributor

Summary for payment:

External issue reporter - Applause
Contributor that fixed the issue - Internal (@vitHoracek)
Contributor+ that helped on the issue and/or PR - @Nikhil-Vats - $500 (to be paid via Upwork)

@Nikhil-Vats
Copy link
Contributor

Offer accepted @johncschuster .

@johncschuster
Copy link
Contributor

Sent the invite!

@Nikhil-Vats
Copy link
Contributor

Offer accepted.

@johncschuster
Copy link
Contributor

Paid! 🎉

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

9 participants