Skip to content

User search widget

the iris system requested to merge feature/user-search-widget into main

This adds a barebones user search widget, using the user search API introduced in 1a8deeaf.

Views to be updated to use this:

  • Role management - index - search
  • Role management - role group - add user
  • Case - edit - assign advocate
  • Case task - create - task assignee
  • Case task - edit - task assignee

Screen_Shot_2021-06-08_at_1.03.07_PM

Screen_Shot_2021-06-08_at_7.25.32_AM


To enable this for a field that accepts a user ID as an integer:

  • Add the .user-search-field class to the field element
  • Add the async-load stanza to the page to actually load the widget (.async-load{:'data-sources' => JSON.generate(['/static/user_search.bundle.js'])})
Edited by the iris system

Merge request reports