Insert date/time change

AI-generated summary

Users reported that the “Insert date/time” feature was changed to a dropdown menu, making it cumbersome to set the desired time. Slowhand expressed frustration with the new interface, noting the difficulty in scrolling to the correct time. sam escalated the issue, and j.jaffeux clarified that the intended functionality was still present, but a CSS issue was hiding the focus state. A fix was proposed in a PR, which was expected to restore the ability to edit the time via keyboard input, including using arrows, numbers, and tab. Slowhand confirmed the issue was resolved.

Starting yesterday, I believe, the “Insert date/time” has changed.

I can no longer click on the “time” and insert the preferred time, now I get a drop-down menu and have to scroll to the correct numbers. This is very cumbersome and I have a terrible time getting the scroll to stop somewhere near where I want it (I’m on desktop).

Can it be put back to fill-in-the-blank?

(what I’m doing right now is just inserting some random time and then editing it to the correct time in the actual post - extra work)

3 Likes

Oh we moved to a native date picker. @j.jaffeux is there anything we can do here?

4 Likes

The behaviour you want is actually present, the issue is about css which is not showing you have focus.

I made a PR which should improve this:

https://github.com/discourse/discourse/pull/12833

You should now correctly see the various focus cases:
Capture d’écran 2021-04-26 à 09.03.09
Capture d’écran 2021-04-26 à 09.03.37
Capture d’écran 2021-04-26 à 09.03.26

From here, you can use up/down arrows, numbers and tab to change it from keyboard.

6 Likes

Got it! Thanks so much!

4 Likes