Skip to content

Conversation

pan-kot
Copy link
Member

@pan-kot pan-kot commented Sep 4, 2025

Description

Implements date input formats for date range picker calendar date inputs.

Docs: [DvXYAOkww6To]

Same changes in date picker: #3719
Same changes in date input: #3686
Original implementation: #3555

How has this been tested?

  • New unit tests
  • Updated screenshot permutations
Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@pan-kot pan-kot force-pushed the feat-date-range-picker-custom-formats branch 3 times, most recently from 75787bc to 83c1fa6 Compare September 4, 2025 12:52
Copy link

codecov bot commented Sep 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.22%. Comparing base (08da1c8) to head (976adef).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3837      +/-   ##
==========================================
+ Coverage   97.21%   97.22%   +0.01%     
==========================================
  Files         844      844              
  Lines       24561    24586      +25     
  Branches     8660     8672      +12     
==========================================
+ Hits        23877    23904      +27     
+ Misses        677      675       -2     
  Partials        7        7              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pan-kot pan-kot marked this pull request as ready for review September 4, 2025 14:57
@pan-kot pan-kot requested a review from a team as a code owner September 4, 2025 14:57
@pan-kot pan-kot requested review from johannes-weber and removed request for a team September 4, 2025 14:57
@pan-kot pan-kot force-pushed the feat-date-range-picker-custom-formats branch from 83c1fa6 to f031e83 Compare September 5, 2025 06:20
Copy link
Member

@johannes-weber johannes-weber left a comment

Choose a reason for hiding this comment

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

Left a non-blocking comment. Other than that it looks good!
I'm awaiting the current checks to run green before approving.

const dateInputPlaceholder = isMonthPicker ? 'YYYY/MM' : 'YYYY/MM/DD';
const showTimeInput = !dateOnly && !isMonthPicker;

const parsedDateInputFormat = dateInputFormat;
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick (not blocking): You could use the dateInputFormat directly and remove this line as dateInputFormat stays as it is..

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated!

@johannes-weber johannes-weber self-requested a review September 12, 2025 13:57
johannes-weber
johannes-weber previously approved these changes Sep 12, 2025
Copy link
Member

@johannes-weber johannes-weber left a comment

Choose a reason for hiding this comment

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

I see there's one failing Flashbar test which is not related to this changes. May a rebase fixes them?

I'm approving for now, once the Flashbar test is fixed, the PR is ready to go.

johannes-weber
johannes-weber previously approved these changes Sep 15, 2025
@pan-kot pan-kot added this pull request to the merge queue Sep 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 15, 2025
@pan-kot pan-kot added this pull request to the merge queue Sep 16, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 16, 2025
@pan-kot pan-kot added this pull request to the merge queue Sep 16, 2025
Merged via the queue into main with commit d1c8b7f Sep 16, 2025
38 checks passed
@pan-kot pan-kot deleted the feat-date-range-picker-custom-formats branch September 16, 2025 12: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.

2 participants