refactor(pull_requests): move some PR views into their own views folder@@ -1,5 +1,5 @@
{
- "_generatedAtUnix": 1665593390876,
+ "_generatedAtUnix": 1665610187489,
"_hashAlgorithm": "sha1",
"_version": 2,
"islands": {
@@ -125,18 +125,18 @@
"hash": "1a9509ad1a1a6f287f5ca7fd69ccbe5344d9f520",
"pathSource": "./app/views/repository/RepositoryForkView.tsx"
},
- "RepositoryPullRequestCreateView": {
- "hash": "c35bc6337734776b13969010051805f4dc4c4d3a",
- "pathSource": "./app/views/repository/RepositoryPullRequestCreateView.tsx"
- },
- "RepositoryPullRequestsView": {
- "hash": "2157117fc2fd4ed85694a4a9e420077d8ec10330",
- "pathSource": "./app/views/repository/RepositoryPullRequestsView.tsx"
- },
"RepositoryShowObjectView": {
"hash": "ba960136b69ddbb078f807b14652d26cbd1cc985",
"pathSource": "./app/views/repository/RepositoryShowObjectView.tsx"
},
+ "RepositoryPullRequestCreateView": {
+ "hash": "09943e3deb491b00773600dc5510bc6a76cd680b",
+ "pathSource": "./app/views/repositoryPullRequests/RepositoryPullRequestCreateView.tsx"
+ },
+ "RepositoryPullRequestsView": {
+ "hash": "d9542080c146d970f90a3cfbf7bf76b7ea2db1a3",
+ "pathSource": "./app/views/repositoryPullRequests/RepositoryPullRequestsView.tsx"
+ },
"UserDashboardView": {
"hash": "5fe630f3d49d221303a8bfc4ec8743274a26d0c3",
"pathSource": "./app/views/user/UserDashboardView.tsx"
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestCloseAction: ReqHandler = async (
request,
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestCommentCreateAction: ReqHandler = async (
request,
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestCommentDeleteAction: ReqHandler = async (
request,
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestCommentUpdateAction: ReqHandler = async (
request,
@@ -17,7 +17,7 @@ import {
// app views
import RepositoryPullRequestCreateView, {
RepositoryPullRequestCreateViewProps,
-} from "../../views/repository/RepositoryPullRequestCreateView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestCreateView";
const getRepositoryPullRequestCreateView: ReqHandler = async (
request,
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestDeleteAction: ReqHandler = async (
request,
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestDetailsView: ReqHandler = async (
request,
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestMergeAction: ReqHandler = async (
request,
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestUpdateAction: ReqHandler = async (
request,
@@ -11,7 +11,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestsView, {
RepositoryPullRequestsViewProps,
-} from "../../views/repository/RepositoryPullRequestsView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestsView";
const getRepositoryPullRequestsView: ReqHandler = async (request, reply) => {
const { orgSlug, repoSlug } =
@@ -15,7 +15,7 @@ import { makeUsersService } from "../../services/user";
// app views
import RepositoryPullRequestCreateView, {
RepositoryPullRequestCreateViewProps,
-} from "../../views/repository/RepositoryPullRequestCreateView";
+} from "../../views/repositoryPullRequests/RepositoryPullRequestCreateView";
import { RepositoryFileDiff } from "app/types";
const postRepositoryPullRequestCreateAction: ReqHandler = async (