Skip to content

Pull request list - #2823

Merged
iAmWillShepherd merged 59 commits into
masterfrom
pull-request-list
Sep 26, 2017
Merged

iAmWillShepherd merged 59 commits into
masterfrom
pull-request-list

Conversation

@joshaber

@joshaber joshaber commented Sep 21, 2017 •

Copy link
Copy Markdown
Contributor

screen shot 2017-09-22 at 2 36 58 pm

screen shot 2017-09-22 at 3 38 20 pm

screen shot 2017-09-22 at 3 38 35 pm

Fixes #2780
Fixes #2643

Stubbing this out by doing the API requests inline. Once #2779 is done we can switch over to pulling from the proper store.

  • List PRs
  • Show CI status
  • Show count on the tab
  • Checkout the PR branch
  • Loading state
  • No PRs state
    • On the default branch
    • On a feature branch
  • Ensure it's preview-flagged thoroughly.

const title = this.props.title
const subtitle = `#${this.props.number} opened ${timeAgo} by ${this.props
.author}`
const author = this.props.author

This comment was marked as spam.

This comment was marked as spam.

@joshaber

Copy link
Copy Markdown
Contributor Author

@niik could you hook me up with that sweet illustration you're using in the blank slate views?

@joshaber joshaber added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Sep 25, 2017
@joshaber

Copy link
Copy Markdown
Contributor Author

I'm gonna open some issues for some polish items to be done separately.

This is ready for review. 🙏

@iAmWillShepherd

Copy link
Copy Markdown
Contributor

The store and DB are just about ready, need to add a test or two. Do you wanna merge that into this branch or do you prefer me to merge it in mine?

@joshaber

Copy link
Copy Markdown
Contributor Author

I think we can land them both and then do the refactor to use the store separately.

@iAmWillShepherd iAmWillShepherd self-assigned this Sep 26, 2017
state,
created: new Date(pr.created_at),
})
} catch (e) {

This comment was marked as spam.

This comment was marked as spam.

}

return pullRequestsWithStatus
} catch (e) {

This comment was marked as spam.

if (this.props.isOnDefaultBranch) {
return (
<div className="call-to-action">
Would you like to{' '}

This comment was marked as spam.

This comment was marked as spam.

<div className="no-pull-requests">
<img src={BlankSlateImage} className="blankslate-image" />

<div className="title">You're all set!</div>

This comment was marked as spam.

This comment was marked as spam.

return (
<NoPullRequests
repositoryName={name}
isOnDefaultBranch={!!isOnDefaultBranch}

This comment was marked as spam.

This comment was marked as spam.

@iAmWillShepherd
iAmWillShepherd merged commit 811bb63 into master Sep 26, 2017
@iAmWillShepherd
iAmWillShepherd deleted the pull-request-list branch September 26, 2017 18:37
@shiftkey shiftkey mentioned this pull request Dec 18, 2017
4 tasks done
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