You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
When I set absolute dates using EuiSuperDatePicker, I place one hand on the pointing device and the other around the num keys on the keyboard.
This positioning used to work fine, but it's not comfortable anymore because the date parsing mandates hitting the Enter key nowadays, which requires an extra few inches of hand movement over the keyboard or hand off the pointing device.
Steps to set 01:05:00.000 to 01:05:15.000:
Click start date.
Click Absolute.
Click 01:00.
Select 0 to replace by mouse.
Type in 5.
Need to hit Enter.
Select input text.
Copy it by Ctrl+C.
Click end date.
Click Absolute.
Select input text.
Paste it by Ctl-V.
Select 00 to replace.
Type in 15.
Need to hit Enter.
Another pain point is that if I forget to hit Enter, my input text will be discarded when closing the absolute tab.
Solution
Trigger date parsing on blur from the input field. I will open a PR to address this issue shortly.
Alternative
Buy a keypad or keyboard with a keypad.
The text was updated successfully, but these errors were encountered:
I would strongly prefer the input to support both Enter key and onBlur. I think that helps the maximum number of users possible.
FWIW we previously experimented with validating the timestamp on debounced keypress and determined that to not be a good UX (too dependent on user typing speed - see #7331 (comment)) so I would veto that UX option (not that it's been suggested in this thread, I just want to get ahead of it 😆)
Issue:
When I set absolute dates using EuiSuperDatePicker, I place one hand on the pointing device and the other around the num keys on the keyboard.
This positioning used to work fine, but it's not comfortable anymore because the date parsing mandates hitting the Enter key nowadays, which requires an extra few inches of hand movement over the keyboard or hand off the pointing device.
Steps to set 01:05:00.000 to 01:05:15.000:
Absolute
.01:00
.0
to replace by mouse.5
.Absolute
.00
to replace.15
.Another pain point is that if I forget to hit Enter, my input text will be discarded when closing the absolute tab.
Solution
Trigger date parsing on blur from the input field. I will open a PR to address this issue shortly.
Alternative
Buy a keypad or keyboard with a keypad.
The text was updated successfully, but these errors were encountered: