You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what happens after you merge? do you stay in the view and the behind count becomes Behind (0) and the ahead stays Ahead (y)? what does the merge button look like (greyed out? hidden)?
is there a scenario where the merge button would be greyed out otherwise?
if they end up in a state where they have merge conflicts, will we have any (temporary) helpful text to resolve?
is there anything fancy we need to know about scrolling through commits in the "behind" part?
what happens after you merge? do you stay in the view and the behind count becomes Behind (0) and the ahead becomes Ahead (x+y)?
Yup, that makes sense to me
what does the merge button look like (greyed out? hidden)?
The normal button disabled state
is there a scenario where the merge button would be greyed out otherwise?
As long as there are commits ready to be merged I can't see such a case. Perhaps we'd disable it while a pull operation is ongoing but we don't do that for committing right now so we can probably punt on it for now.
if they end up in a state where they have merge conflicts, will we have any (temporary) helpful text to resolve?
We should show a dialog in that case letting the user know that the merge was unsuccessful and then send them of to the commit view to see the conflicts.
is there anything fancy we need to know about scrolling through commits in the "behind" part?
Not for the initial work but one thing that we both would really like to have in this view is range selections. We haven't yet spec:d that out fully though.
I'm a bit confused by this. Does this mean the app should auto-magically revert on conflict? or is it as simple as displaying an error stating there are conflicts?
That sounds reasonable to me, but would this be considered out of scope for RBB? I think users are currently able to find themselves in that situation if they get a conflict from running Branch > Update From Default Branch...
Maybe we can punt on this decision until we start work on Merge Conflicts.
Activity
nerdneha commentedon Feb 13, 2018
@donokuda @niik
Behind (0)and the ahead staysAhead (y)? what does the merge button look like (greyed out? hidden)?niik commentedon Feb 13, 2018
Yup, that makes sense to me
The normal button disabled state
As long as there are commits ready to be merged I can't see such a case. Perhaps we'd disable it while a pull operation is ongoing but we don't do that for committing right now so we can probably punt on it for now.
We should show a dialog in that case letting the user know that the merge was unsuccessful and then send them of to the commit view to see the conflicts.
Not for the initial work but one thing that we both would really like to have in this view is range selections. We haven't yet spec:d that out fully though.
[-]Merge changes into your branch[/-][+][RBB] Merge changes into your branch[/+]iAmWillShepherd commentedon Apr 4, 2018
I'm a bit confused by this. Does this mean the app should auto-magically revert on conflict? or is it as simple as displaying an error stating there are conflicts?
iAmWillShepherd commentedon Apr 18, 2018
@donokuda, @niik do you have any thoughts on how we should handle a merge conflict? Should we surface a dialog or show something in the Compare tab?
At the moment, I'm leaning towards this workflow:
MERGE_HEADfile exists in the.gitdatabasegit merge --abortto cleanup things@shiftkey and I discussed this further and we're thinking it would be very useful to show a bit of UI that let's the user know they have an out.
donokuda commentedon Apr 18, 2018
That sounds reasonable to me, but would this be considered out of scope for RBB? I think users are currently able to find themselves in that situation if they get a conflict from running Branch > Update From Default Branch...
Maybe we can punt on this decision until we start work on Merge Conflicts.