-
Notifications
You must be signed in to change notification settings - Fork 3k
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-13] [$1000] Console error on click of the paypal payment method where Make default payment method option isn’t available(Error: Invalid prop style supplied to Button
)
#19752
Comments
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Proposal by @Pujan92 ProposalPlease re-state the problem that we are trying to solve in this issue.Console error on click of the paypal payment method where What is the root cause of that problem?For the button style we are passing the empty array here when default button option isn’t available for it, whereas in the button we are expecting style prop to be
App/src/components/Button/index.js Line 76 in cb6ba23
What changes do you think we should make in order to solve the problem?We need to pass an empty object either in the array or separately to fulfill the required prop types.
OR
|
Not sure what's going on here and it's DEV so I'm going to go ahead and open this one up. |
Invalid prop style supplied to Button
)Invalid prop style supplied to Button
)
Job added to Upwork: https://www.upwork.com/jobs/~011825e5129fec9a46 |
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Triggered auto assignment to @NikkiWines ( |
Hello,
In the example above, the |
📣 @Web-Go-To! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Hello, I will check the Button component's code implementation to ensure that the style property is defined as an object type. The style property value must be an object containing CSS style properties and values. Click Me |
Thank you for your message. Based on the error message, it looks like there is an issue with how the To fix this error, I can take the following steps:
For example:
In the example above, the
|
@NikkiWines the proposal from @Pujan92 looks good to me! We can use the first option 🎀 👀 🎀 C+ reviewed! |
I see that this is your first time try contributing here! You can start to go through the CONTRIBUTING.md and how to propose a solution. |
Ok @NikkiWines , Done. I will raise a PR once it gets assigned to me. Thanks! |
@mollfpr @NikkiWines PR is ready for review! |
🎯 ⚡️ Woah @mollfpr / @Pujan92, great job pushing this forwards! ⚡️ The pull request got merged within 2 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
Invalid prop style supplied to Button
)Invalid prop style supplied to Button
)
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.24-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-06-13. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
@mollfpr we still have plenty of time, though ahead of the regression ending, would appreciate you checking off the items above. Thank you! |
@JmillsExpensify yup, I will finish it today. Thanks for the reminder! |
Sorry for the delay @JmillsExpensify 🙏
https://github.com/Expensify/App/pull/13648/files#r1226974514
Soon we will migrate to TS, which warns in the editor. Also, it should be caught while reviewing the PR.
Yes!
|
@JmillsExpensify, @Pujan92, @NikkiWines, @mollfpr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Friendly bump @JmillsExpensify |
Bump @JmillsExpensify :) |
Thanks guys! Sorry for the delay. Jumping in now. |
Summarizing payments, this is what I'm seeing: I've invited you both to the Upwork job. Bonuses will be paid out when payment is issue, with the offer now including the base. |
Thanks @JmillsExpensify , Accepted! |
Also, I disagree that we should add a regression test for console errors. I think this one is out of scope. |
@Pujan92 You're all set! I added the bonus on final payment. |
Alright, everyone has been paid out at this point and I don't think a regression test is in scope. Closing this issue out. |
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:
Expected Result:
Console error should not be occurred
Actual Result:
Console error occurs
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: needs reproduction
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
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
Screen.Recording.2023-05-18.at.10.04.14.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @Pujan92
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684427630067449
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: