Mercurial > kallithea
view dev_requirements.txt @ 6806:541383de7568
autocomplete: use select2 when selecting users to add as reviewers to PRs
This is a minimal change to PullRequestAutoComplete, inspired by Dominik Ruf.
The UX is slightly different than before, with select2 putting up an extra
input field, already before typing anything.
We use minimumInputLength 1 to get the same behaviour as before and avoid
displaying all users in a list.
The select2 widget is reused for adding more users, so when a user is selected,
we process it, close the widget, and abort the selection, waiting for the user
to enter another user name.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 13 Aug 2017 17:19:18 +0200 |
parents | 02c820c5c48e |
children | 5ab31ff3011f |
line wrap: on
line source
babel >= 0.9.6, < 2.4 waitress >= 0.8.8, < 1.0 pytest ~= 3.0 pytest-runner pytest-sugar>=0.7.0 pytest-benchmark pytest-catchlog pytest-localserver mock sphinx webtest < 3