Vote #77742
未完了Add text filter to user fields
0%
説明
For projects with lots of users it may be time-consuming to find assignees in dropdown lists. It would be nice to add a text filter to such fields that would allow to enter some characters of the user's name and display only users whose names match it.
Probably something like this: http://www.listjs.com/examples/fuzzy-search
journals
This functionality already exists to add watchers. Should be easy to also apply to assignee?
--------------------------------------------------------------------------------
JW Fuchs wrote:
> This functionality already exists to add watchers. Should be easy to also apply to assignee?
# Filter implemented in 'Watchers' uses AJAX requests to fetch filtered results which is kinda slow. The one in example filters values on the client side which is much faster.
# The 'Watchers' filter is ugly and clumsy. There already are dropdown lists for users in the UI, we should use them.
# This is needed not for assignee only, but for every field with type = 'user'
--------------------------------------------------------------------------------
Found a much better soultion than the one I initially proposed: https://github.com/selectize/selectize.js
See demos section: http://selectize.github.io/selectize.js/
--------------------------------------------------------------------------------