stable

Clone or download

Read-only

Get status to column mapping in DOM

Part of story #13641 See solo cards in their column How to test: When you browse the taskboard, the [data-columns] attribute has an enriched column information. Columns have the following format: { "id": <column id>, ... "mappings": [ { "tracker_id": <tracker id>, "accepts": [ { "id": <cardwall list field value id> } { "id": <optional additional list field value id> } ] }, <additional mappings> ] } Change-Id: I3202de118b2c00ff22bd13d82fbdb487c9cb182b

Modified Files

Name
M plugins/taskboard/include/Board/BoardPresenterBuilder.php +1 −1 Go to diff View file
M plugins/taskboard/include/Column/ColumnPresenter.php +12 −4 Go to diff View file
M plugins/taskboard/include/Column/ColumnPresenterCollectionRetriever.php +19 −9 Go to diff View file
A plugins/taskboard/include/Column/FieldValuesToColumnMapping/ListFieldValuePresenter.php +36 −0 Go to diff View file
A plugins/taskboard/include/Column/FieldValuesToColumnMapping/TrackerMappingPresenter.php +38 −0 Go to diff View file
A plugins/taskboard/include/Column/FieldValuesToColumnMapping/TrackerMappingPresenterBuilder.php +100 −0 Go to diff View file
M plugins/taskboard/include/taskboardPlugin.php +20 −1 Go to diff View file
M plugins/taskboard/phpunit/Column/ColumnPresenterCollectionRetrieverTest.php +18 −9 Go to diff View file
A plugins/taskboard/phpunit/Column/FieldValuesToColumnMapping/TrackerMappingPresenterBuilderTest.php +172 −0 Go to diff View file