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 2022-11-16] [$250] Bug: [Staging] On add Paypal page, the add Paypal button isn't working correctly reported by @Tushu17 #12049

Closed
4 of 5 tasks
kavimuru opened this issue Oct 20, 2022 · 35 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 Reviewing Has a PR in review

Comments

@kavimuru
Copy link

kavimuru commented Oct 20, 2022

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


Action Performed:

  1. Open Web/mWeb staging.new.expensify
  2. Go to settings > Payments > Add Paypal page
  3. Write invalid Paypal name and click add Paypal button.
  4. Empty input field.

Expected Result:

Button should be disabled if input field is empty

Actual Result:

Button doesn't get disabled.

Workaround:

unknown

Platform:

Where is this issue occurring?

  • - Web
  • - iOS
  • - Android
  • - Desktop App
  • - Mobile Web

Version Number: 1.2.18-4
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Screen.Recording.2022-10-20.at.10.06.45.PM.mov

Expensify/Expensify Issue URL:
Issue reported by: @Tushu17
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1666284006608739

View all open jobs on GitHub

Recording.750.mp4
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 20, 2022
@Tushu17
Copy link
Contributor

Tushu17 commented Oct 20, 2022

Proposal

We just need to change:-

isDisabled={this.state.payPalMeUsername === this.props.payPalMeData.description}

with

isDisabled={this.state.payPalMeUsername === this.props.payPalMeData.description || !this.state.payPalMeUsername.length}

@Puneet-here
Copy link
Contributor

Proposal

The button will be enabled if user uses empty space so we need to check if a value exists by using _.isEmpty(this.state.payPalMeUsername.trim())
I believe we can also remove the current check since the user don't have any option to edit username unless they visit this page by url

isDisabled={this.state.payPalMeUsername === this.props.payPalMeData.description}

So we can use _.isEmpty(this.state.payPalMeUsername.trim()) only or add it in the current logic like this

isDisabled={(this.state.payPalMeUsername === this.props.payPalMeData.description) || `_.isEmpty(this.state.payPalMeUsername.trim())`} 

@mallenexpensify mallenexpensify added the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Oct 21, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 21, 2022

Triggered auto assignment to @sophiepintoraetz (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Oct 21, 2022
@mallenexpensify
Copy link
Contributor

@sophiepintoraetz new BZ chore SO is here, we want to ensure BZ stays assigned to all issues so we can get to BugZero,

@melvin-bot
Copy link

melvin-bot bot commented Oct 24, 2022

@sophiepintoraetz Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Oct 24, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 24, 2022

@sophiepintoraetz Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@sophiepintoraetz
Copy link
Contributor

sophiepintoraetz commented Oct 25, 2022

@kavimuru - please make sure you're filling out this section here in your issues and that this is occurring on staging.
image

@melvin-bot melvin-bot bot removed the Overdue label Oct 25, 2022
@sophiepintoraetz sophiepintoraetz changed the title Bug: On add Paypal page, the add Paypal button isn't working correctly reported by @Tushu17 Bug: [Staging] On add Paypal page, the add Paypal button isn't working correctly reported by @Tushu17 Oct 25, 2022
@sophiepintoraetz
Copy link
Contributor

2022-10-25_14-48-04 (1)

Also, I am able to replicate the issue on web and iOS so sending over to engineering.

@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2022

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

@pecanoro pecanoro added the External Added to denote the issue can be worked on by a contributor label Oct 25, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2022

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

@pecanoro pecanoro removed their assignment Oct 25, 2022
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 25, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 25, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2022

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

@Santhosh-Sellavel
Copy link
Collaborator

Santhosh-Sellavel commented Nov 3, 2022

@michaelhaxhiu Requested changes yesterday. The Recent changes had been done 10 hours ago. Waiting for my review will get to it tomorrow!

@Santhosh-Sellavel
Copy link
Collaborator

@Puneet-here Please post a message once the requested changes are done, not sure if is this ready for review again.

@michaelhaxhiu
Copy link
Contributor

michaelhaxhiu commented Nov 3, 2022

Excellent! I'll leave it to you all + @pecanoro from here to help move it forward.

@Puneet-here
Copy link
Contributor

@Puneet-here Please post a message once the requested changes are done, not sure if is this ready for review again.

It's ready.

@michaelhaxhiu michaelhaxhiu added Daily KSv2 and removed Weekly KSv2 labels Nov 3, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 7, 2022

@pecanoro, @sophiepintoraetz, @Santhosh-Sellavel, @Puneet-here Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Nov 7, 2022
@Santhosh-Sellavel
Copy link
Collaborator

Not overdue PR is waiting for review from @pecanoro

@melvin-bot melvin-bot bot removed the Overdue label Nov 7, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 8, 2022

BugZero Checklist: The PR fixing this issue has been merged! The following checklist will need to be completed before the issue can be closed:

  • A regression test has been added or updated so that the same bug will not reach production again. Link to the updated test here: (questioning here
  • The PR that introduced the bug has been identified. Link to the PR here
  • 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 here
  • A discussion in #contributor-plus 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 here
  • Payment has been made to the issue reporter (if applicable)
  • Payment has been made to the contributor that fixed the issue (if applicable)
  • Payment has been made to the contributor+ that helped on the issue (if applicable)

@pecanoro pecanoro added the Reviewing Has a PR in review label Nov 8, 2022
@sophiepintoraetz
Copy link
Contributor

@Santhosh-Sellavel - would you mind answering the following please:

  • The PR that introduced the bug has been identified. Link to the PR:

@Santhosh-Sellavel
Copy link
Collaborator

Technically this PR #6545 should have added the check for empty case check too, this is where isDisabled was introduced on that page!

cc: @sophiepintoraetz @pecanoro

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Nov 9, 2022
@melvin-bot melvin-bot bot changed the title [$250] Bug: [Staging] On add Paypal page, the add Paypal button isn't working correctly reported by @Tushu17 [HOLD for payment 2022-11-16] [$250] Bug: [Staging] On add Paypal page, the add Paypal button isn't working correctly reported by @Tushu17 Nov 9, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 9, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.25-0 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 2022-11-16. 🎊

@sophiepintoraetz
Copy link
Contributor

sophiepintoraetz commented Nov 17, 2022

@Tushu17 and @Santhosh-Sellavel - can you please apply for the Job posted! Then we can close this one out! (@Puneet-here - you're all set)

@sophiepintoraetz
Copy link
Contributor

Bump @Santhosh-Sellavel (offer is in your inbox, @Tushu17!)

@sophiepintoraetz
Copy link
Contributor

All right - closing the issue coz payment is done! @Santhosh-Sellavel - feel free to reach out to me and/or respond to the offer in Upwork.

@Santhosh-Sellavel
Copy link
Collaborator

@sophiepintoraetz I didn't receive any offer from you, I got couple of offers issue but not received for this.

@sophiepintoraetz
Copy link
Contributor

@Santhosh-Sellavel - apologies! I could have sworn I did but anyways, here we are
image

@Santhosh-Sellavel
Copy link
Collaborator

@sophiepintoraetz You could hire me straight away as you have an option to do so.

I get it you might have invited me earlier too. Only when you hire me I will receive an offer, which will show up on messages.

@Santhosh-Sellavel
Copy link
Collaborator

Applied for the job now!

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 Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

8 participants