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

Date picker improvements - ISO8601 support, add more presets, UI rearrangement, time picker #5445

Open
4 tasks
C0rn3j opened this issue Jun 15, 2024 · 4 comments

Comments

@C0rn3j
Copy link
Contributor

C0rn3j commented Jun 15, 2024

Current Suggested Alternative with preset on top

I have a couple suggestions for the date picker.

  • First would be support in the settings to optionally use ISO8601 over local time.
  • Second would be to rearrange the elements to make them flow and look a bit smoother
  • Third would be to add more delay presets than just "Today", and possibly make them into buttons/icons.
  • Fourth would be to implement a time picker, to allow to define preset times without the keyboard, like so:
    image
@xet7
Copy link
Member

xet7 commented Jun 21, 2024

@C0rn3j

Some improvements to date picker would be nice, like using keyboard arrow keys, tab etc to set time.

Also, we would need some way to select exact time by only clicking, because writing is difficult with some keyboards of some languages #3873

There is also some other problems with dates #4881

But only changing place of date and time would just get people confused.

@Hekatomb
Copy link
Contributor

@C0rn3j

Some improvements to date picker would be nice, like using keyboard arrow keys, tab etc to set time.

Also, we would need some way to select exact time by only clicking, because writing is difficult with some keyboards of some languages #3873
There is also some other problems with dates #4881

But only changing place of date and time would just get people confused.

Is there reason you are not using the browser's built-in time picker? Looks like it is well supported in mobile browsers and desktop browsers alike.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date

@xet7
Copy link
Member

xet7 commented Jun 25, 2024

@Hekatomb

It looks like week number is not visible in browser's built-in time picker in Firefox.

@Hekatomb
Copy link
Contributor

@xet7 That is correct and that could very well be a reason not to use the built-in date picker. But you can use the time picker without the date picker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants