fix: trend evidence shows document titles instead of truncated UUIDs

- EvidenceRef component now fetches document details via useDocument()
  hook and displays the title instead of 'doc:43156423…'
- TanStack Query deduplicates and caches lookups for repeated doc IDs
- Pattern IDs still render as before (e.g. 'pattern META other (1d)')
- Override Trade button changed from brand-600 to red-600
This commit is contained in:
Celes Renata
2026-04-17 07:18:41 +00:00
parent e53b9fc1bf
commit d243142705
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ export function TradingPage() {
<Link
to="/trading/engine"
search={{ tab: 'override' }}
className="rounded-md bg-brand-600 px-4 py-2 text-sm font-medium text-white hover:bg-brand-700"
className="rounded-md bg-red-600 px-4 py-2 text-sm font-medium text-white hover:bg-red-700"
data-testid="override-trade-button"
>
Override Trade