Skip to content

UI changes to handle binary files when conflicted - #6122

Merged
outofambit merged 8 commits into
masterfrom
ui-changes-to-support-binary-conflicts
Nov 8, 2018
Merged

outofambit merged 8 commits into
masterfrom
ui-changes-to-support-binary-conflicts

Conversation

@shiftkey

@shiftkey shiftkey commented Nov 7, 2018 •

Copy link
Copy Markdown
Member

Overview

Closes #6066

This improves how we display binary files - which do not contain conflict markers and have a different flow to resolve them - in the new merge conflict dialog.

Description

This PR closes out the last parts of #6066:

  • conflicted binary diff files are now listed as conflicted and do not encourage you to open them in an editor

  • because binary files need to be staged to be resolved - removing the conflicted markers and potentially removing them from the working directory completely - the dialog needs to show something if it cannot find any conflicted files

TODO:

Release notes

Notes: no-notes

@shiftkey shiftkey added this to the 1.5.0 milestone Nov 7, 2018
@shiftkey

shiftkey commented Nov 7, 2018

Copy link
Copy Markdown
Member Author

While we sort out #6116, the changes specific to this PR can be viewed in this diff.

@shiftkey
shiftkey force-pushed the ui-changes-to-support-binary-conflicts branch from 11a8560 to f523bdb Compare November 7, 2018 19:00
@shiftkey
shiftkey requested a review from outofambit November 7, 2018 19:00
@shiftkey shiftkey changed the title [WIP] UI changes to handle binary files when conflicted UI changes to handle binary files when conflicted Nov 7, 2018
@shiftkey

shiftkey commented Nov 7, 2018

Copy link
Copy Markdown
Member Author

Now that #6116 has been merged into master, this branch has been rebased to omit those changes

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Nov 7, 2018

@outofambit outofambit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one blocking question, but after that's resolved i'm good to merge this

@outofambit outofambit self-assigned this Nov 7, 2018
outofambit
outofambit previously approved these changes Nov 7, 2018
@ampinsk

ampinsk commented Nov 7, 2018

Copy link
Copy Markdown
Contributor

Hey, looks like this could use a little more padding:

48138500-d3142380-e27a-11e8-8999-0e0b1360df9d

I can push a commit here if you'd like or follow up in a separate PR!

@shiftkey

shiftkey commented Nov 7, 2018

Copy link
Copy Markdown
Member Author

@ampinsk I'm fine with pushing a commit to this branch if @outofambit isn't in a rush to merge it

@outofambit

Copy link
Copy Markdown
Contributor

go for it 🙂

@ampinsk

ampinsk commented Nov 7, 2018

Copy link
Copy Markdown
Contributor

Spacing tweaked!

screen shot 2018-11-07 at 2 14 17 pm

@shiftkey

shiftkey commented Nov 7, 2018

Copy link
Copy Markdown
Member Author

🍎

outofambit
outofambit previously approved these changes Nov 8, 2018
@outofambit

Copy link
Copy Markdown
Contributor

hey @shiftkey can you resolve conflicts here so I can merge this for beta?

@shiftkey

shiftkey commented Nov 8, 2018

Copy link
Copy Markdown
Member Author

@outofambit merged and re-tested 👍

@outofambit
outofambit merged commit 5aee704 into master Nov 8, 2018
@outofambit
outofambit deleted the ui-changes-to-support-binary-conflicts branch November 8, 2018 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants