nuxeo-web-ui icon indicating copy to clipboard operation
nuxeo-web-ui copied to clipboard

WEBUI-424: fix full text input requiring Enter key press in Assets an…

Open GuruprasadAnk1996 opened this issue 3 years ago • 2 comments

https://jira.nuxeo.com/browse/WEBUI-424

GuruprasadAnk1996 avatar Sep 28 '22 11:09 GuruprasadAnk1996

@Gabez0r @GuruprasadAnk1996 IIRC we requested people to use the enter key in the fulltext of auto search because otherwise typing would send too many requests to the server and create performance issues.

So, we have two options from here:

  1. Remove the need to press enter in auto search but keep performance (maybe by using some kind of debounce or something?). If we do that, it needs to be consistent everywhere and not just in assets search. => it would certainly be appreciated by our customers, as long as performance is not impacted => scope might be bigger than what is requested in the support ticket, so maybe we could consider that as an improvement

  2. Play it safe: keep the existing behavior that you need to press enter in auto search => solves the support ticket, so I would say it is ok and most likely the safest option to choose here

bchauvin avatar Sep 30 '22 10:09 bchauvin

It is my understanding that we already have debouncers in place that prevent too many request to be made, so I wouldn't expect this to degrade performance, but I would recommend double checking.

Gabez0r avatar Sep 30 '22 13:09 Gabez0r