Skip to content

feat: side-by-side comparison view #126

Description

@nikazzio

Summary

Allow users to view two pages (or two manuscripts) side by side in the Studio viewer for comparison purposes.

Motivation

Common scholarly use cases:

  • Compare recto/verso of the same folio
  • Compare the same text across two different manuscript witnesses
  • Compare original page with its transcription rendering
  • Compare pre/post restoration images

Proposed approach

  • Split the Studio viewer into two synchronized panes.
  • Each pane independently selects manifest + page.
  • Optional synchronized scrolling/zoom (toggle on/off).
  • Reuse Mirador's multi-window capability if using Mirador, or implement a dual OpenSeadragon layout.

Acceptance criteria

  • "Compare" button opens split view
  • Each pane can independently navigate pages
  • Optional synchronized pan/zoom
  • Can compare pages from different manuscripts
  • Exit comparison returns to single-pane view
  • Responsive layout — stacks vertically on narrow screens

Technical notes

  • OpenSeadragon supports multiple viewers on the same page.
  • Mirador natively supports multi-window — may be simpler if Mirador is already integrated.
  • Consider a lightweight approach first: two <div> side by side, each with its own viewer instance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:studioStudio workspace and tabsminorIncrements the minor version when adding new functionality in a backward-compatible manner.priority:P2Medium prioritystatus:readyReady to be implementedtype:featureNew user-facing feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions