The discussion revolves around a user interface improvement for the datetime picker in the Admin » Dashboard » Reports section of Discourse. amotl reports a minor issue where typing in a datetime range can cause the page to bail out due to the action responding too quickly, often resulting in an overload of data.
amotl further investigates the issue, referencing a Stack Overflow question about VueJS datepicker’s typable input submitting on every keyup. Additionally, amotl mentions an article by Vitaly Friedman discussing the challenges of designing a reliable numerical input for date and time pickers.
first things first: As always, we are still highly impressed about the quality of the Discourse software and the spirit and love you are pouring into it. We can’t imagine running our communities on https://community.hiveeyes.org/ and https://community.panodata.org/ without it. We appreciate your efforts very much.
This is just a humble report about a minor thing we have been observing for some time already which is still present on our current 2.7.0.beta1 installations. We know your obligations might still be on very much harder problems running the maintenance of Discourse, so this report is really just for the records.
When going to the Reports pages within the Admin section of Discourse and trying to pick a datetime range by using the keyboard (i.e. trying to overwrite the year – e.g. 2019)…
… we are regularly experiencing the page to bail out because the action applying our typing will respond too quickly before waiting for it to complete. More often than not, this will lead to such a response because the data coming back from the selected datetime range will probably be too large to be processed quickly enough.
I just tried to figure out whether others are already experiencing such woes and to come up with the right jargon. Indeed, I have been able to find some references so I will just quote them here for reference.
After quickly scanning through this excellent article by Vitaly Friedman, I well recognize that improving the UX on those aspects might be harder than expected.