Repository navigation
Pull request list - #2823
Pull request list#2823
Conversation
| 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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@niik could you hook me up with that sweet illustration you're using in the blank slate views? |
|
I'm gonna open some issues for some polish items to be done separately. This is ready for review. 🙏 |
|
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? |
|
I think we can land them both and then do the refactor to use the store separately. |
| state, | ||
| created: new Date(pr.created_at), | ||
| }) | ||
| } catch (e) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| return pullRequestsWithStatus | ||
| } catch (e) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| 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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| <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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| return ( | ||
| <NoPullRequests | ||
| repositoryName={name} | ||
| isOnDefaultBranch={!!isOnDefaultBranch} |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
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.