-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-09-26] Dev- Console warning whenever type in composer on Android and iOS Dev #48268
Comments
Triggered auto assignment to @miljakljajic ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Console warning on every type on composer. What is the root cause of that problem?Based on the error message and the reanimated doc, we are trying to change the object In our case, we are trying to set the ref here, App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx Lines 312 to 316 in e77f204
and we also use it inside the App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx Lines 607 to 611 in e77f204
What changes do you think we should make in order to solve the problem?The doc suggested using useSharedValue and if we look at the ReportActionCompose, we did that. App/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx Lines 378 to 386 in e77f204
So, there are 2 options. Follow the pattern in ReportActionCompose by making a shared value to store the clear function and pass it to OR No need to pass textInputRef to App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx Lines 607 to 611 in e77f204
and just use App/src/libs/ComponentUtils/index.ts Lines 13 to 17 in e77f204
|
@bernhardoj we already store clear as a sharedValue. So in this case, the only option is to use animatedRef directly, as you pointed out in your second solution. @ishpaul777 , can I create an issue for the remaining errors that I'm encountering in the composer? I'm keen on making our new RN75 update more stable, as these issues somewhat block me from delivering this feature. so we can use
instead of
|
Asked for the process for agency members to crete GH issues, will let you know once i got a reply |
@perunt plz follow the steps in the agency dev process doc. We wanna make sure there's 👀 before PRs are created.
|
@miljakljajic Can you please assign this to @perunt as per this comment |
posted it to #expensify-open-source |
@miljakljajic Huh... This is 4 days overdue. Who can take care of this? |
I discussed this in Slack, and there is no other idea so far. |
Triggered auto assignment to @srikarparsi, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Triggered auto assignment to @stephanieelliott ( |
Heading out on parental leave so assigning to another BZ team member. Thank you @stephanieelliott |
The PR with the fix has been merged, link |
PR was deployed to prod on 9/19 but it looks like the automation didn't work. Updating manually to add payment date |
I don't have any offending PR for this one. There is no regression test as well as it's only dev related console.warn. @stephanieelliott This is ready for payout. |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
I had helped with the PR Review, so I am eligible for a payout here. |
Summarizing payment on this issue:
No Upwork job for this |
$250 approved fro @mananjadhav |
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:
Reproducible in staging?: Issue occurs in dev
Reproducible in production?:
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
Expensify/Expensify Issue URL:
Issue reported by: @ishpaul777
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1724876364667229
Action Performed:
Expected Result:
No warnings or error message
Actual Result:
There's a warning
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: