avh4 / elm-debug-controls

Easily build interactive UIs for complex data structures
https://avh4.github.io/elm-debug-controls/
BSD 3-Clause "New" or "Revised" License
24 stars 4 forks source link

Remove elm-css and NoRedInk/datetimepicker-legacy dependencies #16

Closed tesk9 closed 1 year ago

tesk9 commented 1 year ago

NoRedInk/datetimepicker-legacy is unmaintained (and not 100% functional), and it's unlikely to be updated to the elm-css 18.0.0. elm-debug-controls depended on elm-css only because it was depending on datetimepicker-legacy. By replacing datetimepicker-legacy with an HTML input with type "datetime-local", it's possible to remove datetimepicker-legacy and elm-css dependencies.

Hopefully, this will make package maintenance a little bit less tedious -- few dependencies means fewer updates because somebody else changed something.

Before

Screen Shot showing custom datetimepicker with an analog timepicker

After

Screen Shot showing default datetimepicker
avh4 commented 1 year ago

I'm gonna address the comments.

avh4 commented 1 year ago

https://package.elm-lang.org/packages/avh4/elm-debug-controls/2.2.3/

avh4 commented 1 year ago

Such a relief to remove the dependency!!

tesk9 commented 1 year ago

Yay! 🎉 Thank you!