Skip to content
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

chore(dependencies): bump flowbite-react and fix Datepicker #3056

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

fhennig
Copy link
Contributor

@fhennig fhennig commented Oct 23, 2024

resolves #3049

https://fix-datetimepicker-bump.loculus.org

Summary

Bump the flowbite-react dependency and incorporate the breaking Datepicker changes. The Datepicker now supports null values, which is actually not good for our use cases. We do not display the clear button in our cases, so we can ignore the typed null values; they will never come. To be defensive about it I added a warning logging output in case a null value is encountered in the onChange handler.

Screenshot

Submit view

image

Edit view

image

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

@fhennig fhennig changed the title bump and mitigate chore(dependencies): bump flowbite-react and fix Datepicker Oct 23, 2024
@fhennig fhennig marked this pull request as ready for review October 23, 2024 13:48
@fhennig fhennig self-assigned this Oct 23, 2024
@corneliusroemer corneliusroemer added the preview Triggers a deployment to argocd label Oct 23, 2024
@corneliusroemer
Copy link
Contributor

Nice, this looks good, I tested it on the preview (in the future remember to add that label immediately to save reviewers the waiting time ;) )

@fhennig fhennig merged commit c7bef85 into main Oct 24, 2024
19 checks passed
@fhennig fhennig deleted the fix/datetimepicker-bump branch October 24, 2024 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Triggers a deployment to argocd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bump flowbite-react to 0.10.2 and fix breaking DateTimePicker changes
2 participants