11import * as Ariakit from "@ariakit/react" ;
22import { BellAlertIcon , XMarkIcon } from "@heroicons/react/20/solid" ;
3- import { Form , type MetaFunction , useRevalidator } from "@remix-run/react" ;
3+ import { Form , useRevalidator , type MetaFunction } from "@remix-run/react" ;
44import { type LoaderFunctionArgs } from "@remix-run/server-runtime" ;
5- import { type ErrorGroupStatus } from "@trigger.dev/database" ;
65import { IconBugFilled } from "@tabler/icons-react" ;
7- import { ErrorStatusBadge } from "~/components/errors/ErrorStatusBadge" ;
86import { ErrorId } from "@trigger.dev/core/v3/isomorphic" ;
7+ import { type ErrorGroupStatus } from "@trigger.dev/database" ;
98import { Suspense , useCallback , useMemo , type ReactNode } from "react" ;
109import {
1110 Bar ,
@@ -17,8 +16,9 @@ import {
1716 type TooltipProps ,
1817} from "recharts" ;
1918import { TypedAwait , typeddefer , useTypedLoaderData } from "remix-typedjson" ;
19+ import { ErrorStatusBadge } from "~/components/errors/ErrorStatusBadge" ;
2020import { PageBody } from "~/components/layout/AppLayout" ;
21- import { SearchInput } from "~/components/primitives/SearchInput " ;
21+ import { ListPagination } from "~/components/ListPagination " ;
2222import { LogsTaskFilter } from "~/components/logs/LogsTaskFilter" ;
2323import { LogsVersionFilter } from "~/components/logs/LogsVersionFilter" ;
2424import { AppliedFilter } from "~/components/primitives/AppliedFilter" ;
@@ -28,6 +28,7 @@ import { formatDateTime, RelativeDateTime } from "~/components/primitives/DateTi
2828import { Header3 } from "~/components/primitives/Headers" ;
2929import { NavBar , PageTitle } from "~/components/primitives/PageHeader" ;
3030import { Paragraph } from "~/components/primitives/Paragraph" ;
31+ import { SearchInput } from "~/components/primitives/SearchInput" ;
3132import {
3233 ComboBox ,
3334 SelectItem ,
@@ -42,7 +43,6 @@ import {
4243 Table ,
4344 TableBody ,
4445 TableCell ,
45- TableCellChevron ,
4646 TableHeader ,
4747 TableHeaderCell ,
4848 TableRow ,
@@ -65,7 +65,6 @@ import {
6565import { logsClickhouseClient } from "~/services/clickhouseInstance.server" ;
6666import { getCurrentPlan } from "~/services/platform.v3.server" ;
6767import { requireUser } from "~/services/session.server" ;
68- import { ListPagination } from "~/components/ListPagination" ;
6968import { formatNumberCompact } from "~/utils/numberFormatter" ;
7069import { EnvironmentParamSchema , v3ErrorPath } from "~/utils/pathBuilder" ;
7170import { ServiceValidationError } from "~/v3/services/baseService.server" ;
@@ -484,19 +483,17 @@ function ErrorsList({
484483} ) {
485484 if ( errorGroups . length === 0 ) {
486485 return (
487- < div className = "flex h-full items-center justify-center" >
488- < div className = "text-center" >
489- < Header3 className = "mb-2" > No errors found</ Header3 >
490- < Paragraph variant = "small" >
491- No errors have been recorded in the selected time period.
492- </ Paragraph >
493- </ div >
486+ < div className = "flex h-full flex-col items-center justify-center gap-3" >
487+ < IconBugFilled className = "size-16 text-charcoal-650" />
488+ < Paragraph className = "text-center text-text-dimmed" >
489+ No errors found for this time period.
490+ </ Paragraph >
494491 </ div >
495492 ) ;
496493 }
497494
498495 return (
499- < Table containerClassName = "max-h-full pb-[2.5rem]" >
496+ < Table containerClassName = "max-h-full pb-[2.5rem]" showTopBorder = { false } >
500497 < TableHeader >
501498 < TableRow >
502499 < TableHeaderCell > ID</ TableHeaderCell >
0 commit comments