rcpch / rcpch-audit-engine

Epilepsy12 Audit Platform
https://e12.rcpch.ac.uk/
GNU Affero General Public License v3.0
5 stars 4 forks source link

User Feedback on 'set' button for dates #968

Closed nikyraja closed 1 month ago

nikyraja commented 2 months ago

A few users have reported challenges where they have selected the date for input/investigation etc, but have not pressed the set button and the date therefore disappears. eg. image

Is there a way to make this easier for users? Could we remove the set buttons, and just have the dates save on their own? I can't recall the rationale for having the 'set' button?

If not, we could add "once the date have been entered, please press 'set' to save the entry" to the help note of each date question.

eatyourpeas commented 2 months ago

The dates used to save on their own on keyup or change of the value in the field, and worked well that way, but that relied on the fact that people used the date picker. When it was discovered that some were typing the dates then we discovered that we could not use that method, because the field would update as soon as the user had typed only a character or two, and this would trigger a rerender of that element. The only other way to allow it was to introduce a longer time delay but that was really clunky for those using the date picker. So we introduced the Set button, so that users could trigger the update when they were ready. There is no easy way round this unfortunately, since we cannot coerce them into using the date picker.

In your example, there is already a pink tick, meaning that that date must be being edited, so the user here already knows to press the set button. If the field is unscored, the blue target icon will show until the date has been validated and stored. I am not sure I see a way out of this one, except for users to learn to press the set button. Paging @mbarton for suggestions.

nikyraja commented 2 months ago

Thanks Simon - the screenshot was just from me playing around and not actually from users.

That's helpful information though, its not the end of the world, as you said users will just get used to the functionality. The tooltips may help with this.

dc2007git commented 1 month ago

Closing this unless @mbarton has suggestions