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

Epic: Refactor and enhance UX of date and time-based components #6714

Open
1 task
geospatialem opened this issue Mar 31, 2023 · 8 comments
Open
1 task

Epic: Refactor and enhance UX of date and time-based components #6714

geospatialem opened this issue Mar 31, 2023 · 8 comments
Labels
0 - new New issues that need assignment. c-datepicker Issues that pertain to the calcite-date-picker component design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. epic Large scale issues to be broken up into sub-issues and tracked via sprints and/or project. estimate - 21 Requires planning, input from team members and possibly others. p - medium Issue is non core or affecting less that 60% of people using the library refactor Issues tied to code that needs to be significantly reworked.

Comments

@geospatialem
Copy link
Member

geospatialem commented Mar 31, 2023

Description

Refactor the design of our Date and Time-based components to include:

  1. Support of new features
  2. Better UX of the component(s)
  3. More support for keyboard users
  4. Refactored code base for us to maintain the component(s) in the future

cc: @eriklharper for additional considerations as we move towards design considerations.

Proposed Advantages

  • Refactored component code for maintenance
  • More component features/support
  • Improved a11y support
  • Improved UX

Which Component

  • date-picker
  • input-date-picker
  • time-picker (possibly?)
  • input-time-picker (possibly?)
  • input-time (in progress)

Relevant Info

This came up in a Community idea to add a range to our input-time-picker component, and was discussed with other developers to determine some options for us as we move forward, both with Date picker and Time picker components.

Some other resources for UX consideration:

@geospatialem geospatialem added enhancement Issues tied to a new feature or request. design Issues that need design consultation prior to development. refactor Issues tied to code that needs to be significantly reworked. 0 - new New issues that need assignment. p - medium Issue is non core or affecting less that 60% of people using the library estimate - 21 Requires planning, input from team members and possibly others. needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. labels Mar 31, 2023
@geospatialem
Copy link
Member Author

Related: #3455

@eriklharper
Copy link
Contributor

eriklharper commented Mar 31, 2023

Here are some additional asks on our time input experience that we should incorporate into the design of this new experience:

Millisecond support: #6591
Timezone Offset support: #6590

I'll also include here some open bugs that showcase some of the pitfalls of the current experience:

The existing input-time-picker's design necessitates parsing a free-form input which is more complicated than a masked input experience that forces entry of only the numbers of the time value and the meridiem: #6398

This is a bug in Date Picker where clicking an end date after the existing end date of a date range won't change the end date: #6223

Here's a case where we would like to drop support for calcite-input type="time": #4756

This would be a nice improvement we could add as part of the masked input experience: #3671

Here's a big one that ties into our Validation story: supporting invalid states for when entered values are out of range or a required input is empty: #3526

@macandcheese macandcheese added the c-datepicker Issues that pertain to the calcite-date-picker component label Apr 3, 2023
@ashetland ashetland added this to the Design Sprint Planning milestone May 30, 2023
@ashetland ashetland removed the needs milestone Planning workflow - pending milestone assignment, has priority and/or estimate. label May 30, 2023
@SkyeSeitz
Copy link

This is a part of the Date Picker Redesign epic #6721, but looks like this issue could possibly be its own epic that focuses on UX of both Date and Time Picker, allowing #6721 to be focused on just Date Picker whose remaining issues are all accounted for in this comment on the epic.
lmk what y'all think.
cc @geospatialem @eriklharper

@eriklharper
Copy link
Contributor

This is a part of the Date Picker Redesign epic #6721, but looks like this issue could possibly be its own epic that focuses on UX of both Date and Time Picker, allowing #6721 to be focused on just Date Picker whose remaining issues are all accounted for in this comment on the epic. lmk what y'all think. cc @geospatialem @eriklharper

Sounds like it is a different "thing" than just a Date Picker redesign for sure. Feel free to remove this from the #6721 epic and we can treat this as a separate effort. Significant progress has been made on several of the items I addressed in that comment above too, to which I crossed off millisecond and time zone support. I'm currently making progress on input-time which addresses issues with the free-form input in input-time-picker. My goal is to get input-time shipped before the end of the year.

@brittneytewks brittneytewks added the figma changes Issues that require additions or updates to the Figma UI Kit where no `design` label exists label Sep 12, 2023
@geospatialem geospatialem changed the title [Date and Time pickers] Refactor and enhance UX of date and time-based components Epic: Refactor and enhance UX of date and time-based components Sep 13, 2023
@geospatialem geospatialem added the epic Large scale issues to be broken up into sub-issues and tracked via sprints and/or project. label Sep 13, 2023
@geospatialem
Copy link
Member Author

Removed from the #6721 epic, and leaving this one as a standalone to tackle across components.

@brittneytewks brittneytewks removed the figma changes Issues that require additions or updates to the Figma UI Kit where no `design` label exists label Dec 11, 2023
@emmilaakso212
Copy link

@geospatialem would timezone picker enhancements be considered part of this epic? Just wanted to chime in since that's something I've been supporting with in collaboration with @ashetland . We don't have a ticket (to my knowledge) yet, but are requirements gathering and working with a wider group to determine best next steps.

@geospatialem
Copy link
Member Author

@geospatialem would timezone picker enhancements be considered part of this epic? Just wanted to chime in since that's something I've been supporting with in collaboration with @ashetland . We don't have a ticket (to my knowledge) yet, but are requirements gathering and working with a wider group to determine best next steps.

@emmilaakso212 The input-time-zone component is not currently in scope for the epic, but cc'ing @ashetland for expertise to determine if it should be added to the effort.

@geospatialem
Copy link
Member Author

Added input-date-picker and input-time-picker individual month, day, and year individual inputs to the above epic's efforts in #8624.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. c-datepicker Issues that pertain to the calcite-date-picker component design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. epic Large scale issues to be broken up into sub-issues and tracked via sprints and/or project. estimate - 21 Requires planning, input from team members and possibly others. p - medium Issue is non core or affecting less that 60% of people using the library refactor Issues tied to code that needs to be significantly reworked.
Projects
None yet
Development

No branches or pull requests

7 participants