Projects BibleWeb Search Cross-ref sidebar on search results
Planned

Cross-ref sidebar on search results

Area: Search

Context

Problem: When a user finds an interesting verse in search results, they may want to explore its cross-references without navigating away from the search page.

Solution: Add a "Cross-references" option to search result interactions, opening the existing CrossRefSidebar drawer directly from the search page.

Not included: Inline cross-ref display within results. Just the sidebar drawer.

Functional

Expected user flow:

  1. User searches and sees results
  2. Right-clicks or clicks a result
  3. Selects "Cross-references" from context menu
  4. CrossRefSidebar drawer opens on the right with refs for that verse

UX & Design

Same sidebar as reader — 480px right drawer, ref cards, internal breadcrumbs, vote threshold.

Technical

Reuse: CrossRefSidebar.svelte component.

Implementation: Add verse interaction + context menu to search results, wire up CrossRefSidebar.

Files:

  • apps/web/src/routes/(app)/search/+page.svelte (modify)
  • apps/web/src/lib/components/bible/CrossRefSidebar.svelte (reuse)

Status

Current: PLANNED Milestone: Foundation Priority: Low — extends existing feature to search context

Dependencies:

  • Requires: full-text search (DONE), cross-ref sidebar (DONE)