-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Awaiting C+ payment confirmation] [HOLD for payment 2023-08-16] [$1000] IOS - Getting console warning on Contact methods page #23093
Comments
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.IOS - Getting console warning on Contact methods page What is the root cause of that problem?In PressableWithDelayToggle Component we passed the innerRef as required prop and when forwardRef pass the null ref then we get the console warning App/src/components/Pressable/PressableWithDelayToggle.js Lines 14 to 16 in 4e49206
What changes do you think we should make in order to solve the problem?
App/src/components/Pressable/PressableWithDelayToggle.js Lines 59 to 69 in 4e49206
innerRef: () => {},
App/src/components/BaseMiniContextMenuItem.js Lines 33 to 36 in f74512d
We should remove the isRequired from the innerRef propTypes on PressableWithDelayToggle What alternative solutions did you explore? (Optional)none |
I don't have a dev environment to check for console logs on iOS. @aimane-chnaif I suspect maybe something to do with this migration of the component: #20601 Will move this on for a proposal review and input from C+! |
Job added to Upwork: https://www.upwork.com/jobs/~01a7dbc8ab0e657b1c |
Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOS - Getting console warning on Contact methods page What is the root cause of that problem?Here innerRef is required but it's value is null.
We are using App/src/components/CopyTextToClipboard.js Line 29 in edfea4b
and then CopyTextToClipboard is used on following pages
here's another page where we are using PressableWithDelayToggle You can check in all of the pages the props.innerRef will be null. What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)If we don't want to remove innerRef we can assign a value here of null
like this
|
hi, I'll be reviewing this |
@trjExpensify this came from #21852, not related to #20601 |
I got confirmation from offending PR - #21852 (comment). |
📣 @rushatgabhane Please request via NewDot manual requests for the Contributor role ($1000) |
📣 @jayeshmangwani 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Thanks @aimane-chnaif! @rushatgabhane am I missing some context here? We moving forward here? |
i think @jayeshmangwani has the root cause and a solution for it #23093 (comment) |
🎀 👀 🎀 |
📣 @rushatgabhane Please request via NewDot manual requests for the Reviewer role ($1000) |
Cool, assigned @jayeshmangwani! |
@rushatgabhane PR is ready for review |
@rushatgabhane bump for review, Please! |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.51-2 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-08-16. 🎊 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.
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:
|
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:
|
|
Created a manual request - https://staging.new.expensify.com/r/2686162480672467 |
@trjExpensify I imagine you're on this tomorrow, just noting I need that payment summary to approve the payment in NewDot. |
Yuuuup! Confirming payments as follows: $1,000 to @rushatgabhane for C+ No #urgency bonus being applied as per this. |
@trjExpensify i think we can close the issue. |
Cool, if @JmillsExpensify hasn't approved payment reopen it! |
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:
Expected Result:
There should be no console error on navigating to Contact Methods Page.
Actual Result:
On the Contact Methods Page Getting this console warning, *Warning: Failed prop type: The prop
innerRef
is marked as required inPressableWithDelayToggle
, but its value isnull
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: Dev 1.3.42-6
Reproducible in staging?: n/a
Reproducible in production?: n/a
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
contact-method-console-error.mov
Expensify/Expensify Issue URL:
Issue reported by: @jayeshmangwani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689664358693289
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: