Skip to content

Show relevant highlighted portion in related post previews #141

@tarcode2004

Description

@tarcode2004

Description

Related post previews in the right panel currently show a generic preview. Instead, they should display the relevant/highlighted portion of the related post — the part that connects it to the main post.

Context

This is related to the substring highlighting feature. Once highlight data is available, the preview should center on the relevant excerpt rather than showing the beginning of the post.

Acceptance Criteria

  • Related post previews show the relevant portion that connects to the main post
  • The highlighted/relevant text is visually emphasized in the preview
  • Falls back to a standard preview if no highlight data is available

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions