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

Add option for Super date field to open picker in one click #271

Closed
jovancacvetkovic opened this issue Feb 3, 2023 · 2 comments · Fixed by #627
Closed

Add option for Super date field to open picker in one click #271

jovancacvetkovic opened this issue Feb 3, 2023 · 2 comments · Fixed by #627
Assignees
Labels
enhancement New feature or request ux/ui

Comments

@jovancacvetkovic
Copy link

Is your feature request related to a problem? Please describe.
The current version of the OUI Super Date Picker opens the picker on second click.
The default state of the field is like this
super date 1

The first click updates the field to this
super date 2

and finally the second click opens the picker
super date 3

Describe the solution you'd like
It would be a great improvement to update the field content and open the picker in just one click.
And in addition to better UX perhaps event focus the start field so that user can use the keyboard right away.

Desired flow would be like this:

  • the field is rendered in the default state
    super date 1

  • the user clicks once into the field and the field is update and the picker is opened
    super date 3

@jovancacvetkovic jovancacvetkovic added the enhancement New feature or request label Feb 3, 2023
@jovancacvetkovic jovancacvetkovic changed the title Add option for Super date field to open picker on one click Add option for Super date field to open picker in one click Feb 3, 2023
@seanneumann
Copy link
Contributor

@KrooshalUX can you weigh in on this?

@KrooshalUX
Copy link
Contributor

KrooshalUX commented Mar 23, 2023

Apologies for delay @seanneumann @jovancacvetkovic - @kgcreative and I synced up on this around the time the issue was filed, I responded that we needed to do a bit of a deep dive on the possible down-stream implications of making this single click ,and the best way to handle single click here. (Not sure what happened on my end but it looks like I didn't actually post the response, how embarrassing)

Currently on my radar is investigating - from a UX perspective - how the two preview states work and express the time previews based on the selection of time range. We are seeing a mis-match in communications (1 day vs 24 hours) so I got caught up in a bit of a rabbit hole on this.

I am going to sync with @AbhishekReddy1127 who has some ideas in his PR on a resolution and then come back to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ux/ui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants