Soften the tone of the docs and comments written today
This commit is contained in:
@@ -220,7 +220,18 @@ export function ChatBubble({
|
||||
className="inline-flex items-center gap-1 text-[0.7rem] font-medium text-txt-muted transition-colors hover:text-accent-primary"
|
||||
>
|
||||
<BookOpen className="h-3 w-3" />
|
||||
Xem căn cứ · {citation.drugName} · {citationSectionLabel(citation.sectionType)} · tr. {citation.sourcePageRange[0]}
|
||||
{/* Several distinct chunks routinely share one drug,
|
||||
section and printed page (seen live 2026-08-11:
|
||||
three chips all reading "METFORMIN · Liều lượng &
|
||||
Cách dùng · tr. 957"), which reads as the same
|
||||
link repeated. They are deliberately not collapsed
|
||||
by label: each chip opens a different evidence
|
||||
block and provenance is a hard guardrail. Instead
|
||||
each carries the number the evidence panel already
|
||||
shows on its cards, so a chip maps to exactly one
|
||||
card. The number stays off single-source blocks,
|
||||
where there is nothing to disambiguate. */}
|
||||
Xem căn cứ{sources.length > 1 ? ` [${index + 1}]` : ""} · {citation.drugName} · {citationSectionLabel(citation.sectionType)} · tr. {citation.sourcePageRange[0]}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user