Skip to content

let the user compare when a second branch exists - #4948

Merged
iAmWillShepherd merged 2 commits into
masterfrom
one-branch-is-a-fine-branch
Jun 16, 2018
Merged

iAmWillShepherd merged 2 commits into
masterfrom
one-branch-is-a-fine-branch

Conversation

@shiftkey

Copy link
Copy Markdown
Member

Fixes #4947
Fixes #4730

Existing behaviour on a repository with two branches (master is published, things-to-compare is then created without publishing):

New behaviour introduced by this PR:

You can then select and see the other branch in the list:

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Jun 15, 2018
@shiftkey
shiftkey requested a review from iAmWillShepherd June 15, 2018 15:38
Comment thread app/src/ui/history/compare.tsx Outdated
onFocus={this.onTextBoxFocused}
value={filterText}
disabled={allBranches.length <= 1}
disabled={allBranches.length < 1}

This comment was marked as spam.

This comment was marked as spam.

@shiftkey

Copy link
Copy Markdown
Member Author

🍎

@SilkyMarket

Copy link
Copy Markdown

It's more technical than I have thought. It may take some time to understand. Mujahid Bakht. @mbakht

@iAmWillShepherd
iAmWillShepherd merged commit 39f31f5 into master Jun 16, 2018
@iAmWillShepherd
iAmWillShepherd deleted the one-branch-is-a-fine-branch branch June 16, 2018 18:25
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 15, 2018
@desktop desktop unlocked this conversation Sep 27, 2018
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