diff --git a/apps/webapp/app/components/runs/v3/SpanTitle.tsx b/apps/webapp/app/components/runs/v3/SpanTitle.tsx index c54b93cb690..4c25fc7b9ae 100644 --- a/apps/webapp/app/components/runs/v3/SpanTitle.tsx +++ b/apps/webapp/app/components/runs/v3/SpanTitle.tsx @@ -1,5 +1,5 @@ import { ChevronRightIcon } from "@heroicons/react/20/solid"; -import { type TaskEventStyle } from "@trigger.dev/core/v3"; +import { TaskEventStyle } from "@trigger.dev/core/v3"; import type { TaskEventLevel } from "@trigger.dev/database"; import { Fragment } from "react"; import { cn } from "~/utils/cn"; @@ -14,12 +14,17 @@ type SpanTitleProps = { isPartial: boolean; size: "small" | "large"; hideAccessory?: boolean; + overrideDimmed?: boolean; }; export function SpanTitle(event: SpanTitleProps) { + const textClass = eventTextClassName(event); + const finalTextClass = + event.overrideDimmed && textClass === "text-text-dimmed" ? "text-text-bright" : textClass; + return ( - - {event.message}{" "} + + {event.message}{" "} {!event.hideAccessory && ( )} diff --git a/apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx b/apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx index 8653726c0f1..3d8d7ed4e31 100644 --- a/apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx +++ b/apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx @@ -276,7 +276,7 @@ function SpanBody({ className="size-5 min-h-5 min-w-5" /> - + {runParam && closePanel && (