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-12] [$1000] Web - Send money - The tab with Bank account and Debit card is in the middle Cash page #21259

Closed
1 of 6 tasks
lanitochka17 opened this issue Jun 21, 2023 · 50 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 External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 21, 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. Go to staging.new.expensify.com
  2. Log in any account
  3. Open any chat
  4. Click on the + button in the compose box
  5. Choose Send money
  6. Enter amount
  7. Click Pay with Expensify

Expected Result:

The tab should be at the bottom

Actual Result:

The tab with Bank account and Debit card is in the middle Cash page

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

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

my issue

Bug6101806_Recording__2683.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0164181e7781294f63
  • Upwork Job ID: 1673785107250982912
  • Last Price Increase: 2023-06-27
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 21, 2023

Triggered auto assignment to @alexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jun 21, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@Pujan92
Copy link
Contributor

Pujan92 commented Jun 21, 2023

Proposal

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

Send money - The popover with Bank account and Debit card is in the middle Cash page

What is the root cause of that problem?

Seems the anchorPositionVertical here assigned the wrong value here.

anchorPositionVertical: domRect.top - 150,

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

We should take out the - 150 from the anchorPositionVertical or reduce it to - 8 which will reduce the distance from the top.
anchorPositionVertical: domRect.top, OR anchorPositionVertical: domRect.top - 8,

@alexpensify
Copy link
Contributor

This is on my test list

@alexpensify
Copy link
Contributor

alexpensify commented Jun 26, 2023

I've requested a test account to be added to the beta and will test it soon

@alexpensify alexpensify added the External Added to denote the issue can be worked on by a contributor label Jun 27, 2023
@melvin-bot melvin-bot bot changed the title Web - Send money - The tab with Bank account and Debit card is in the middle Cash page [$1000] Web - Send money - The tab with Bank account and Debit card is in the middle Cash page Jun 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Current assignee @alexpensify is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

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

@alexpensify
Copy link
Contributor

Assigning External, Tom helped me confirm that this is an issue:

image

@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Triggered auto assignment to @shawnborton (Design), see these Stack Overflow questions for more details.

@alexpensify
Copy link
Contributor

Adding the Design label too for feedback to confirm this should be above the button -- thank you!

@alexpensify
Copy link
Contributor

For reference, when you click the downcaret in the button for the settlement options menu it's here:

image

@shawnborton
Copy link
Contributor

I think the menu should launch just right above the green button, like 8px above it or something.

@alexpensify
Copy link
Contributor

Ok, I'll remove your assignment since we are set on the Design feedback.

@alexpensify
Copy link
Contributor

@Santhosh-Sellavel - when you get a chance, can you review the proposal that was shared here:

#21259 (comment)

Thank you!

@alitoshmatov
Copy link
Contributor

Proposal

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

Web - Send money - The tab with Bank account and Debit card is in the middle Cash page

What is the root cause of that problem?

When ac1a3ef was applied expected behavior changed, before it was anchorPositionTop and was was changed to anchorPositionVertical which resulted in different behavior since default anchorAlignment was bottom.

anchorAlignment: {
horizontal: CONST.MODAL.ANCHOR_ORIGIN_HORIZONTAL.LEFT,
vertical: CONST.MODAL.ANCHOR_ORIGIN_VERTICAL.BOTTOM,
},

To sum up anchor position was in top of element before and after changes it was in bottom of element.

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

We should rewrite computation of anchor position considiring above matter

anchorPositionVertical: domRect.top - 150,
anchorPositionHorizontal: domRect.left,

anchorPositionVertical: domRect.top - 8,

What alternative solutions did you explore? (Optional)

@Santhosh-Sellavel
Copy link
Collaborator

@Pujan92's proposal looks good to me!

C+ Reviewed
🎀 👀 🎀

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 5, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jul 5, 2023

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

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

melvin-bot bot commented Jul 5, 2023

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:

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

@alexpensify
Copy link
Contributor

Alright, removing the other 🐛 team member. I'm back online and see that this is our current state:

Prepare for payment

@alexpensify
Copy link
Contributor

@Santhosh-Sellavel / @Pujan92 - to prepare for payment tomorrow, please apply for this job:

https://www.upwork.com/jobs/~0164181e7781294f63

Thank you!

@Pujan92
Copy link
Contributor

Pujan92 commented Jul 11, 2023

Applied @alexpensify , Thanks!

@Santhosh-Sellavel
Copy link
Collaborator

@alexpensify I will collect via NewDot!

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 11, 2023
@alexpensify
Copy link
Contributor

@Pujan92 - I've prepared the payment in Upwork.

@Pujan92
Copy link
Contributor

Pujan92 commented Jul 13, 2023

@Pujan92 - I've prepared the payment in Upwork.

@alexpensify accepted, Thanks.

@alexpensify
Copy link
Contributor

Alright, @Pujan92 has been paid via Upwork!

@alexpensify
Copy link
Contributor

@Santhosh-Sellavel - can you please complete the check list and then I can close this GH. Thank you!

#21259 (comment)

@dostongulmatov
Copy link
Contributor

Could you please somebody answer my question here, #21259 (comment)

@Santhosh-Sellavel
Copy link
Collaborator

@alexpensify I will complete it over the weekend, and collect my dues. Caught up with other Priority items. Thanks!

@Santhosh-Sellavel
Copy link
Collaborator

Could you please somebody answer my question here, #21259 (comment)

@alexpensify I think they are eligible for reporting bonus, please have a look and issue them thanks!

@alexpensify
Copy link
Contributor

Thanks for flagging, I'm reviewing the timeline and will follow up tomorrow regarding the reporting bonus concerns.

@dostongulmatov
Copy link
Contributor

@alexpensify thank you

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Jul 14, 2023

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:

cc: @cristipaval Let me know if you differ on any of the above!

@alexpensify
Copy link
Contributor

@dostongulmatov - I've started the process in Upwork for the payment since I see you did report this one. It might have gotten lost in the shuffle but please accept. After, I can complete the payment process. Thanks!

@dostongulmatov
Copy link
Contributor

@alexpensify thank you very much accepted the payment

@alexpensify
Copy link
Contributor

Awesome, I've completed the payment process via Upwork!

@Santhosh-Sellavel
Copy link
Collaborator

Requested Payment on ND

@alexpensify
Copy link
Contributor

Thank you for that update. I closed the job in Upwork and am going to close this GH. Great work team!

@anmurali
Copy link

Approved $1500 (with bonus) for Santhosh

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 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

10 participants