-
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 2022-11-07] [$250] BUG: Dev Console error when edit message reported by @aimane-chnaif #12048
Comments
Triggered auto assignment to @lschurr ( |
@lschurr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@lschurr Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Triaging this today. |
Tagging Eng since this is a dev issue that I can't reproduce. |
Triggered auto assignment to @dangrous ( |
Am indeed seeing this on dev. Since its only a warning, though, I think we can ignore it for now as it's not user facing, so I'll close this. However, ccing @neil-marcellini since it looks like it's related to this PR - #9031 - in case there's a reason you can see to update, or it's a super quick fix? I think it's talking about this
|
We are compensating for bug reports we fix for console errors but... I hadn't thought of examples where they're only on dev. Addressed internally https://expensify.slack.com/archives/C02NK2DQWUX/p1666661515587739?thread_ts=1663583691.520459&cid=C02NK2DQWUX |
This still happens in latest version (dev only).
If we want to support expand in edit message composer in the future, we can update this flag accordingly. |
Yes @aimane-chnaif has the solution. I think we could also make it optional and default to |
We should keep this open and fix it even though it's just a prop type warning. |
Proposal(if this GH can be exported to contributors) Solution 1: (the case when
Solution 2: (the case when /** Whether the composer is full size */
- isComposerFullSize: PropTypes.bool.isRequired,
+ isComposerFullSize: PropTypes.bool,
/** General styles to apply to the text input */
// eslint-disable-next-line react/forbid-prop-types
style: PropTypes.any,
};
const defaultProps = {
shouldClear: false,
onClear: () => {},
autoFocus: false,
isDisabled: false,
forwardedRef: null,
selection: {
start: 0,
end: 0,
},
isFullComposerAvailable: false,
setIsFullComposerAvailable: () => {},
+ isComposerFullSize: false,
style: null,
}; Same applies to iOS (https://github.com/Expensify/App/blob/main/src/components/Composer/index.ios.js) And I see that |
Current assignee @lschurr is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
I agree with @aimane-chnaif's proposal (second solution), we should make 🎀👀🎀 C+ reviewed! |
Yep, that second proposal sounds great to me as well! I'll assign and lets go ahead with a PR. |
📣 @aimane-chnaif You have been assigned to this job by @dangrous! |
@lschurr this is reviewed and approved. Do we need to do anything else on this issue/Upwork/etc. other than merge? This is my first one! |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist will need to be completed before the issue can be closed:
|
also @aimane-chnaif just wanted to share this info below in case you weren't aware how things work re: upwork, etc.! I know there's a lot of information in our contributing guidelines, so some points to take note of:
So it might take a while before you're paid for your work, but we typically post multiple new jobs every day, so there's plenty of opportunity. I hope you've had a positive experience contributing to this repo! |
@dangrous thanks for the info. I already know this process since I completed lots of jobs already :) |
@aimane-chnaif awesome! Sounds great. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.21-4 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-07. 🎊 |
Hi @aimane-chnaif - Could you please apply for the job in Upwork so that we can hire you? https://www.upwork.com/jobs/~01a688c0ae4629126f |
@lschurr applied with $500 since I am also a reporter 🙂 |
Hi @eVoloshchak - could you apply to the job in Upwork so that I can pay you for C+? |
Hey @aimane-chnaif - Could you accept the offer in Upwork and I'll get that paid! |
@lschurr accepted thanks |
All set. This has been fixed and paid! |
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:
No console errors
Actual Result:
Console error Warning: Failed prop type: The prop
isComposerFullSize
is marked as required inComposer
, but its value isundefined
.Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.18-2
Reproducible in staging?: Need reproduction
Reproducible in production?: Need reproduction
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
console.error.mov
Expensify/Expensify Issue URL:
Issue reported by: @aimane-chnaif
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1666283934468759
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: