# Admin » Dashboard » Reports: User interface improvements for the datetime picker

**URL:** https://meta.discourse.org/t/admin-dashboard-reports-user-interface-improvements-for-the-datetime-picker/181652
**Category:** Support
**Created:** [March 2, 2021, 7:36pm UTC](https://meta.discourse.org/t/admin-dashboard-reports-user-interface-improvements-for-the-datetime-picker/181652 "2021-03-02T19:36:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![amotl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amotl/32/109873_2.png) [@amotl](https://meta.discourse.org/u/amotl)
#### Post date: [March 2, 2021, 7:36pm UTC](https://meta.discourse.org/t/admin-dashboard-reports-user-interface-improvements-for-the-datetime-picker/181652/1 "2021-03-02T19:36:05Z")

</div>

Dear Discourse team,

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/](https://community.hiveeyes.org/) and [https://community.panodata.org/](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)…

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/0/e0e868689b7f57f8b1bf456c565f8465465d44be.png)

… 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.

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/1/013efd01f48a91f3b1687258fa62da0a875db985.png)

Maybe this is something that could be improved by applying some idle timeout or delay to the user’s typing?

With kind regards,  
Andreas.

---

<div class="post-metadata">

### Author: ![amotl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amotl/32/109873_2.png) [@amotl](https://meta.discourse.org/u/amotl)
#### Post date: [March 2, 2021, 7:43pm UTC](https://meta.discourse.org/t/admin-dashboard-reports-user-interface-improvements-for-the-datetime-picker/181652/2 "2021-03-02T19:43:22Z")

</div>

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.

> [@Ross Summerell](#):
>
> The problem I am having is I want to use a typable input as well as the datepicker, but when I type into this input field it fires the keyup event which triggers its v-on:selected event.
> 
> Meaning if I start typing in ‘2012-02-02’ with it submits on ever key up.
> 
> Usually this would be easy to solve as you can use a .length but this vue component always hands back a Date that is parsed. So that won’t work.
> 
> I have the idea to deconstruct the component and build my own but was hoping someone might have an idea for a different solution
> 
> – [https://stackoverflow.com/questions/56890586/vuejs-datepicker-typeable-input-submit-delay](https://stackoverflow.com/questions/56890586/vuejs-datepicker-typeable-input-submit-delay)

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.

> [@Vitaly Friedman](#):
>
> […]
> 
> Well, numerical input has to be reliable enough to manage all kinds of edge cases — and there are plenty of them. Of course, we’ll be using some sort of a label or placeholder to indicate the order of the day, month and year input and an example of the input format, but inline validation should pick up an ill-formatted input quickly and **suggest corrections** to drive the user forward in the input flow.
> 
> […]
> 
> Now, how would users type in the data when encountering that numerical input? If you observe users typing in a date in an input, you’ll see them pause for a second, type in `1` , then manually switch to the month input, type `3` , then manually switch to the year input and type the year — either `19` or `2019` .
> 
> Other users will play it safe and type in `03` and `01` explicitly. Still others will try to include a separator sign in either of these inputs. Because in some implementations the placeholder disappears once the input is activated, some users will use a different separator sign than the one you’ve accounted for — often a hyphen ( `-` ) or slash ( `/` ). Some users will try to increment the value by using the up and down arrows in the input fields. And some users will choose to tab through the fields when typing in the date. Oh, what a nightmare it is for inline validation!
> 
> […]
> 
> – [Designing The Perfect Date And Time Picker — Smashing Magazine](https://www.smashingmagazine.com/2017/07/designing-perfect-date-time-picker/)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [March 3, 2021, 5:06am UTC](https://meta.discourse.org/t/admin-dashboard-reports-user-interface-improvements-for-the-datetime-picker/181652/3 "2021-03-03T05:06:39Z")

</div>

Can you repro this @j.jaffeux ?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [June 17, 2021, 9:13am UTC](https://meta.discourse.org/t/admin-dashboard-reports-user-interface-improvements-for-the-datetime-picker/181652/5 "2021-06-17T09:13:51Z")

</div>

Changes I have made in the last months should have fixed this. Let me know if it doesn’t.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [June 27, 2021, 9:14am UTC](https://meta.discourse.org/t/admin-dashboard-reports-user-interface-improvements-for-the-datetime-picker/181652/6 "2021-06-27T09:14:26Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
