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

feat(core/datepicker/timepicker/datetimepicker): refactor #737

Merged
merged 132 commits into from
Nov 13, 2023

Conversation

lzeiml
Copy link
Contributor

@lzeiml lzeiml commented Sep 4, 2023

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (yarn build) was run locally and any changes were pushed
  • Unit tests (yarn test) were run locally and passed
  • Visual Regression Tests (yarn visual-regression) were run locally and passed
  • Linting (npm lint) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

  • Bug fix
  • Feature
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

#593
#698
#703
#702
#697

What is the new behavior?

  • Refactor ix-date-picker
  • Use Dayjs instead of luxon
  • Remove deprecated properties
  • Start the week based on the locale or on a new property weekStartIndex
  • Disable years/months based on the min/max-date properties
  • Fix infinite scroll
  • Refactor time-picker

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@danielleroux danielleroux mentioned this pull request Sep 5, 2023
2 tasks
@danielleroux danielleroux changed the title Date picker refactor feat(core/datepicker): rework Sep 5, 2023
@lzeiml lzeiml requested a review from danielleroux October 25, 2023 07:42
@danielleroux danielleroux self-assigned this Oct 25, 2023
danielleroux
danielleroux previously approved these changes Oct 25, 2023
Copy link
Collaborator

@danielleroux danielleroux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Copy link
Collaborator

@nuke-ellington nuke-ellington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work - two more points:

  • Dropdown items and days still have the native white focus border
  • Navigation between days via arrow keys is missing

@lzeiml
Copy link
Contributor Author

lzeiml commented Nov 6, 2023

  • Dropdown items and days still have the native white focus border
    a85f19b
  • Navigation between days via arrow keys is missing
    7f45d25

@lzeiml lzeiml requested a review from nuke-ellington November 6, 2023 14:15
Copy link
Collaborator

@nuke-ellington nuke-ellington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Features look good. Tests need to be fixed :)

@lzeiml
Copy link
Contributor Author

lzeiml commented Nov 8, 2023

Features look good. Tests need to be fixed :)

d10705e

@nuke-ellington nuke-ellington merged commit 9879b2c into main Nov 13, 2023
nuke-ellington pushed a commit that referenced this pull request Nov 20, 2023
Co-authored-by: Daniel Leroux <daniel.leroux@siemens.com>
Co-authored-by: matthiashader <144090716+matthiashader@users.noreply.github.com>
@danielleroux danielleroux deleted the date-picker-refactor branch September 5, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants