knowhere icon indicating copy to clipboard operation
knowhere copied to clipboard

[Feature]: Navigate Inline Citation Chips to Exact Source Regions in Original Document Preview

Open kaiyu96 opened this issue 4 months ago • 0 comments

Problem statement

Knowhere can generate citations at a page and region level, yet users need a direct way to inspect the exact evidence behind each citation. The current citation interaction should support navigation from an answer to the relevant location in the original document, with a clear and temporary visual highlight to help users quickly verify the cited content.

Affected area

Other

Proposed solution

Each generated citation generates one chip, corresponding to a specific referenced location on a specific page. When a user clicks a chip, the center canvas navigates to the original document preview and scrolls to the referenced location on that page. The referenced location is displayed on the frontend with a semi-transparent rectangular highlight: color #8E51FF, opacity 25%, and border radius 8px. Each time a citation chip is clicked, the rectangle flashes twice, remains visible for 3 seconds, and then gradually fades out.

Image

Alternatives considered

No response

Compatibility and migration notes

No response

Additional context

No response

kaiyu96 avatar Jul 23 '26 06:07 kaiyu96