SPB Git forge
28commits 1branches 0releases
7.7 MBsize
maindefault branch
10 days agolast push
Python 66.3% TypeScript 22.7% JavaScript 8.6% HTML 1.4% CSS 0.7%

web: truncate long interpretation arrays in the ask panel

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Simon-Pierre Boucher committed 12 days ago (Sep 12, 2026) parent b0f899a

1 changed file +2 −2

modified apps/web/src/app/search/page.tsx +2 −2
@@ -70,8 +70,8 @@ export default async function SearchPage({ searchParams }: { searchParams: Promi
70 70 .filter(([k]) => !['question', 'source', 'parser_version', 'llm_model', 'prompt_version', 'answer_style', 'filters'].includes(k))
71 71 .filter(([, v]) => !(Array.isArray(v) && v.length === 0))
72 72 .map(([k, v]) => (
73 − <Chip key={k} tone="outline" className="max-w-full whitespace-normal break-words">
74 − {k.replace(/_/g, ' ')} = {Array.isArray(v) ? v.join(', ') : String(v)}
73 + <Chip key={k} tone="outline" className="max-w-full whitespace-normal! break-words">
74 + {k.replace(/_/g, ' ')} = {Array.isArray(v) ? `${v.slice(0, 3).join(', ')}${v.length > 3 ? ` +${v.length - 3}` : ''}` : String(v)}
75 75 </Chip>
76 76 ))}
77 77 </p>
78 78