Skip to content

Implement six-date #340

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Implement six-date #340

wants to merge 1 commit into from

Conversation

davidemarcoli
Copy link
Member

@davidemarcoli davidemarcoli commented Mar 19, 2025

This PR introduces a new six-date component as a simplified replacement for the existing six-datepicker.

The six-datepicker has grown complex over time, with features that are hard to maintain and inconsistent in usage. Key motivations for a fresh start:

  • Simplify internal logic and improve consistency
  • Switch from JavaScript Date objects to ISO date string values for better interoperability
  • Remove time picker functionality for simplicity (will be reintroduced in a future iteration)

@davidemarcoli davidemarcoli changed the title Feature/six date Implement six-date Mar 19, 2025
@davidemarcoli davidemarcoli requested review from ibirrer and colinscz and removed request for ibirrer March 19, 2025 15:17
@ibirrer ibirrer force-pushed the feature/six-date branch 2 times, most recently from af8d3f0 to 2a8b091 Compare April 15, 2025 13:48
@ibirrer ibirrer marked this pull request as ready for review April 15, 2025 14:44
@JoelLeupp JoelLeupp requested a review from ibirrer April 23, 2025 09:25
JoelLeupp
JoelLeupp previously approved these changes Apr 23, 2025

render() {
return (
<div class="container">
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would add ARIA attributes like role and data-testid to make the component more accessible

Copy link
Collaborator

Choose a reason for hiding this comment

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

What aria role would be approriate here?

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.

3 participants