Replace old selectors with smart objects selector widget in the administration UI
Review Request #10215 — Created Oct. 10, 2018 and submitted — Latest diff uploaded
RelatedObjectedWidgetis in Djblets, we import
it from there and extend it in the
RelatedGroupWidget, along with
relevant HTML and JS files, which extends the
RelatedGroupWidgethas the ability to only display groups that are
invite only. All three widgets, for exampe, can be viewed on
/admin/db/reviews/defaultreviewer/add/, and they all function.
relatedGroupSelectorTests.es6.jsto test the widgets
./tests/runtests.pyand no errors were thrown. Ran the js-tests, and
no errors were thrown.
New unit tests were created in
the functionality of the widgets. The test classes are:
RelatedGroupWidgetfunction as intended.