stable

Clone or download

Read-only

Inject assign to information in DOM

Have a tracker without any contributor semantic. Load the taskboard. The source of the page show assign_to_field: null. Have a tracker with a contributor semantic on a non updatable field. Load the taskboard. The source of the page show assign_to_field: null. Have a tracker with a contributor semantic on an updatable field. Load the taskboard. The source of the page show assign_to_field: { id: <int>, is_multiple: <bool> }. This is not used yet. This will be useful for later. Part of story #14151: Update the assigned-to semantic of a card Change-Id: Ib9238d82d32c349aecbe4fee6a92c336f1eae2f9

Modified Files

Name
A plugins/taskboard/include/Tracker/AssignedToFieldPresenter.php +41 −0 Go to diff View file
M plugins/taskboard/include/Tracker/TrackerPresenter.php +5 −1 Go to diff View file
M plugins/taskboard/include/Tracker/TrackerPresenterCollectionBuilder.php +12 −1 Go to diff View file
M plugins/taskboard/phpunit/Board/BoardPresenterTest.php +23 −2 Go to diff View file
M plugins/taskboard/phpunit/Tracker/TrackerPresenterCollectionBuilderTest.php +39 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_FieldDao.class.php +33 −33 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Contributor.class.php +36 −10 Go to diff View file