stable

Clone or download

Read-only

cleanup: Disable legacy color palette

New color palette (based on TLP swatch colors) is alive since 2018, it is time to remove the legacy one. Converting old colors to the new ones cannot be done automatically because there are more shades of color in the legacy one. Therefore the plan is to keep selected old colors as is, and at field value edition, user will get only the new palette, with no way back possible. A feature flag is added as an Emergency Break Glass: users yelling too much can be calmed down with the following command: ``` tuleap config-set feature_flag_enable_usage_of_legacy_color_palette contact_the_dev_team_if_you_enable_this ``` Known usage of the color picker: * List value decorators in tracker administration * cardwal columns in A.D administration Part of request #30744: Deprecation of legacy color palette Change-Id: I8691df79d3733cc92a5e45f8cd6d83049436a5cf

Modified Files

Name
M plugins/cardwall/include/OnTop/Config/View/ColumnDefinition.class.php +1 −2 Go to diff View file
R plugins/tracker/include/Tracker/colorpicker/ColorpickerMountPointPresenter.php Go to diff View file
A plugins/tracker/include/Tracker/Colorpicker/ColorpickerMountPointPresenterBuilder.php +56 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_BindDecorator.php +2 −1 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/colorpicker/src/ColorPicker.vue +8 −3 Go to diff View file
M plugins/tracker/templates/colorpicker/colorpicker-mount-point.mustache +1 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Colorpicker/ColorpickerMountPointPresenterBuilderTest.php +76 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElementListValueAdminViewPresenterBuilderTest.php +3 −3 Go to diff View file