Resolve "Add color selector for broadcast messages"
requested to merge 61787-the-colour-selector-for-broadcast-messages-should-provide-a-few-default-options-with-descriptive-labels-like-red-green-blue into master
What does this MR do?
This merge request adds the color selector that is being used in the labels form to the broadcast messages form.
It adds a ported version of text_color_for_bg
which is defined in labels_helper.rb
, so when the user clicks on the color, JavaScript will run the selected color through this function and get the appropriate color for the text.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios. -
Code review guidelines -
Merge request performance guidelines -
Style guides
Closes #61787 (closed)
Edited by Ammar Alakkad