stable

Clone or download

Read-only

Disallow "Switch to old palette" when field is used by semantic Background color

Part of story #11542 - Update tracker "color picker" to have beautiful colors to associate with select box values How to test: - Define a field to be used by the background color semantic - Go to the tracker fields usage administration - Edit the field - Open the colorpicker --> The switch is disabled - Unset the field for the bg color semantic - Reopen the colorpicker --> The switch is usable Change-Id: Ibac99d7f897b916a04fd0ea58a35ad3739b7b432

Modified Files

Name
M plugins/cardwall/include/OnTop/Config/View/ColumnDefinition.class.php +15 −12 Go to diff View file
M plugins/cardwall/include/Semantic/CardFields.class.php +2 −1 Go to diff View file
M plugins/cardwall/include/cardwallPlugin.class.php +13 −0 Go to diff View file
A plugins/tracker/include/Tracker/Events/IsUsedInSemanticEvent.php +62 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_BindDecorator.class.php +22 −17 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Static.class.php +11 −3 Go to diff View file
A plugins/tracker/include/Tracker/colorpicker/ColorpickerMountPointPresenter.php +56 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +7 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +5 −0 Go to diff View file
A plugins/tracker/templates/colorpicker/colorpicker-mount-point.mustache +21 −0 Go to diff View file
M plugins/tracker/www/scripts/colorpicker/ColorPicker.vue +16 −7 Go to diff View file
M plugins/tracker/www/scripts/colorpicker/ColorPickerSwitch.vue +24 −4 Go to diff View file
M plugins/tracker/www/themes/FlamingParrot/css/colorpicker.scss +13 −0 Go to diff View file