Repository navigation
Conflicted merge resolution flow - #5809
Conversation
060fd3e to
198ba94
Compare
|
This is getting close. Just wanted to call out some of the UX things we should try and follow up:
|
|
I've pushed some work to this branch around the error handling, so I'd like some 👀 from @iAmWillShepherd too before we wrap this up. |
shiftkey
left a comment
There was a problem hiding this comment.
Minor things to call out, nothing blocking
| readonly dispatcher: Dispatcher | ||
| readonly repository: Repository | ||
| readonly onDismissed: () => void | ||
| readonly currentBranch: string |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| ) | ||
| } | ||
| case PopupType.AbortMerge: | ||
| if (enableMergeConflictsDialog()) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| readonly dispatcher: Dispatcher | ||
| readonly repository: Repository | ||
| readonly status: WorkingDirectoryStatus | ||
| readonly onDismissed: () => void |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| const { tip } = gitStore | ||
| await gitStore.performFailableOperation(() => gitStore.merge(branch), { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Getting a The error prevents the merge conflict modal from appearing. It also causes Desktop to remove my repo altogether. I also have to relocate it on my computer and add it back. Repro:
Logs tested on 87b9a1a |
|
Out of curiosity, is the conflict file list sorted in any particular order? |
@say25 I suspect this is based on whatever |
|
Going to merge this in so we can get ready for the next beta release. @outofambit don't forget to open issues for remaining work from your notes in the PR description 👍 |
|
@shiftkey all issues opened!:
|
I was seeing this one when the list of conflicts files was populated after the dialog was first displayed. If I can see it again I'll try and get together a meaningful set of repro steps. |
|
@zKoz210 your comment was deleted as a violation of the Desktop Code of Conduct as it was insulting or derogatory. You may consider this an official warning. |



🎉 resolves #5400
There are a couple outstanding issues (see Known issues section below) but I'd like to get code review kickstarted now.
Would love to merge this Monday, Oct 29 (or earlier).
Gifs
Merge flow
Abort flow
Known issues
To be fixed in this PR
app.tsxTo be fixed in future PRs
I'll convert these into their own issues to be addressed separately