Skip to content

Commit b427379

Browse files
committed
moves app footer
1 parent b2e8ad6 commit b427379

9 files changed

Lines changed: 122 additions & 349 deletions

File tree

src/components/Home/FavoritesSection/FavoritesSection.tsx

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

src/components/Home/PipelineSection/PipelineRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Badge } from "@/components/ui/badge";
1313
import { Button } from "@/components/ui/button";
1414
import { Checkbox } from "@/components/ui/checkbox";
1515
import { Icon } from "@/components/ui/icon";
16-
import { BlockStack, InlineStack } from "@/components/ui/layout";
16+
import { InlineStack } from "@/components/ui/layout";
1717
import {
1818
Popover,
1919
PopoverContent,

src/components/Home/PipelineSection/PipelineSection.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@ export const PipelineSection = withSuspenseWrapper(() => {
213213
</Table>
214214

215215
{totalPages > 1 && (
216-
<InlineStack align="space-between" blockAlign="center" className="w-full">
216+
<InlineStack
217+
align="space-between"
218+
blockAlign="center"
219+
className="w-full"
220+
>
217221
<InlineStack gap="2" blockAlign="center">
218222
<Button
219223
variant="outline"

src/components/Home/RecentlyViewedSection/RecentlyViewedSection.tsx

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

src/components/Home/RunSection/RunRow.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {
1515
TooltipContent,
1616
TooltipTrigger,
1717
} from "@/components/ui/tooltip";
18-
import { Paragraph } from "@/components/ui/typography";
1918
import useToastNotification from "@/hooks/useToastNotification";
2019
import { useBackend } from "@/providers/BackendProvider";
2120
import { APP_ROUTES } from "@/routes/router";
@@ -95,14 +94,17 @@ const RunRow = ({ run }: { run: PipelineRunResponse }) => {
9594
return (
9695
<TableRow
9796
onClick={handleRowClick}
98-
className="cursor-pointer text-gray-500 text-xs"
97+
className="cursor-pointer text-gray-500 text-xs h-10"
9998
>
10099
<TableCell>
101100
<InlineStack gap="2" blockAlign="center" wrap="nowrap">
102101
<StatusIcon status={overallStatus} />
103-
<Paragraph className="truncate max-w-100 text-sm" title={name}>
102+
<span
103+
className="truncate max-w-100 text-sm text-foreground"
104+
title={name}
105+
>
104106
{name}
105-
</Paragraph>
107+
</span>
106108
<div
107109
onClick={(e) => e.stopPropagation()}
108110
className="flex items-center text-sm"

src/components/layout/RootLayout.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Outlet } from "@tanstack/react-router";
1+
import { Outlet, useLocation } from "@tanstack/react-router";
22
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
33
import { ToastContainer } from "react-toastify";
44

@@ -11,6 +11,8 @@ import AppMenu from "./AppMenu";
1111

1212
const RootLayout = () => {
1313
useDocumentTitle();
14+
const { pathname } = useLocation();
15+
const isDashboard = pathname.startsWith("/dashboard");
1416

1517
return (
1618
<BackendProvider>
@@ -24,7 +26,7 @@ const RootLayout = () => {
2426
<Outlet />
2527
</main>
2628

27-
<AppFooter />
29+
{!isDashboard && <AppFooter />}
2830

2931
{import.meta.env.VITE_ENABLE_ROUTER_DEVTOOLS === "true" && (
3032
<TanStackRouterDevtools />

src/routes/Dashboard/Dashboard.tsx

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

0 commit comments

Comments
 (0)