Repository navigation
Description
Over the past several releases, we've focused on making it easier for people to collaborate using GitHub Desktop. There are several features we've released to that end, including the ability to compare one branch to another and subsequently merge (#3956) and notifying users when master has commits that their branch does not (https://blog.github.com/2018-07-30-github-desktop-1.3/).
We think it would be helpful to take a step back and evaluate what things are intuitive and working well and where there might be opportunities for improvement. Since we're still exploring our handling of merge conflicts in Desktop, the scope of this evaluation is intended to be from the moment a user decides they'd like to get work from one branch to another (intent, regardless of where they are in the app) up to the point where they actually initiate the merge.
The goals here are:
- Take a look at the metrics relating to the current merge flow to understand how it's being used to date.
- Identify the areas of confusion in the current merge flow and where things are not discoverable, and evaluate whether that aligns with what metrics show. This part should involve at least some interaction/usability testing with users outside of GitHub.
- Propose potential solutions for making that flow more intuitive and discoverable to help reduce friction for individuals and teams that use Desktop as part of their collaboration.
cc: @desktop/design @desktop/analytics
Task Issues:
- Make it obvious which branch is being merged into which branch - It's unclear which branch is being merged into another in the merge dialog #5930
- Place merge button in branch list dropdown - Add a button to the branch selector #5929
Activity
billygriffin commentedon Oct 10, 2018
We discussed this today and I wanted to share a more clarified set of observations and problem statements:
Observations
We've not seen considerable evidence that people find value in comparing the commits of one branch to another when trying to merge. Additionally, in usability testing, when attempting to merge, most users went first to the "Branch" dropdown, not to the "History" tab where the compare flow currently lives. Therefore, the most discoverable way to merge one branch to another is through the menu bar. If this is working for users, we have no problem if people choose to continue that flow, but we think beginners would benefit from a more intuitive merge flow.
Problem statements
For the purposes of this initial effort, we're viewing problems 1 and 2 as in scope, and 3 as an iteration that we may tackle later.
How will we measure success?
cc: @nerdneha @ampinsk @iAmWillShepherd
ampinsk commentedon Oct 15, 2018
In order to address problems 1 and 3, we're proposing these updates to the branch panel and the subsequent
Merge into current branchmodal.Branch panel
We're adding a button to the bottom of the panel: "Choose a branch to merge into [current branch]"
Merge modal
Two small changes here:
Both of these changes may adapt as we build them out and use them with real data (especially when it comes to how these behave with long branch names), but this is our first step to move the needle on these problems 😄
Edit: updated the second screenshot to add a close X and correct the branch name
j-f1 commentedon Oct 15, 2018
How about getting rid of the merge dialog and integrating into the compare tab? You could turn the text box at the top of the compare tab into the button you’re proposing for the branch dropdown, and display the current merge modal embedded inside the compare tab after the button has been clicked. You could change the CTA in the former dialog with “Compare
XwithY.”(If you need any clarification about this, feel free to ask!)
iAmWillShepherd commentedon Oct 17, 2018
@j-f1, thanks for the input. I think we want to do small iterative changes over larger sweeping changes. The team still has not settled on the best path forward for the relationship between branches feature, so we have to figure that part out first. The changes @ampinsk is suggesting meets the goal of small changes since it only involves updating a label.
If you're interested in helping out in this area of the app, I'm happy to pair with you on it. I'd like to get these changes shipped in the next next release, so I'll be getting started on these changes this week.
iAmWillShepherd commentedon Oct 19, 2018
@billygriffin, could you clarify if this is related to a marketing release?
billygriffin commentedon Oct 19, 2018
@iAmWillShepherd I added the label for 1.5. It's not the end of the world if we don't get it in by then, but that's my goal for this to be a part of the next marketing release. I like the story around improving the ease of merging and merge conflicts. cc: @nerdneha
[-]Evaluate end-to-end merge flow[/-][+]Improve merge flow[/+]iAmWillShepherd commentedon Oct 31, 2018
This work was was completed in #6027, #5977, and #5957.
dsdfsd