1- import { ClockIcon , PlusIcon , RectangleGroupIcon } from "@heroicons/react/20/solid" ;
2- import { ArrowUpCircleIcon } from "@heroicons/react/24/outline" ;
1+ import { ArrowUpCircleIcon , PlusIcon } from "@heroicons/react/20/solid" ;
32import { BookOpenIcon } from "@heroicons/react/24/solid" ;
43import { type MetaFunction , Outlet , useLocation , useParams } from "@remix-run/react" ;
54import { type LoaderFunctionArgs } from "@remix-run/server-runtime" ;
65import { typedjson , useTypedLoaderData } from "remix-typedjson" ;
6+ import { SchedulesNoneAttached , SchedulesNoPossibleTaskPanel } from "~/components/BlankStatePanels" ;
77import { Feedback } from "~/components/Feedback" ;
88import { AdminDebugTooltip } from "~/components/admin/debugTooltip" ;
99import { InlineCode } from "~/components/code/InlineCode" ;
@@ -20,7 +20,6 @@ import {
2020 DialogTrigger ,
2121} from "~/components/primitives/Dialog" ;
2222import { Header3 } from "~/components/primitives/Headers" ;
23- import { InfoPanel } from "~/components/primitives/InfoPanel" ;
2423import { NavBar , PageAccessories , PageTitle } from "~/components/primitives/PageHeader" ;
2524import { PaginationControls } from "~/components/primitives/Pagination" ;
2625import { Paragraph } from "~/components/primitives/Paragraph" ;
@@ -47,28 +46,27 @@ import {
4746 ScheduleTypeIcon ,
4847 scheduleTypeName ,
4948} from "~/components/runs/v3/ScheduleType" ;
49+ import { useEnvironment } from "~/hooks/useEnvironment" ;
5050import { useOrganization } from "~/hooks/useOrganizations" ;
5151import { usePathName } from "~/hooks/usePathName" ;
5252import { useProject } from "~/hooks/useProject" ;
5353import { redirectWithErrorMessage } from "~/models/message.server" ;
5454import { findProjectBySlug } from "~/models/project.server" ;
55+ import { findEnvironmentBySlug } from "~/models/runtimeEnvironment.server" ;
5556import {
5657 type ScheduleListItem ,
5758 ScheduleListPresenter ,
5859} from "~/presenters/v3/ScheduleListPresenter.server" ;
5960import { requireUserId } from "~/services/session.server" ;
6061import { cn } from "~/utils/cn" ;
6162import {
62- EnvironmentParamSchema ,
6363 docsPath ,
64+ EnvironmentParamSchema ,
6465 v3BillingPath ,
6566 v3NewSchedulePath ,
6667 v3SchedulePath ,
6768} from "~/utils/pathBuilder" ;
6869import { useCurrentPlan } from "../_app.orgs.$organizationSlug/route" ;
69- import { findEnvironmentBySlug } from "~/models/runtimeEnvironment.server" ;
70- import { useEnvironment } from "~/hooks/useEnvironment" ;
71- import { SchedulesNoneAttached , SchedulesNoPossibleTaskPanel } from "~/components/BlankStatePanels" ;
7270
7371export const meta : MetaFunction = ( ) => {
7472 return [
0 commit comments