From 1b1c5f034902ff5f4a80e06e2845b2a911139ed7 Mon Sep 17 00:00:00 2001 From: Dotta Date: Tue, 5 May 2026 10:33:53 -0500 Subject: [PATCH] Restore multi-line excerpts and disable hover popover on search rows (PAP-3468) - Disable IssueLinkQuicklook on search result rows so hovering an issue no longer pops up a preview card (the "blue highlight" the user was seeing). - Let issue body snippets wrap to two lines instead of single-line truncate so the yellow-highlighted excerpts show enough surrounding context. - Swap row hover/active background from accent to muted (visually identical in this theme; just clearer intent for a list-item hover). Co-Authored-By: Paperclip --- ui/src/components/search/SearchResultRow.tsx | 31 +++++++++++++------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/ui/src/components/search/SearchResultRow.tsx b/ui/src/components/search/SearchResultRow.tsx index 11bb0e3da33..dc80855d04f 100644 --- a/ui/src/components/search/SearchResultRow.tsx +++ b/ui/src/components/search/SearchResultRow.tsx @@ -64,8 +64,8 @@ export function SearchResultRow({ ))}
@@ -191,18 +193,27 @@ interface SnippetLineProps { highlights?: HighlightedTextProps["highlights"]; field: string; fallbackLabel: string; + multiline?: boolean; } -function SnippetLine({ text, highlights, field, fallbackLabel }: SnippetLineProps) { +function SnippetLine({ text, highlights, field, fallbackLabel, multiline = false }: SnippetLineProps) { const { Icon, label } = snippetStyle(field, fallbackLabel); return ( -
- +
+ {label}:
);