Page MenuHomePhabricator

Use Select2 input for user selection in the admin
ClosedPublic

Authored by Info-Screen on Apr 27 2019, 10:07 PM.

Details

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

Diff Detail

Repository
rAPI Server API
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Apr 28 2019, 2:34 AM
This revision was automatically updated to reflect the committed changes.