Skip to content

display merge conflict hint before doing the merge#5495

Merged
shiftkey merged 72 commits intomasterfrom
display-merge-status-in-compare-tab
Sep 7, 2018
Merged

display merge conflict hint before doing the merge#5495
shiftkey merged 72 commits intomasterfrom
display-merge-status-in-compare-tab

Conversation

@shiftkey
Copy link
Member

@shiftkey shiftkey commented Aug 28, 2018

🌵 🌵 🌵 Builds upon #5493, go review that first 🌵 🌵 🌵

This PR adds the UX for #4588 in two places, the Compare tab and the Merge Dialog. Both of these areas are decision points when the user decides to merge in some other branch into their current branch, and we want to help guide them.

I'm working from these mocks in this comment #4588 (comment) but these are likely to change:

screen shot 2018-08-28 at 3 26 28 pm

@shiftkey shiftkey added this to the 1.4.0 milestone Aug 28, 2018
@shiftkey
Copy link
Member Author

The two screens are wired up and functional. I haven't bothered with getting the elements positioned like the mockups yet.

I'd love some help polishing the layout @desktop/design as the poor conflict warning looks like it's currently balancing the button (shout out to @donokuda for his endorsement of my mad skillz). But I'd also like to turn the message into a shared component for the logic - it's currently replicated and a slightly different DOM.

<MergeStatusHeader /> is the new component for the indicator and margin separating the merge button from the message, if you're in there looking at the changes.

@shiftkey
Copy link
Member Author

@desktop/design do y'all have any bandwidth to help polish the current screen here for our internal demo tomorrow? We've got a contingency plan otherwise, but it's be nice to Do It Live™ with the live app looking more like the mocks.

@donokuda
Copy link
Contributor

@shiftkey I gotchu 👈😄👈

@donokuda donokuda self-assigned this Aug 29, 2018
@shiftkey shiftkey force-pushed the display-merge-status-in-compare-tab branch from 9f38077 to c3f06c7 Compare August 30, 2018 17:46
@shiftkey shiftkey force-pushed the display-merge-status-in-compare-tab branch from f6b6959 to b1f5f30 Compare September 4, 2018 11:29
@shiftkey
Copy link
Member Author

shiftkey commented Sep 7, 2018

🍎

outofambit
outofambit previously approved these changes Sep 7, 2018
@outofambit outofambit self-assigned this Sep 7, 2018
outofambit and others added 3 commits September 7, 2018 10:03
ensure the old layout is fine for users until they see the new merge hint
add analytics for how user leverages merge hint to merge
outofambit
outofambit previously approved these changes Sep 7, 2018
@iAmWillShepherd
Copy link
Contributor

@outofambit my bad on the timing of my feedback. Turns out my review went unsubmitted yesterday (I'm entirely at fault here, I didn't push the big green button!)

this.emitUpdate()
})

const cleanup = () => (this.currentMergeTreePromise = null)

This comment was marked as spam.

This comment was marked as spam.

@shiftkey shiftkey merged commit 5feefd9 into master Sep 7, 2018
@shiftkey shiftkey deleted the display-merge-status-in-compare-tab branch September 7, 2018 19:11
Copy link

@skynetrmz skynetrmz left a comment

Choose a reason for hiding this comment

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

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.

6 participants