Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/dashboard/src/hooks/useGlobalMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ export function useGlobalMetrics(period: "24h" | "7d" | "30d" = "24h") {

return { ...data, loading, error };
}

1 change: 1 addition & 0 deletions apps/dashboard/src/hooks/useLogStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,4 @@ export function useLogStream(opts: UseLogStreamOptions): UseLogStreamResult {

return { logs, isPolling, pause, resume, clear };
}

1 change: 1 addition & 0 deletions apps/dashboard/src/hooks/useTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ export function useTheme() {

return { theme, toggle: () => setTheme((t) => (t === "dark" ? "light" : "dark")) };
}

1 change: 1 addition & 0 deletions apps/dashboard/src/layouts/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,4 @@ export function AppLayout() {
</div>
);
}

1 change: 1 addition & 0 deletions apps/dashboard/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ export const api = {
return res.blob();
},
};

1 change: 1 addition & 0 deletions apps/dashboard/src/lib/inngest-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ export const inngestApi = {

getJobs: () => fetchInngest<{ jobs: any[] }>(`${API_BASE}/jobs`),
};

1 change: 1 addition & 0 deletions apps/dashboard/src/lib/query-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ export const QK = {
["functions", id, "invocations", status] as const,
functionStats: (id: string) => ["functions", id, "stats"] as const,
};

1 change: 1 addition & 0 deletions apps/dashboard/src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ export function truncate(str: string, n: number): string {
export function copyToClipboard(text: string): Promise<void> {
return navigator.clipboard.writeText(text);
}

1 change: 1 addition & 0 deletions apps/dashboard/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
</ErrorBoundary>
</React.StrictMode>,
);

1 change: 1 addition & 0 deletions apps/dashboard/src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ export const routes: RouteObject[] = [
},
{ path: "*", element: wrap(NotFoundPage) },
];

1 change: 1 addition & 0 deletions apps/dashboard/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,4 @@ export interface LatencyMetric {
p90: number;
p99: number;
}

1 change: 1 addition & 0 deletions apps/dashboard/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ export default defineConfig({
),
},
});

Loading