HomePhabricator

Use Select2 input for user selection in the admin

Authored by Info-Screen on Apr 27 2019, 9:59 PM.

Description

Use Select2 input for user selection in the admin

Summary:
Use Select2 Input for the Admin Interface whenever seelecting a user.

Occurences:

  • Post
  • Comment
  • Profile
  • Bans
  • Warns

The advantage of the Select2 is that you can search and that it loads the users asynchronously,
so you don't need to load the list of all users anymore.

Fixes T369

Test Plan:
Create new objects of the above mentioned Models.
Notice the select2 field.
Try some autocompletion

Reviewers: WyldBot

Reviewed By: WyldBot

Maniphest Tasks: T369

Differential Revision: https://phabricator.wildfyre.net/D248