Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
vardanbansal-harness committed Jan 10, 2025
2 parents 676aa0f + d504733 commit 0449972
Showing 1 changed file with 133 additions and 126 deletions.
259 changes: 133 additions & 126 deletions apps/gitness/src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,138 @@ export const routes: CustomRouteObject[] = [
index: true,
element: <LandingPage />
},
{
path: 'create',
element: <CreateProject />,
handle: {
breadcrumb: () => <Text>Create project</Text>
},
children: []
},
{
path: 'repos',
element: (
<SandboxLayout.Main>
<h1>Repositories</h1>
</SandboxLayout.Main>
),
handle: {
breadcrumb: () => <Text>Repositories</Text>
}
},
{
path: 'pipelines',
element: (
<SandboxLayout.Main>
<h1>Pipelines</h1>
</SandboxLayout.Main>
),
handle: {
breadcrumb: () => <Text>Pipelines</Text>
}
},
{
path: 'executions',
element: (
<SandboxLayout.Main>
<h1>Executions</h1>
</SandboxLayout.Main>
),
handle: {
breadcrumb: () => <Text>Executions</Text>
}
},
{
path: 'databases',
element: (
<SandboxLayout.Main>
<h1>Databases</h1>
</SandboxLayout.Main>
),
handle: {
breadcrumb: () => <Text>Databases</Text>
}
},
{
path: 'theme',
element: <ProfileSettingsThemePage />
},
{
path: 'chaos',
element: <EmptyPage pathName="Chaos Engineering" />
},
{
path: 'artifacts',
element: <EmptyPage pathName="Artifacts" />
},
{
path: 'secrets',
element: <EmptyPage pathName="Secrets" />
},
{
path: 'connectors',
element: <EmptyPage pathName="Connectors" />
},
{
path: 'continuous-delivery-gitops',
element: <EmptyPage pathName="Continuous Delivery Gitops" />
},
{
path: 'continuous-integration',
element: <EmptyPage pathName="Continuous Integration" />
},
{
path: 'feature-flags',
element: <EmptyPage pathName="Feature Flags" />
},
{
path: 'infrastructure-as-code',
element: <EmptyPage pathName="Infrastructure as Code" />
},
{
path: 'service-reliability',
element: <EmptyPage pathName="Service Reliability" />
},
{
path: 'developer/portal',
element: <EmptyPage pathName="Internal Developer Portal" />
},
{
path: 'developer/environments',
element: <EmptyPage pathName="Environments" />
},
{
path: 'developer/insights',
element: <EmptyPage pathName="Software Engineering Insights" />
},
{
path: 'infrastructure',
element: <EmptyPage pathName="Infrastructure as Code" />
},
{
path: 'code-repository',
element: <EmptyPage pathName="Code Repository" />
},
{
path: 'supply-chain',
element: <EmptyPage pathName="Software Supply Chain Assurance" />
},
{
path: 'security-tests',
element: <EmptyPage pathName="Security Testing Orchestration" />
},
{
path: 'cloud-costs',
element: <EmptyPage pathName="Cloud Cost Management" />
},
{
path: 'incidents',
element: <EmptyPage pathName="Incidents" />
},
{
path: 'dashboards',
element: <EmptyPage pathName="Dashboards" />
},
{
path: ':spaceId',
handle: {
Expand Down Expand Up @@ -347,7 +479,6 @@ export const routes: CustomRouteObject[] = [
}
]
},

{
path: 'admin/default-settings',
element: <UserManagementPageContainer />,
Expand Down Expand Up @@ -396,46 +527,6 @@ export const routes: CustomRouteObject[] = [
}
]
},
{
path: 'create',
element: <CreateProject />,
handle: {
breadcrumb: () => <Text>Create project</Text>
},
children: []
},
{
path: 'repos',
element: (
<SandboxLayout.Main>
<h1>Repo</h1>
</SandboxLayout.Main>
)
},
{
path: 'pipelines',
element: (
<SandboxLayout.Main>
<h1>pipelines</h1>
</SandboxLayout.Main>
)
},
{
path: 'executions',
element: (
<SandboxLayout.Main>
<h1>executions</h1>
</SandboxLayout.Main>
)
},
{
path: 'databases',
element: (
<SandboxLayout.Main>
<h1>databases</h1>
</SandboxLayout.Main>
)
},
{
path: 'signin',
element: <SignIn />,
Expand All @@ -445,92 +536,8 @@ export const routes: CustomRouteObject[] = [
path: 'signup',
element: <SignUp />
},

{
path: 'theme',
element: <ProfileSettingsThemePage />
},
{
path: 'logout',
element: <Logout />,
handle: {
routeName: RouteConstants.toLogout
}
},
{
path: 'chaos',
element: <EmptyPage pathName="Chaos Engineering" />
},
{
path: 'artifacts',
element: <EmptyPage pathName="Artifacts" />
},
{
path: 'secrets',
element: <EmptyPage pathName="Secrets" />
},
{
path: 'connectors',
element: <EmptyPage pathName="Connectors" />
},
{
path: 'continuous-delivery-gitops',
element: <EmptyPage pathName="Continuous Delivery Gitops" />
},
{
path: 'continuous-integration',
element: <EmptyPage pathName="Continuous Integration" />
},
{
path: 'feature-flags',
element: <EmptyPage pathName="Feature Flags" />
},
{
path: 'infrastructure-as-code',
element: <EmptyPage pathName="Infrastructure as Code" />
},
{
path: 'service-reliability',
element: <EmptyPage pathName="Service Reliability" />
},
{
path: 'developer/portal',
element: <EmptyPage pathName="Internal Developer Portal" />
},
{
path: 'developer/environments',
element: <EmptyPage pathName="Environments" />
},
{
path: 'developer/insights',
element: <EmptyPage pathName="Software Engineering Insights" />
},
{
path: 'infrastructure',
element: <EmptyPage pathName="Infrastructure as Code" />
},
{
path: 'code-repository',
element: <EmptyPage pathName="Code Repository" />
},
{
path: 'supply-chain',
element: <EmptyPage pathName="Software Supply Chain Assurance" />
},
{
path: 'security-tests',
element: <EmptyPage pathName="Security Testing Orchestration" />
},
{
path: 'cloud-costs',
element: <EmptyPage pathName="Cloud Cost Management" />
},
{
path: 'incidents',
element: <EmptyPage pathName="Incidents" />
},
{
path: 'dashboards',
element: <EmptyPage pathName="Dashboards" />
element: <Logout />
}
]

0 comments on commit 0449972

Please sign in to comment.