stable

Clone or download

Read-only

Accent color in cardwall can use TLP colors

Part of story #11543 Use new palette colors as background color in A.D One less responsibility in Tracker_Artifact and Field_Selectbox. Yay ! How to test: - In a tracker being shown in a Cardwall, define a selectbox field named "type" (the name is hardcoded) - Associate TLP colors with values for this field (for example Dev in blue, etc.) - When you go to the Cardwall, the left side of the card will have a background corresponding to the TLP color you chose - Make sure to test Cardwall in AgileDashboard, Tracker and Dashboard (Renderer widget) Change-Id: I5b37a2d270bec2398a7dcc4a784307ae9dde5bf9

Modified Files

Name
M plugins/cardwall/include/CardInCellPresenterBuilder.class.php +10 −3 Go to diff View file
M plugins/cardwall/include/CardPresenter.class.php +26 −11 Go to diff View file
A plugins/cardwall/include/Cardwall/AccentColor/AccentColor.php +55 −0 Go to diff View file
A plugins/cardwall/include/Cardwall/AccentColor/AccentColorBuilder.php +84 −0 Go to diff View file
M plugins/cardwall/include/Cardwall_Renderer.class.php +11 −4 Go to diff View file
M plugins/cardwall/include/REST/v1/CardsResource.class.php +4 −3 Go to diff View file
M plugins/cardwall/include/RawBoardBuilder.class.php +36 −25 Go to diff View file
M plugins/cardwall/include/SingleCardBuilder.class.php +26 −9 Go to diff View file
M plugins/cardwall/include/autoload.php +4 −2 Go to diff View file
A plugins/cardwall/phpunit/Cardwall/AccentColor/AccentColorBuilderTest.php +163 −0 Go to diff View file
M plugins/cardwall/tests/RendererBoardBuilder.php +4 −3 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Exception/NoChangesetException.php +25 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Exception/NoChangesetValueException.php +25 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +0 −18 Go to diff View file
M plugins/tracker/include/Tracker/CardPresenter.class.php +7 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindDecoratorRetriever.php +59 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/NoBindDecoratorException.php +25 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Selectbox.class.php +3 −35 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/ListFields/Bind/BindDecoratorRetrieverTest.php +110 −0 Go to diff View file
M plugins/tracker/templates/card.mustache +2 −2 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +0 −22 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_SelectboxTest.php +4 −68 Go to diff View file
M plugins/tracker/www/themes/default/css/includes/_cards.scss +7 −0 Go to diff View file
M tests/phpunit/phpunit.xml +1 −0 Go to diff View file