-
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
update picker properly on parent value #8698
update picker properly on parent value #8698
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and tests well! Thanks for the fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left a comment, and there appears to be a merge conflict now
Wait, I just saw @luacmartins made a recent change on |
Nope, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, looks good.
Looks like all comments have been addressed. Merging... |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @luacmartins in version: 1.1.57-0 🚀
|
🚀 Deployed to production by @chiragsalian in version: 1.1.57-17 🚀
|
Details
Fixed Issues
$ #7535
#8687
#8570
Tests
Set my timezone automatically
checkboxTimezone
Picker
to focus. A list of options should appear.save
button.Profile Page
and enter again.Picker
input.Set my timezone automatically
checkboxTimezone
Picker
should update to users's Timezone without updating pageiOS
On step 3 and 4, the
Picker
's menu options should NOT close automatically on stop scroll.Storybook Web and Web Mobile (Google Chrome for Android)
Test
Picker
behaviour insideForm
in Storybooknpm run storybook
.Form
-->Default
Picker
values. The UI should change accordinglysubmit
buttonForm.stories.js
(Expected Behaviour?)Test scroll to
Picker
on clickfix the errrors
in Storybook.Form.stories.js
,InputError.args
and set non empty values as default to other input types besidesPicker
snpm run storybook
Form.stories.js
or shrink window enough to get the firstPicker
out of view while we can seesubmit
button.submit
button.Picker
error(s) andfix the errors
sentence should appear.fix the errors
. The view should scroll and center to the first Picker on error.Test
Picker
behaviour insidePicker
page in Storybook.Picker
values. The UI should change accordinglyPR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
PR Reviewer Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followed/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)QA Steps
Set my timezone automatically
checkboxTimezone
Picker
to focus. A list of options should appear.save
button.Profile Page
and enter again.Picker
input.Set my timezone automatically
checkboxTimezone
Picker
should update to users's Timezone without updating pageiOS
On step 3 and 4, the
Picker
's menu options should NOT close automatically on stop scroll.Storybook Web and Web Mobile (Google Chrome for Android)
Test
Picker
behaviour insideForm
in StorybookForm
-->Default
Picker
values. The UI should change accordinglyScreenshots
Web
Storybook
Mobile Web
Desktop
iOS
Android