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

Upgrade Eonasdan Date Picker #427

Merged

Conversation

jordisala1991
Copy link
Member

@jordisala1991 jordisala1991 commented May 1, 2023

Subject

I am targeting this branch, because this breaks BC, older date picker and new date picker do not share same options.

Closes #320.
Closes #362.

Changelog

### Changed
- Upgrade DatePicker to v6 (name changed from `eonasdan/bootstrap-datetimepicker` to `eonasdan/tempus-dominus`)

@jordisala1991 jordisala1991 changed the title Feature/upgrade datepicker 2 Upgrade Eonasdan Date Picker May 1, 2023
@jordisala1991 jordisala1991 force-pushed the feature/upgrade-datepicker-2 branch 20 times, most recently from 19e6c00 to cf5288d Compare May 6, 2023 10:18
@jordisala1991 jordisala1991 marked this pull request as ready for review May 6, 2023 10:18
@jordisala1991
Copy link
Member Author

This PR replaces previous one, with better implementation: #335

Probably test coverage should be improved, but for now, @VincentLanglet wdyt?

assets/scss/app.scss Outdated Show resolved Hide resolved
@jordisala1991 jordisala1991 force-pushed the feature/upgrade-datepicker-2 branch 3 times, most recently from 26e7f31 to 8dc6add Compare May 6, 2023 14:33
.eslintrc.js Outdated Show resolved Hide resolved
@jordisala1991 jordisala1991 force-pushed the feature/upgrade-datepicker-2 branch 7 times, most recently from 6fd0465 to 2fd751f Compare May 6, 2023 16:20
@jordisala1991
Copy link
Member Author

jordisala1991 commented May 6, 2023

I think this should be almost done. Things missing:

  • Test again on my project with all latest changes.
  • Prepare dev kit pr
  • Change docs
  • Add an upgrade note

@VincentLanglet since none of the above should change already written code, if you want to do a second round of review it would be nice.

@jordisala1991
Copy link
Member Author

Works perfect on my side with SonataAdmin v4. Please review @VincentLanglet

@jordisala1991 jordisala1991 merged commit 49657c8 into sonata-project:2.x May 9, 2023
18 checks passed
@jordisala1991 jordisala1991 deleted the feature/upgrade-datepicker-2 branch May 9, 2023 12:49
@jordisala1991 jordisala1991 added this to the 2.0 milestone May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants