View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0025666||mantisbt||ui||public||2019-03-29 09:33||2020-05-22 11:07|
|Priority||high||Severity||feature||Reproducibility||have not tried|
|Summary||0025666: Replace user selection list with an autocomplete widget progressive remote search|
The current user selection widget relies on an HTML SELECT widget, which is fine when there is a small number of entries in the list. However, when there are many users in the system (e.g. on this tracker, which has nearly 40K users as of this writing), the list is unwieldy or even useless, and causes a significant performance issue as it takes a significant amount of time for the server to load the list and the browser to render it (about 40 seconds on the computer I'm using now).
It should be replaced with another mechanism, e.g. an INPUT with autocomplete / progressive search, such as jQueryUI https://jqueryui.com/autocomplete/ or similar.
Although this topic has been discussed several times in the past (0017577, https://github.com/mantisbt/mantisbt/pull/1486 come to mind, but there are probably others references as well), it was never formally logged as a distinct issue AFAICT.
|Tags||No tags attached.|
|related to||0017577||assigned||dregad||Improve print_user_option_list() performance|
|has duplicate||0017962||closed||dregad||Implement auto-complete for reporter field in bug_update_page|
|related to||0025901||acknowledged||dregad||Manage project page loads ALL users|
|related to||0025906||assigned||syncguru||Add autocomplete inline popup menu for @mentions while typing|
For reference, here's an old attempt at tackling this https://github.com/dregad/mantisbt/commits/dynamic-reporter-select (probably a half-baked, semi-functional work-in-progress, I haven't actually looked at this code since 2015).
This has a dependecy on 0025658
I know, I just gave that as an example of what I meant by "autocomplete".
We have now almost 200,000 users. Certain parts of the admin interface are now blocking/unusable due to this issue, because when 200,000 names are loaded into a dropdown the browser crashes and a small kitten is killed somewhere.
Is there anything we can help with to resolve this issue?
|2019-03-29 09:33||dregad||New Issue|
|2019-03-29 09:33||dregad||Relationship added||related to 0017577|
|2019-03-29 09:43||dregad||Note Added: 0061797|
|2019-03-29 09:44||dregad||Status||new => confirmed|
|2019-03-29 10:19||cproensa||Note Added: 0061798|
|2019-03-29 11:08||dregad||Note Added: 0061799|
|2019-03-29 11:10||dregad||Relationship added||related to 0025658|
|2019-07-05 04:38||dregad||Relationship added||has duplicate 0017962|
|2019-07-05 05:50||dregad||Relationship added||related to 0025901|
|2019-07-08 04:40||cproensa||Relationship added||has duplicate 0025906|
|2019-07-08 04:41||cproensa||Relationship replaced||related to 0025906|
|2020-05-22 11:07||c_schmitz||Note Added: 0064019|