-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Fix/datepicker decade picker unclickable #1452
Fix/datepicker decade picker unclickable #1452
Commits on Jul 20, 2024
-
fix(ui): DatePicker years title correct range
- Range of years presented in title now match the calendar for the year view - Removed unnecessary subtraction and multiplication in year view
Marcus Gilmore-Lim committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for bc2c216 - Browse repository at this point
Copy the full SHA bc2c216View commit details -
fix(ui): DatePicker decades title correct range
- Found the date range presented was offset incorrectly. e.g. the range presented would be 1990-2100 but range presented was 2000-2090
Marcus Gilmore-Lim committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for 76c65e3 - Browse repository at this point
Copy the full SHA 76c65e3View commit details -
fix(ui): DatePicker decade isDisabled fixed (themesberg#1211)
- Found the use of `isDateInRange` was using the wrong dates for the date, minDate and maxDate. - Updated `isDisabled` check to ensure both the first and last date are in range. - Minor optimisation as `first` doesn't need to be regenerated for each decade.
Marcus Gilmore-Lim committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for d21bf16 - Browse repository at this point
Copy the full SHA d21bf16View commit details -
test(ui): Test for decade title rendering
- Testing that decade titles are being rendered correctly (and technically days, years and months)
Marcus Gilmore-Lim committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for 4a59c42 - Browse repository at this point
Copy the full SHA 4a59c42View commit details -
test(ui): Datepicker tests when maxDate set
- Tested if the button for the earlier decade is enabled when max date is set Tested if the button for the later decade is disabled when max date is set
Marcus Gilmore-Lim committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for c8b52d9 - Browse repository at this point
Copy the full SHA c8b52d9View commit details -
test(ui): Datepicker tests when minDate set
- Tested if the button for the earlier decade is disabled when min date is set - Tested if the button for the later decade is enabled when min date is set
Marcus Gilmore-Lim committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for 4e7aa5d - Browse repository at this point
Copy the full SHA 4e7aa5dView commit details -
fix(ui): storybook Datepicker default date mistyping
- When minDate and maxDate were defined, defaultDate was not updated to a Date.
Marcus Gilmore-Lim committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for 8042d23 - Browse repository at this point
Copy the full SHA 8042d23View commit details -
test(ui): Datepicker tests decade within range
- Tested if decades within a maxDate minDate range are correctly selectable.
Marcus Gilmore-Lim committedJul 20, 2024 Configuration menu - View commit details
-
Copy full SHA for d2268ce - Browse repository at this point
Copy the full SHA d2268ceView commit details