Projects BibleWeb Cross-References Cross-ref sidebar in parables/themes
Planned

Cross-ref sidebar in parables/themes

Area: Cross-References Milestone: v2

Context

Problem: When studying verses in the parables or themes views, users may want to explore cross-references — but the sidebar is currently only available in the main reader.

Solution: Add the same "Cross-references" context menu option to verse interactions in parables and themes detail pages, opening the CrossRefSidebar drawer.

Not included: A dedicated cross-reference view within these pages. Just the existing sidebar drawer triggered from verse interactions.

Functional

Expected user flow:

  1. User is viewing a parable or theme detail page
  2. Clicks a verse → context menu
  3. Selects "Cross-references" → sidebar drawer opens
  4. Same experience as in the reader (refs, breadcrumbs, vote threshold)

UX & Design

Same sidebar as reader — consistent experience across all views.

Technical

Reuse: CrossRefSidebar.svelte — same component.

Implementation: Add verse click handling and context menu to parables/themes detail pages, passing the selected verse to CrossRefSidebar.

Files:

  • apps/web/src/routes/(app)/themes/[id]/+page.svelte (modify)
  • apps/web/src/routes/(app)/parables/[id]/+page.svelte (modify)
  • apps/web/src/lib/components/bible/CrossRefSidebar.svelte (reuse)

Status

Current: PLANNED Milestone: v2 Priority: Low — extends existing feature to additional views

History:

  • Same pattern as "Cross-ref sidebar in search results" — consistent cross-ref access everywhere

Dependencies:

  • Requires: cross-ref sidebar (DONE), parables/themes views (DONE)