User Story
- As a reader
- I want each passage to show which article and section it came from and how well sourced it is
- So that I can judge whether to trust it
Where in the flow: Passage card inside the Dive sheet, and reused as the example card in onboarding. This is the provenance surface that Phase 2 research measured.
Acceptance criteria
- Card anatomy, top to bottom: quote-mark glyph, passage text, source row (thumbnail plus trail), attribution row.
- The passage is rendered verbatim with the answering portion highlighted behind the text. The highlight can span several consecutive lines and stops where the answer ends, mid-sentence if that is where it ends. Highlight should be provided via Action API.
- A single highlight token is used on both platforms, and the same token is used for the in-article highlight in US-6.
[] Inline reference markers and links inside the highlighted run stay legible and is not stripped out.
TS: Broken off into T439910: Show link and references in semantic search results due to API constraints
[] The trail uses pipe separators and supports one, two, or three levels: article alone ("Night vision"), article and section ("Communication | Definitions"), or article, section and subsection ("Cat | Senses | Vision").
TS: It was agreed in a sync meeting that we will show up to two pipings. We will not show an in-between parent section to avoid an additional API call. This piping will only be Article Title | Whatever section the highlight is in (which might be a first level section or a nested section).
[] The attribution row shows a contributors count with a people icon and a references count with a chart icon, as two labelled figures.
TS: It was agreed via Slack that counts will work as follows:
FR, AR, JA
Will display contributor count, which will come from the Attribution API
FR, JA
Will display reference count, which will come from the Attribution API
AR
For AR Wiki only, we will display a "Last Updated:" date instead of the reference count written in absolute time. This content also comes from the Attribution API.
- Attribution figures are per result card
- Article thumbnail is shown when one exists
- If no thumbnail image exists in the article, we should let the copy occupy the full available space
- All attribution numbers come from a real data source — no placeholder or synthesised values in a shipped build
- The highlight meets contrast requirements in light and dark mode
Notes
Attribution presentation is what moved authorship identification in the Phase 2 studies — do not simplify it away without checking with research.
Design
iOS and Android - https://www.figma.com/design/s3KF9DqhJg2aAHpZBS8lwg/iOS---Android---%3E-Semantic-Search-%7C-Phase-2?node-id=5985-35300&t=lRnznnewYVAmkn1L-11
API Details
See T437039: [User Story US-4] Reader runs a Dive query and sees passage results (Android) description for API Details

