Skip to content

Deleting v2 dashboard/api #1628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5da8439
Delete v2 Stripe routes
matt-aitken Jan 21, 2025
24a667a
Delete v2 billing/usage pages
matt-aitken Jan 21, 2025
6e75781
Delete v2 integration pages
matt-aitken Jan 21, 2025
9fcae08
Delete v2 project pages
matt-aitken Jan 21, 2025
d740963
Deleted a load of components and services
matt-aitken Jan 21, 2025
9cbded7
Deleted a load more components, presenters and services
matt-aitken Jan 22, 2025
4266b78
Deleted another 100 files or so…
matt-aitken Jan 22, 2025
35b9b34
Removed old v2 paths
matt-aitken Jan 23, 2025
a552cc6
Removed named icons from form titles
matt-aitken Jan 23, 2025
edbbf16
Removed more string icons
matt-aitken Jan 23, 2025
ce9075e
Delete NamedIcon
matt-aitken Jan 23, 2025
9693d2d
Fixed some type errors
matt-aitken Jan 23, 2025
17e87ae
Delete endpointApi
matt-aitken Jan 23, 2025
77a6e6d
Removed v2 from core/sdk
matt-aitken Jan 23, 2025
1cff546
Merge remote-tracking branch 'origin/main' into dashboard/new-sidebar…
matt-aitken Jan 23, 2025
d8d11c1
Merge remote-tracking branch 'origin/main' into delete-v2-dashboard
samejr Feb 28, 2025
77ebec1
Post merge fixes
samejr Feb 28, 2025
6e8755d
added explicit return types
samejr Feb 28, 2025
4dc7529
using the new sdk export without v3
samejr Feb 28, 2025
3a0735d
Merge remote-tracking branch 'origin/main' into dashboard/new-sidebar…
matt-aitken Mar 7, 2025
bf2c5b2
Delete old v2 file
matt-aitken Mar 7, 2025
bdb20a6
Added explicit return types because TS was complaining…
matt-aitken Mar 7, 2025
9ea38eb
Don’t export RuntimeEnvironmentType from two core files. Was causing …
matt-aitken Mar 7, 2025
3d381a5
Fix for removal of NamedIcon in new route
matt-aitken Mar 7, 2025
350cf7f
Removed strange eslintrc rule
matt-aitken Mar 8, 2025
d721152
Use the new redis client
matt-aitken Mar 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion apps/webapp/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"files": ["*.ts", "*.tsx"],
"rules": {
// Autofixes imports from "@trigger.dev/core" to fine grained modules
"@trigger.dev/no-trigger-core-import": "error",
// "@trigger.dev/no-trigger-core-import": "error",
// Normalize `import type {}` and `import { type }`
"@typescript-eslint/consistent-type-imports": [
"warn",
Expand Down
15 changes: 0 additions & 15 deletions apps/webapp/app/api.server.ts

This file was deleted.

59 changes: 0 additions & 59 deletions apps/webapp/app/components/ActiveBadge.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions apps/webapp/app/components/BlankstateInstructions.tsx

This file was deleted.

34 changes: 0 additions & 34 deletions apps/webapp/app/components/ComingSoon.tsx

This file was deleted.

3 changes: 2 additions & 1 deletion apps/webapp/app/components/ErrorDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { LinkButton } from "./primitives/Buttons";
import { Header1 } from "./primitives/Headers";
import { Paragraph } from "./primitives/Paragraph";
import Spline from "@splinetool/react-spline";
import { ReactNode } from "react";

type ErrorDisplayOptions = {
button?: {
Expand Down Expand Up @@ -38,7 +39,7 @@ export function RouteErrorDisplay(options?: ErrorDisplayOptions) {

type DisplayOptionsProps = {
title: string;
message?: string;
message?: ReactNode;
} & ErrorDisplayOptions;

export function ErrorDisplay({ title, message, button }: DisplayOptionsProps) {
Expand Down
14 changes: 0 additions & 14 deletions apps/webapp/app/components/HighlightInit.tsx

This file was deleted.

75 changes: 0 additions & 75 deletions apps/webapp/app/components/JobsStatusTable.tsx

This file was deleted.

10 changes: 7 additions & 3 deletions apps/webapp/app/components/ListPagination.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ChevronLeftIcon, ChevronRightIcon } from "@heroicons/react/20/solid";
import { useLocation } from "@remix-run/react";
import { z } from "zod";
import { LinkButton } from "~/components/primitives/Buttons";
import { Direction } from "~/components/runs/RunStatuses";
import { cn } from "~/utils/cn";

type List = {
Expand All @@ -10,6 +11,9 @@ type List = {
};
};

export const DirectionSchema = z.union([z.literal("forward"), z.literal("backward")]);
export type Direction = z.infer<typeof DirectionSchema>;

export function ListPagination({ list, className }: { list: List; className?: string }) {
return (
<div className={cn("flex items-center gap-1", className)}>
Expand All @@ -26,7 +30,7 @@ function NextButton({ cursor }: { cursor?: string }) {
<LinkButton
to={path ?? "#"}
variant={"minimal/small"}
TrailingIcon="chevron-right"
TrailingIcon={ChevronRightIcon}
trailingIconClassName="text-text-dimmed"
className={cn(
"flex items-center",
Expand All @@ -49,7 +53,7 @@ function PreviousButton({ cursor }: { cursor?: string }) {
<LinkButton
to={path ?? "#"}
variant={"minimal/small"}
LeadingIcon="chevron-left"
LeadingIcon={ChevronLeftIcon}
leadingIconClassName="text-text-dimmed"
className={cn(
"flex items-center",
Expand Down
18 changes: 10 additions & 8 deletions apps/webapp/app/components/LoginPageLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
import { useEffect, useState } from "react";
import { ATAndTLogo } from "~/assets/logos/ATAndTLogo";
import { AppsmithLogo } from "~/assets/logos/AppsmithLogo";
import { CalComLogo } from "~/assets/logos/CalComLogo";
import { ShopifyLogo } from "~/assets/logos/ShopifyLogo";
import { VerizonLogo } from "~/assets/logos/VerizonLogo";
import { LyftLogo } from "~/assets/logos/LyftLogo";
import { MiddayLogo } from "~/assets/logos/MiddayLogo";
import { TldrawLogo } from "~/assets/logos/TldrawLogo";
import { UnkeyLogo } from "~/assets/logos/UnkeyLogo";
import { LogoType } from "./LogoType";
import { LinkButton } from "./primitives/Buttons";
import { Header3 } from "./primitives/Headers";
import { Paragraph } from "./primitives/Paragraph";
import { TextLink } from "./primitives/TextLink";
import { TldrawLogo } from "~/assets/logos/TldrawLogo";
import { UnkeyLogo } from "~/assets/logos/UnkeyLogo";
import { LyftLogo } from "~/assets/logos/LyftLogo";
import { MiddayLogo } from "~/assets/logos/MiddayLogo";
import { BookOpenIcon } from "@heroicons/react/20/solid";

interface QuoteType {
quote: string;
Expand Down Expand Up @@ -55,7 +53,11 @@ export function LoginPageLayout({ children }: { children: React.ReactNode }) {
<a href="https://trigger.dev">
<LogoType className="w-36" />
</a>
<LinkButton to="https://trigger.dev/docs" variant={"tertiary/small"} LeadingIcon="docs">
<LinkButton
to="https://trigger.dev/docs"
variant={"tertiary/small"}
LeadingIcon={BookOpenIcon}
>
Documentation
</LinkButton>
</div>
Expand Down
21 changes: 0 additions & 21 deletions apps/webapp/app/components/NoMobileOverlay.tsx

This file was deleted.

Loading
Loading