[go: up one dir, main page]

Skip to content

Convert start new MR from Toggle to Checkbox

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Let's update the modal with "Start new merge request" to use a checkbox instead of a toggle.

  • Replace blob modal
  • Delete blob modal
  • New directory modal
  • Upload file modal

This will make it match the IDE

image

Background Info

The following discussion from !71154 (merged) should be addressed:

I noticed the start a new merge request option was changed from a checkbox to a toggle switch. I think we may want to stick with the checkbox. I think the toggle meets the when to use of being binary and having a default state, but I think "The result of changing the toggle state is immediately effective" is what makes the checkbox the better choice. Also under the do not use section "When the setting exists within a form that has other elements, like text inputs or checkboxes, that need to be saved or submitted."

image

Edited by 🤖 GitLab Bot 🤖