Skip to content

Commit

Permalink
Remove v2 event list (#1680)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam authored Feb 7, 2025
1 parent 9dfd6a5 commit 9f843d0
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 277 deletions.
8 changes: 0 additions & 8 deletions apps/webapp/app/components/navigation/SideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
ChartBarIcon,
ClockIcon,
CreditCardIcon,
CursorArrowRaysIcon,
IdentificationIcon,
KeyIcon,
RectangleStackIcon,
Expand Down Expand Up @@ -38,7 +37,6 @@ import {
organizationTeamPath,
personalAccessTokensPath,
projectEnvironmentsPath,
projectEventsPath,
projectHttpEndpointsPath,
projectPath,
projectRunsPath,
Expand Down Expand Up @@ -451,12 +449,6 @@ function V2ProjectSideMenu({
to={projectTriggersPath(organization, project)}
data-action="triggers"
/>
<SideMenuItem
name="Events"
icon={CursorArrowRaysIcon}
activeIconColor="text-sky-500"
to={projectEventsPath(organization, project)}
/>
<SideMenuItem
name="HTTP endpoints"
icon="http-endpoint"
Expand Down
169 changes: 0 additions & 169 deletions apps/webapp/app/presenters/EventListPresenter.server.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { LoaderFunctionArgs } from "@remix-run/server-runtime";
import { typedjson, useTypedLoaderData } from "remix-typedjson";
import { EventDetail } from "~/components/event/EventDetail";
import { PageBody, PageContainer } from "~/components/layout/AppLayout";
import { NavBar, PageTitle } from "~/components/primitives/PageHeader";
import { RunsFilters } from "~/components/runs/RunFilters";
import { RunListSearchSchema } from "~/components/runs/RunStatuses";
import { RunsTable } from "~/components/runs/RunsTable";
Expand All @@ -13,7 +12,7 @@ import { useUser } from "~/hooks/useUser";
import { EventPresenter } from "~/presenters/EventPresenter.server";
import { RunListPresenter } from "~/presenters/RunListPresenter.server";
import { requireUserId } from "~/services/session.server";
import { EventParamSchema, projectEventsPath, projectPath } from "~/utils/pathBuilder";
import { EventParamSchema, projectPath } from "~/utils/pathBuilder";
import { ListPagination } from "../../components/ListPagination";

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

return (
<PageContainer>
<NavBar>
<PageTitle
title={event.name}
backButton={{
to: projectEventsPath(organization, project),
text: "Events",
}}
/>
</NavBar>

<PageBody scrollable={false}>
<div className="grid h-full grid-cols-2">
<div className="overflow-y-auto p-4 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-charcoal-600">
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion apps/webapp/app/utils/pathBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export function projectTriggersPath(organization: OrgForPath, project: ProjectFo
return `${projectPath(organization, project)}/triggers`;
}

export function projectEventsPath(organization: OrgForPath, project: ProjectForPath) {
function projectEventsPath(organization: OrgForPath, project: ProjectForPath) {
return `${projectPath(organization, project)}/events`;
}

Expand Down

0 comments on commit 9f843d0

Please sign in to comment.