diff --git a/ui/frontend/src/components/dashboard/Runs/RunSummary.tsx b/ui/frontend/src/components/dashboard/Runs/RunSummary.tsx index 97b58c22a..d81cbbf93 100644 --- a/ui/frontend/src/components/dashboard/Runs/RunSummary.tsx +++ b/ui/frontend/src/components/dashboard/Runs/RunSummary.tsx @@ -662,8 +662,7 @@ export const RunSummary = (props: { : null; // Quick buffer to ensure no runs are missed - console.log("minDate", minDate); - console.log("maxDate", maxDate); + if (minDate !== null) { minDate.setDate(minDate.getDate() - 1); } diff --git a/ui/frontend/src/components/dashboard/Runs/Runs.tsx b/ui/frontend/src/components/dashboard/Runs/Runs.tsx index 4ca240a06..a54f2a18b 100644 --- a/ui/frontend/src/components/dashboard/Runs/Runs.tsx +++ b/ui/frontend/src/components/dashboard/Runs/Runs.tsx @@ -8,7 +8,7 @@ import { Loading } from "../../common/Loading"; import { RunSummary } from "./RunSummary"; import { skipToken } from "@reduxjs/toolkit/dist/query"; -export const MAX_RUNS_QUERIED = 1000; +export const MAX_RUNS_QUERIED = 100; const Runs: React.FC<{ project: Project }> = ({ project }) => { // TODO -- figure out what happens if the project hasn't loaded yet diff --git a/ui/frontend/src/components/dashboard/Runs/RunsTable.tsx b/ui/frontend/src/components/dashboard/Runs/RunsTable.tsx index 9033eef23..cdefad26a 100644 --- a/ui/frontend/src/components/dashboard/Runs/RunsTable.tsx +++ b/ui/frontend/src/components/dashboard/Runs/RunsTable.tsx @@ -11,6 +11,7 @@ import { import { RunLink, VersionLink } from "../../common/CommonLinks"; import { DurationDisplay } from "../../common/Datetime"; import { adjustStatusForDuration } from "../../../utils"; +import VisibilitySensor from "react-visibility-sensor"; const MAX_COMPARE_RUNS = 5; @@ -353,6 +354,11 @@ export const RunsTable: FC<{ .map((run, index) => { const runID = run.id as number; return ( + + ); })}