stable

Clone or download

Read-only

Add the color decorator for the list picker in the angular modal

Part of story #16648 have decorators on ListPicker fields The decorator only works with the list picker. If the list picker is not enabled then old behavior is expected (no color displayed). Change-Id: Icd3886dc5cc555bde368fc941dd366ead70f2d65

Modified Files

Name
M plugins/tracker/include/REST/FieldListStaticValueRepresentation.class.php +7 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Static.php +6 −1 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/list-picker-field/list-picker-field-controller.js +16 −8 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/list-picker-multiple-field/list-picker-multiple-field-controller.js +14 −5 Go to diff View file
M src/scripts/list-picker/src/helpers/templates/predefined-item-template-retriever-helper.test.ts +12 −4 Go to diff View file
M src/scripts/list-picker/src/helpers/templates/predefined-item-template-retriever-helper.ts +9 −2 Go to diff View file
M src/scripts/list-picker/src/renderers/__snapshots__/DropdownContentRenderer.test.ts.snap +1 −2 Go to diff View file
M src/scripts/list-picker/themes/style.scss +10 −0 Go to diff View file
M src/themes/tlp/src/scss/components/_forms.scss +30 −0 Go to diff View file