-
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 2022-05-24] [$1000] [HOLD for payment after regression testing] Refactor Picker to be compatible with Form #7535
Comments
Triggered auto assignment to @sonialiap ( |
Triggered auto assignment to @laurenreidexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @stitesExpensify ( |
This issue looks self explanatory. May I take it as my task? |
Sure, that'd be great. Looks like you're a new contributor, as a reminder make sure you go through CONTRIBUTING.md. You could also #expensify-open-source slack channel if you like. 🎀👀🎀 C+ reviewed cc: @stitesExpensify |
Thank you for the opportunity! In a few moments I will send my request to be invited to slack channel. I plan to post an update on issue progress on Monday 7th Frebuary 2022, is that ok? |
@LucioChavezFuentes |
My bad, I will proceed if approval. |
Go for it @LucioChavezFuentes! Please apply for the job on Upwork and then @laurenreidexpensify will accept you |
📣 @LucioChavezFuentes You have been assigned to this job by @laurenreidexpensify! |
Thank you! I submitted my proposal on Upwork. I plan to finish the issue on Wednesday, 9th February. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Current assignee @stitesExpensify is eligible for the Exported assigner, not assigning anyone new. |
@Santhosh-Sellavel assigning you as C+ for this issue, since @rushatgabhane is OOO. I also assigned you to the corresponding PR. |
Just noting for the record that @parasharrajat needs a reporting bonus for reporting the regression here. The regression issue is here, but we decided to use this issue to manage everything to avoid confusion. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.61-3 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-05-24. 🎊 |
I have a question, I requested a rise on cost to this issue to $1000 and it was accepted . Is it normal to still show $250 on the title? |
Ah, yes! That title doesn't update automatically. I've updated this to reflect the correct amount. |
@laurenreidexpensify Can you set up a job on Upwork or send an invite for this issue! Its payment is due tomorrow. Thanks! |
@Santhosh-Sellavel sent you a proposal, ignore the per hour bit - I'll issue payment as a bonus as soon as you accept today |
@LucioChavezFuentes payment has been issued 👍🏽 |
Accepted the offer, @laurenreidexpensify! |
Paid @Santhosh-Sellavel 🙌🏽 |
@laurenreidexpensify I am eligible for a bonus here #7535 (comment). |
Sorry @parasharrajat will sort you out now! |
@parasharrajat created a new job here https://www.upwork.com/ab/applicants/1529457532430389248/job-details - I'll issue payment as soon as you're hired |
@parasharrajat all done - sorry about that! |
With the implementation of our new Form component we need to refactor Picker to be Form compatible. Here are the changes that need to be made:
isFormInput
prop.isFormInput
istrue
, require ainputID
prop. Use getInputIDPropTypes to enforce this propType rule.shouldSaveDraft
prop. Defaults tofalse
.value
prop optional.onBlur
method, callprops.onBlur()
.onChange
method (or equivalent e.g. onTextChange, etc), callprops.onChange()
.hasError
prop.errorText
prop. Defaults to an empty string.errorText
is truthy.props.ref
is attached to the appropriate DOM node. This could involve forwarding the ref to a child component. This is important so we can callref.focus()
.npm run storybook
and testing the component in the example form.There's an example of a refactor to
TextInput
in this PR.The text was updated successfully, but these errors were encountered: