Skip to content

Commit 9f843d0

Browse files
authored
Remove v2 event list (#1680)
1 parent 9dfd6a5 commit 9f843d0

File tree

5 files changed

+2
-277
lines changed

5 files changed

+2
-277
lines changed

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
ChartBarIcon,
77
ClockIcon,
88
CreditCardIcon,
9-
CursorArrowRaysIcon,
109
IdentificationIcon,
1110
KeyIcon,
1211
RectangleStackIcon,
@@ -38,7 +37,6 @@ import {
3837
organizationTeamPath,
3938
personalAccessTokensPath,
4039
projectEnvironmentsPath,
41-
projectEventsPath,
4240
projectHttpEndpointsPath,
4341
projectPath,
4442
projectRunsPath,
@@ -451,12 +449,6 @@ function V2ProjectSideMenu({
451449
to={projectTriggersPath(organization, project)}
452450
data-action="triggers"
453451
/>
454-
<SideMenuItem
455-
name="Events"
456-
icon={CursorArrowRaysIcon}
457-
activeIconColor="text-sky-500"
458-
to={projectEventsPath(organization, project)}
459-
/>
460452
<SideMenuItem
461453
name="HTTP endpoints"
462454
icon="http-endpoint"

apps/webapp/app/presenters/EventListPresenter.server.ts

Lines changed: 0 additions & 169 deletions
This file was deleted.

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.events.$eventParam/route.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { LoaderFunctionArgs } from "@remix-run/server-runtime";
33
import { typedjson, useTypedLoaderData } from "remix-typedjson";
44
import { EventDetail } from "~/components/event/EventDetail";
55
import { PageBody, PageContainer } from "~/components/layout/AppLayout";
6-
import { NavBar, PageTitle } from "~/components/primitives/PageHeader";
76
import { RunsFilters } from "~/components/runs/RunFilters";
87
import { RunListSearchSchema } from "~/components/runs/RunStatuses";
98
import { RunsTable } from "~/components/runs/RunsTable";
@@ -13,7 +12,7 @@ import { useUser } from "~/hooks/useUser";
1312
import { EventPresenter } from "~/presenters/EventPresenter.server";
1413
import { RunListPresenter } from "~/presenters/RunListPresenter.server";
1514
import { requireUserId } from "~/services/session.server";
16-
import { EventParamSchema, projectEventsPath, projectPath } from "~/utils/pathBuilder";
15+
import { EventParamSchema, projectPath } from "~/utils/pathBuilder";
1716
import { ListPagination } from "../../components/ListPagination";
1817

1918
export const loader = async ({ request, params }: LoaderFunctionArgs) => {
@@ -69,16 +68,6 @@ export default function Page() {
6968

7069
return (
7170
<PageContainer>
72-
<NavBar>
73-
<PageTitle
74-
title={event.name}
75-
backButton={{
76-
to: projectEventsPath(organization, project),
77-
text: "Events",
78-
}}
79-
/>
80-
</NavBar>
81-
8271
<PageBody scrollable={false}>
8372
<div className="grid h-full grid-cols-2">
8473
<div className="overflow-y-auto p-4 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-charcoal-600">

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.events._index/route.tsx

Lines changed: 0 additions & 87 deletions
This file was deleted.

apps/webapp/app/utils/pathBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export function projectTriggersPath(organization: OrgForPath, project: ProjectFo
252252
return `${projectPath(organization, project)}/triggers`;
253253
}
254254

255-
export function projectEventsPath(organization: OrgForPath, project: ProjectForPath) {
255+
function projectEventsPath(organization: OrgForPath, project: ProjectForPath) {
256256
return `${projectPath(organization, project)}/events`;
257257
}
258258

0 commit comments

Comments
 (0)