Repository navigation
clear merge conflicts banner after there are no more conflicted files - #6428
Conversation
|
(Update: this still exists even when testing against your PR) I believe there is another use case for this but feel free to let me know if this belongs in another PR. If you dismiss the merge conflict modal, then right-click to discard all changes (includes conflicted files), then the merge banner remains present. Secondly, the user can click "view conflicts" and decide to Abort or Commit, which do nothing at this point. |
|
I'd like to hold off on merging this until we have a chance to discuss a bit further. I think we decided to do this intentionally to allow people to reopen and complete the merge after seeing their nice list of checked off previously conflicted files. It's potentially a bit misleading in the banner since the verbiage is "Resolve conflicts and commit..." and "View conflicts" but I don't think we want to force them to commit through the changes/diff pane. If anything I'd say if we could detect the state and update the banner's verbiage, that might be a good solution, but I'm uncertain. Open to others' thoughts. |
|
Tentatively pulling this into 1.5.1 as hiding the banner when there are no more conflicted files is A Good Thing To Do™. Are we tracking this feedback somewhere? #6428 (comment) |


Overview
Currently, the Merge Conflicts Banner is only hidden after going through the Committing Conflicted Files Warning. this PR adds the command to clear the banner after there are no more conflicted files left to be committed.