operational-ui icon indicating copy to clipboard operation
operational-ui copied to clipboard

DatePicker code quality

Open peterszerzo opened this issue 6 years ago • 0 comments

The date picker's code can use some general code quality enhancements, especially as it will be enhanced to support more sophisticated needs in the future.

Some ideas:

  • add a nice abstraction to take away code repetition in DatePicker.Month.ts.
  • consolidate styles.
  • rethink public API with the following alternatives:
    • keep things as they are but add warnings
    • date object
    • a stricter { year: 2011, month: 12: day: 2 } setup
    • TBA

peterszerzo avatar Jul 18 '18 11:07 peterszerzo