disable future dates for DOB date picker#8176
Merged
mountiny merged 1 commit intoMar 16, 2022
Merged
Conversation
rushatgabhane
approved these changes
Mar 16, 2022
Member
There was a problem hiding this comment.
@mountiny LGTM! 🎉 Errors work well even if we use a future date.
PR Reviewer Checklist
- I verified the PR has a small number of commits behind
main - I verified the correct issue is linked in the
### Fixed Issuessection above - I verified testing steps are clear and they cover the changes made in this PR
- I verified the testing environment is mentioned in the test steps
- I verified testing steps cover success & fail scenarios (if applicable)
- I checked that screenshots or videos are included for tests on all platforms
- I verified tests pass on all platforms & I tested again on:
- iOS / native
- Android / native
- iOS / Safari
- Android / Chrome
- MacOS / Chrome
- MacOS / Desktop
- I verified there are no console errors related to changes in this PR
- I verified proper code patterns were followed (see Reviewing the code)
- I verified comments were added when the code was not self explanatory
- I verified any copy / text shown in the product was added in all
src/languages/*files (if applicable) - I verified proper naming convention for platform-specific files was followed (if applicable)
- I verified style guidelines were followed
- I verified the JSDocs style guidelines (in
STYLE.md) were followed
- I verified that this PR follows the guidelines as stated in the Review Guidelines
- I verified other components are not impacted by changes in this PR (i.e. if the PR modifies a shared library or component like
Avatar, I verified the components usingAvatarare working as expected) - I verified the UI performance was not affected (the performance is the same than
mainbranch) - If a new component is created I verified that a similar component doesn't exist in the codebase
mountiny
approved these changes
Mar 16, 2022
mountiny
left a comment
Contributor
There was a problem hiding this comment.
@thesahindia @rushatgabhane Thank you very much!
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
31 tasks
Contributor
Contributor
|
Seems like mWeb didn't like this changes. @thesahindia can you test this? |
Member
|
Unfortunately, Safari on iOS doesn't support |
Contributor
|
This is fine to accept, we have verification that won't allow users to input future dates, so nothing can go wrong and Safari will start to support this prop at some point. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Disabled the future dates in DOB date picker, now the user won't be able to select the future dates
Fixed Issues
$ #8151
Tests | QA Steps
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectionsrc/languages/*files (if applicable)Styling.md) for all style edits I madeSTYLE.md)Avatar, I verified the components usingAvatarare working as expected)displayNameproperty if it’s a Functional Component(i.e.
StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)PR Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectionsrc/languages/*files (if applicable)STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)displayNameproperty if it’s a Functional Component(i.e.
StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)QA Steps
Screenshots
Web
Screen.Recording.2022-03-16.at.11.59.11.AM.mov
Mobile Web
Screen.Recording.2022-03-16.at.12.29.07.PM.mov
Desktop
iOS
Screen.Recording.2022-03-16.at.12.27.49.PM.mov
Android
Getting error when trying to visit the personal information step (asked about it on slack)