Skip to content

Commit f394c92

Browse files
authored
fix: hide error tracking fingerprint from signal reports (#1578)
### Problem The fingerprint string in error tracking signal cards is very long, not human-readable, and clutters the UI. ### Fix Removed the fingerprint display block (WarningIcon + fingerprint text) from `ErrorTrackingSignalCard`. Kept the `fingerprint` field in the type definition since it is part of the API contract. Fixes #1573
1 parent abd6c86 commit f394c92

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

apps/code/src/renderer/features/inbox/components/detail/SignalCard.tsx

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
CheckCircleIcon,
88
QuestionIcon,
99
TagIcon,
10-
WarningIcon,
1110
} from "@phosphor-icons/react";
1211
import { Badge, Box, Flex, Text } from "@radix-ui/themes";
1312
import type { Signal, SignalFindingContent } from "@shared/types";
@@ -479,51 +478,19 @@ function LlmEvalSignalCard({
479478

480479
function ErrorTrackingSignalCard({
481480
signal,
482-
extra,
483481
verified,
484482
codePaths,
485483
dataQueried,
486484
}: {
487485
signal: Signal;
488-
extra: ErrorTrackingExtra;
489486
verified?: boolean;
490487
codePaths?: string[];
491488
dataQueried?: string;
492489
}) {
493-
const fingerprint = extra.fingerprint ?? "";
494-
495490
return (
496491
<Box className="min-w-0 overflow-hidden rounded-lg border border-gray-6 bg-gray-1 p-3">
497492
<SignalCardHeader signal={signal} verified={verified} />
498493
<CollapsibleBody body={signal.content} />
499-
<Flex
500-
align="center"
501-
gap="2"
502-
wrap="wrap"
503-
mt="2"
504-
className="text-[11px]"
505-
style={{ color: "var(--gray-10)" }}
506-
>
507-
<Flex align="center" gap="1">
508-
<WarningIcon
509-
size={14}
510-
weight="bold"
511-
className="shrink-0"
512-
style={{ color: "var(--amber-9)" }}
513-
/>
514-
<span>
515-
Fingerprint{" "}
516-
<span
517-
className="break-all font-mono"
518-
style={{ color: "var(--gray-12)" }}
519-
>
520-
{fingerprint}
521-
</span>
522-
</span>
523-
</Flex>
524-
<span className="flex-1" />
525-
{/* No "View issue" link in Code — error tracking lives in Cloud */}
526-
</Flex>
527494
<CodePathsCollapsible paths={codePaths ?? []} />
528495
<DataQueriedCollapsible text={dataQueried ?? ""} />
529496
</Box>
@@ -649,7 +616,6 @@ export function SignalCard({
649616
return (
650617
<ErrorTrackingSignalCard
651618
signal={signal}
652-
extra={extra}
653619
verified={verified}
654620
codePaths={codePaths}
655621
dataQueried={dataQueried}

0 commit comments

Comments
 (0)