feat(repository): add link to "New Pull Request" in "RepositoryPullRequestsView"@@ -1,5 +1,5 @@
{
- "_generatedAtUnix": 1664737824064,
+ "_generatedAtUnix": 1665016052550,
"_hashAlgorithm": "sha1",
"_version": 2,
"islands": {
@@ -114,7 +114,7 @@
"pathSource": "./app/views/repository/RepositoryForkView.tsx"
},
"RepositoryPullRequestsView": {
- "hash": "a98b26a1ff98a1b735f95ddc4749a5cb28e43edf",
+ "hash": "c5683b936b94a3ece6412ae3cec1dabedddd3952",
"pathSource": "./app/views/repository/RepositoryPullRequestsView.tsx"
},
"RepositoryShowObjectView": {
@@ -28,11 +28,16 @@ const RepositoryPullRequestsView: ReactView<RepositoryPullRequestsViewProps> =
repo={repo}
/>
</IslandWrapper>
- <Grid.Row fluid style={{ marginTop: 32 }}>
+ <Grid.Col fluid style={{ marginTop: 32 }}>
+ <a href={`/${parentOrg.slug}/${repo.slug}/pulls/new`}>
+ New Pull Request
+ </a>
+ </Grid.Col>
+ <Grid.Col fluid style={{ marginTop: 32 }}>
<pre>
<code>{JSON.stringify(pullRequests, null, 2)}</code>
</pre>
- </Grid.Row>
+ </Grid.Col>
</PageWrapper>
</Layout>
);