Add custom label GitHub status check checkbox
What does this MR do and why?
Related to #326339 (closed).
This MR adds a checkbox_label
property to integrations, and supports this in app/assets/javascripts/integrations/edit/components/dynamic_field.vue
. This allows us to specify a label for the checkbox itself, in addition to a label for the form group.
As a result, we fix the issue raised in #326339 (closed) where (Optional) was repeated twice in a checkbox field in the GitHub integration.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Create project (or, navigate to an existing project)
- Navigate to the GitHub Integration form for the project (Settings > Integrations > GitHub)
- Observe the checkbox.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Tom Quirk