Refactor ready_to_merge.vue component
As part of the restructuring the merge request widget we will need to refactor our ready_to_merge.vue
component to be more re-usable across the whole widget. This state will always be visible in the widget and will hide the merge button when the user can not merge.
Important!
With this we need to make sure that no inconsistencies exist with the merge button showing in other states. The only place the merge button should be shown is in this new component and it should only be shown when the user can actually merge.
Component
Edited by Phil Hughes