-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: add merge strategy #3581
UI: add merge strategy #3581
Conversation
Added @johnnyaug + @ozkatz for product feedback on the ui |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
See comments.
Suggestion to make it less eye-catching - use a select dropdown instead of radio buttons.
<FormControl> | ||
<FormLabel id="demo-radio-buttons-group-label">Merge Strategy</FormLabel> | ||
<FormHelperText> | ||
In case of a merge conflict, this option will force the merge process |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great description!
In case of a merge conflict, this option will force the merge process | ||
to automatically favor changes from the dest branch (”dest-wins”) or | ||
from the source branch(”source-wins”). In case no selection is made, | ||
the merge process will fail in case of a conflict. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: use concrete branch names (I also added a missing space there).
In case of a merge conflict, this option will force the merge process | |
to automatically favor changes from the dest branch (”dest-wins”) or | |
from the source branch(”source-wins”). In case no selection is made, | |
the merge process will fail in case of a conflict. | |
In case of a merge conflict, this option will force the merge process | |
to automatically favor changes from <b>{dest}</b> (”dest-wins”) or | |
from <b>{source}</b> (”source-wins”). In case no selection is made, | |
the merge process will fail in case of a conflict. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
</FormHelperText> | ||
<RadioGroup | ||
aria-labelledby="demo-radio-buttons-group-label" defaultValue="none" name="radio-buttons-group" row> | ||
<FormControlLabel value="none" control={<Radio />} label="none" onChange={onStrategyChange}/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<FormControlLabel value="none" control={<Radio />} label="none" onChange={onStrategyChange}/> | |
<FormControlLabel value="none" control={<Radio />} label="Default" onChange={onStrategyChange}/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay
closes #3266