Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

[WIP] Add UI element for alternate resolution strategies like "Keep Both" #200

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

al-the-x
Copy link

@al-the-x al-the-x commented Feb 2, 2016

The plugin supports resolution via "Keep Both" methods acceptOursThenTheirs() and acceptTheirsThenOurs() but those options are "hidden" underneath the contextual menu (well, I certainly never thought to right-click on the conflict). Provide a UI element -- like a gear button? -- that will supply other resolution options.


This change is Reviewable

@al-the-x
Copy link
Author

al-the-x commented Feb 2, 2016

FYI, this is just a TODO in the code so I don't forget about it. Care to assign to me, @smashwilson?

But just a dummy interface for the moment... I need access to the `ConflictedEditor` instance to invoke `accept*` methods, which I _think_ is `@editor` (from `CoveringView#initialize`). Need some tests!
I'm not 100% certain about the way forward here, and I haven't tried building locally yet. The `editor` property of `SideView` is _either_ an instance of Atom's `editor` _or_ the `ConflictedEditor` instance I want it to be.
@al-the-x al-the-x changed the title Add UI element for alternate resolution strategies like "Keep Both" [WIP] Add UI element for alternate resolution strategies like "Keep Both" Sep 21, 2016
@al-the-x
Copy link
Author

@smashwilson See notes on my recent commits. Some insight would be helpful, if you have the bandwidth.

@ardean
Copy link

ardean commented Feb 2, 2017

any news?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants