Skip to content

Update PR badge when new PR is selected - #3511

Merged
joshaber merged 22 commits into
masterfrom
switch-and-update
Dec 8, 2017
Merged

joshaber merged 22 commits into
masterfrom
switch-and-update

Conversation

@iAmWillShepherd

@iAmWillShepherd iAmWillShepherd commented Dec 5, 2017 •

Copy link
Copy Markdown
Contributor

This PR fixes the following issues:

And potentially fixes #3454

@shiftkey

shiftkey commented Dec 5, 2017

Copy link
Copy Markdown
Member

Is this ready for review? 🤔

@iAmWillShepherd

Copy link
Copy Markdown
Contributor Author

No, not yet.

@iAmWillShepherd iAmWillShepherd added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Dec 7, 2017
@joshaber joshaber self-assigned this Dec 7, 2017

@joshaber joshaber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🌼

Comment thread app/src/lib/stores/app-store.ts Outdated
gitStore.loadContextualCommitMessage(),
refreshSectionPromise,
gitStore.loadUpstreamRemote(),
this._refreshPullRequests(repository),

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/src/lib/stores/app-store.ts Outdated

this.updateBranchesState(repository, state => {
return {
currentPullRequest: null,

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.


return <CIStatus status={status} />
}
private renderPullRequestStatus = (status: PullRequestStatus) => (

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/src/lib/stores/app-store.ts Outdated
this.refreshMentionables(repository)

this.addUpstreamRemoteIfNeeded(repository)
await this._refreshPullRequests(repository)

This comment was marked as spam.

Comment thread app/src/lib/stores/app-store.ts Outdated
return null
}

public _updateCurrentPullRequests(repository: Repository) {

This comment was marked as spam.

@iAmWillShepherd

Copy link
Copy Markdown
Contributor Author

🔢

@joshaber

joshaber commented Dec 8, 2017

Copy link
Copy Markdown
Contributor

The diff contains lots of other changes now? Maybe needs a merge in from master?

@iAmWillShepherd

Copy link
Copy Markdown
Contributor Author

Not sure why that happened, I did a merge again and it's resolved.

@joshaber joshaber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤘 Just one thing left.

Comment thread app/src/lib/stores/app-store.ts Outdated
return null
}

public _updateCurrentPullRequest(repository: Repository) {

This comment was marked as spam.

This comment was marked as spam.

@iAmWillShepherd

Copy link
Copy Markdown
Contributor Author

🔢

@joshaber

joshaber commented Dec 8, 2017

Copy link
Copy Markdown
Contributor

🕺

@joshaber
joshaber merged commit 433c4fb into master Dec 8, 2017
@joshaber
joshaber deleted the switch-and-update branch December 8, 2017 18:07
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