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-05-03] [$250] [QAB] "Pay elsewhere" button is small when paying someone via Quick action #40721

Closed
6 tasks done
kbecciv opened this issue Apr 22, 2024 · 23 comments
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

@kbecciv
Copy link

kbecciv commented Apr 22, 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.64-0
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to FAB > Pay someone.
  3. Enter amount.
  4. Select a user and pay them.
  5. Go to FAB.
  6. Click Pay someone under Quick action.

Expected Result:

"Pay elsewhere" button will have the same shape and size as other green CTA buttons across the app.

Actual Result:

"Pay elsewhere" button is small.

Workaround:

n/a

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

Bug6457657_1713803960314.bandicam_2024-04-23_00-36-45-795.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dc0683310300cbba
  • Upwork Job ID: 1782500044140408832
  • Last Price Increase: 2024-04-22
  • Automatic offers:
    • akinwale | Reviewer | 0
    • Krishna2323 | Contributor | 0
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

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

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.

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Apr 22, 2024
@melvin-bot melvin-bot bot changed the title Quick action - "Pay elsewhere" button is small when paying someone via Quick action [$250] Quick action - "Pay elsewhere" button is small when paying someone via Quick action Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

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

@mountiny
Copy link
Contributor

looking fro proposals

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

melvin-bot bot commented Apr 22, 2024

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

@Krishna2323
Copy link
Contributor

Krishna2323 commented Apr 22, 2024

Proposal

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

Quick action - "Pay elsewhere" button is small when paying someone via Quick action

What is the root cause of that problem?

The View doesn't have the styles applied to take the full width available.

<View style={wrapperStyle}>

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

We need to pass wrapperStyle={styles.w100} from SettlementButton or we can apply styles.w100 on View by default.

What alternative solutions did you explore? (Optional)

We can accept wrapperStyle prop in SettlementButton and then pass it to ButtonWithDropdownMenu. And from MoneyRequestAmountForm we will pass wrapperStyle={styles.w100} to SettlementButton. I believe we don't want 100% width everywhere, so we need to check for that also.

Result

btn_width_issue.mp4

@Krishna2323
Copy link
Contributor

Proposal Updated

  • Added alternative and result video.

@akinwale
Copy link
Contributor

@Krishna2323 Can you determine if this is a regression and what the source is?

@Krishna2323
Copy link
Contributor

Krishna2323 commented Apr 22, 2024

Regression from #39413, previously we only had Button component, the PR introduced the use of SettlementButton in specific cases like skipConfirmation (quick actions).

@akinwale

@akinwale
Copy link
Contributor

@Krishna2323's proposal works here.

🎀👀🎀 C+ reviewed.

Copy link

melvin-bot bot commented Apr 22, 2024

Current assignee @blimpich is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

📣 @akinwale 🎉 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

Copy link

melvin-bot bot commented Apr 22, 2024

📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@blimpich
Copy link
Contributor

@Krishna2323 please feel free to raise a PR 👍

@Krishna2323
Copy link
Contributor

Raising PR in few moments.

@melvin-bot melvin-bot bot added the Weekly KSv2 label Apr 22, 2024
@blimpich
Copy link
Contributor

I don't consider this a blocker for the deploy. Going to remove the DeployBlockerCash label.

@blimpich blimpich removed the DeployBlockerCash This issue or pull request should block deployment label Apr 22, 2024
@trjExpensify trjExpensify added the Bug Something is broken. Auto assigns a BugZero manager. label Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 22, 2024
@trjExpensify
Copy link
Contributor

trjExpensify commented Apr 22, 2024

CC: @Gonals @c3024 👀

@trjExpensify trjExpensify changed the title [$250] Quick action - "Pay elsewhere" button is small when paying someone via Quick action [$250] [QAB] "Pay elsewhere" button is small when paying someone via Quick action Apr 22, 2024
@Gonals Gonals self-assigned this Apr 24, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Apr 26, 2024
@melvin-bot melvin-bot bot changed the title [$250] [QAB] "Pay elsewhere" button is small when paying someone via Quick action [HOLD for payment 2024-05-03] [$250] [QAB] "Pay elsewhere" button is small when paying someone via Quick action Apr 26, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 26, 2024
Copy link

melvin-bot bot commented Apr 26, 2024

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

Copy link

melvin-bot bot commented Apr 26, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.66-5 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-05-03. 🎊

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

Copy link

melvin-bot bot commented Apr 26, 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:

  • [@akinwale] The PR that introduced the bug has been identified. Link to the PR:
  • [@akinwale] 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:
  • [@akinwale] 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:
  • [@akinwale] Determine if we should create a regression test for this bug.
  • [@akinwale] 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.
  • [@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels May 3, 2024
Copy link

melvin-bot bot commented May 7, 2024

@akinwale, @trjExpensify, @blimpich, @Gonals, @Krishna2323 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@trjExpensify
Copy link
Contributor

Alright, ready for payments here.

  • @akinwale $125 for the initial proposal review - paid
  • @Krishna2323 $250 for the bug fix - paid
  • @c3024 no payment necessary here for this PR review, as it was a regression follow-up.

As for the checklist:

  • no regression test will be necessary, we're adding them centrally for QAB already.
  • we know the offending PR and the author/reviewer was involved in the follow-up here

Thanks everyone, closing!

@melvin-bot melvin-bot bot removed the Overdue label May 7, 2024
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
Archived in project
Development

No branches or pull requests

8 participants